View Source LastfmArchive.Archive.Metadata (lastfm_archive v1.2.1)

Struct representing Lastfm archive metadata.

Summary

Types

t()

Metadata descriping a Lastfm archive based on Dublin Core Metadata Initiative.

Functions

Data struct containing new and some default metadata of an archive.

Types

@type facet_type() :: :scrobbles | :albums | :artists | :tracks
@type t() :: %LastfmArchive.Archive.Metadata{
  created: DateTime.t() | nil,
  creator: String.t(),
  date: Date.t() | nil,
  description: String.t() | nil,
  extent: integer() | nil,
  format: String.t() | nil,
  identifier: String.t() | nil,
  modified: (nil | DateTime.t()) | nil,
  source: String.t() | nil,
  temporal: {integer(), integer()} | nil,
  title: String.t() | nil,
  type: facet_type()
}

Metadata descriping a Lastfm archive based on Dublin Core Metadata Initiative.

Functions

Data struct containing new and some default metadata of an archive.

Other metadata fields such as temporal, modified can be populated based on the outcomes of archiving, i.e. the implementation of the callbacks of this behaviour.

Link to this function

new(metadata, total, arg)

View Source