View Source LastfmArchive.Archive.Metadata (lastfm_archive v0.10.2)

Struct representing Lastfm archive metadata.

Link to this section 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.

Link to this section Types

@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: module()
}

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

Link to this section 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, registered_time, last_scrobble_time)

View Source