ScryD3.V2 (scryd3 v0.2.4) View Source

Basic ID3v2 tag parsing.

Link to this section Summary

Link to this section Functions

Link to this function

build_frame(kv_pairs, key, acc \\ %{})

View Source
Link to this function

extract_null_terminated(arg)

View Source

Specs

frames(binary()) :: map()

Read all ID3 frames from the file.

Returns a Map of 4-character frame ID to frame content. For example:

%{
  "TIT2" => "Anesthetize"
  "TPE1" => "Porcupine Tree"
  "TALB" => "Fear of a Blank Planet"
  ...
}

Specs

header(binary()) :: map()

Read the main ID3 header from the file. Extended header is not read nor allowed.

Returns version, flags and size in bytes, as a Map.

version is a {major, minor} tuple. flags is a HeaderFlags struct, see definition. Flags are only read, not recognized nor honored.

Link to this function

read_involved_people_list(payload, acc)

View Source
Link to this function

read_payload(key, payload)

View Source
Link to this function

read_utf16(bom, content)

View Source
Link to this function

scan_for_null_utf16(arg, bom, accum)

View Source