Metalove.Enclosure (Metalove v0.5.0)
View SourceDefines a Metalove.Enclosure struct representing enclosures in Metalove.Episodes. Provides access to parsed metadata.
Summary
Functions
Fetch enough of the URL to parse the ID3 metadata if present.
Types
@type t() :: %Metalove.Enclosure{ created_at: DateTime.t(), fetched_metadata_at: nil | DateTime.t(), metadata: nil | map(), resolved_url: nil | String.t(), size: nil | non_neg_integer(), type: nil | String.t(), url: nil | String.t() }
Representation of an Enclosure.
Interesting fields:
metadataa map of found metadata, interesting keys arechaptersandcover_art