View Source Id3vx.Frame (Id3vx v0.0.1-rc1)
Implementation of frame parsing and encoding.
Natives types: AENC Audio encryption APIC Attached picture ASPI Audio seek point index COMM Comments COMR Commercial frame ENCR Encryption method registration EQU2 Equalisation (2) ETCO Event timing codes GEOB General encapsulated object GRID Group identification registration LINK Linked information MCDI Music CD identifier MLLT MPEG location lookup table OWNE Ownership frame PRIV Private frame PCNT Play counter POPM Popularimeter POSS Position synchronisation frame RBUF Recommended buffer size RVA2 Relative volume adjustment (2) RVRB Reverb SEEK Seek frame SIGN Signature frame SYLT Synchronised lyric/text SYTC Synchronised tempo codes TALB Album/Movie/Show title TBPM BPM (beats per minute) TCOM Composer TCON Content type TCOP Copyright message TDEN Encoding time TDLY Playlist delay TDOR Original release time TDRC Recording time TDRL Release time TDTG Tagging time TENC Encoded by TEXT Lyricist/Text writer TFLT File type TIPL Involved people list TIT1 Content group description TIT2 Title/songname/content description TIT3 Subtitle/Description refinement TKEY Initial key TLAN Language(s) TLEN Length TMCL Musician credits list TMED Media type TMOO Mood TOAL Original album/movie/show title TOFN Original filename TOLY Original lyricist(s)/text writer(s) TOPE Original artist(s)/performer(s) TOWN File owner/licensee TPE1 Lead performer(s)/Soloist(s) TPE2 Band/orchestra/accompaniment TPE3 Conductor/performer refinement TPE4 Interpreted, remixed, or otherwise modified by TPOS Part of a set TPRO Produced notice TPUB Publisher TRCK Track number/Position in set TRSN Internet radio station name TRSO Internet radio station owner TSOA Album sort order TSOP Performer sort order TSOT Title sort order TSRC ISRC (international standard recording code) TSSE Software/Hardware and settings used for encoding TSST Set subtitle TXXX User defined text information frame UFID Unique file identifier USER Terms of use USLT Unsynchronised lyric/text transcription WCOM Commercial information WCOP Copyright/Legal information WOAF Official audio file webpage WOAR Official artist/performer webpage WOAS Official audio source webpage WORS Official Internet radio station homepage WPAY Payment WPUB Publishers official webpage WXXX User defined URL link frame
Link to this section Summary
Link to this section Types
@type picture_type() ::
:other
| :basic_file_icon
| :other_file_icon
| :cover
| :cover_back
| :leaflet_page
| :media
| :lead_artist
| :artist
| :conductor
| :band
| :composer
| :lyricist
| :recording_location
| :during_recording
| :during_performance
| :video_capture
| :a_bright_coloured_fish
| :illustration
| :band_logotype
| :studio_logotype
@type t() :: %Id3vx.Frame{ data: %{optional(any()) => any()}, flags: %Id3vx.FrameFlags{ compression: term(), data_length_indicator: term(), encryption: term(), file_alter_preservation: term(), grouping_identity: term(), read_only: term(), tag_alter_preservation: term(), unsynchronisation: term() }, grouping_identity: nil | integer(), id: String.t(), label: String.t(), raw_data: binary(), size: integer() }
@type text_encoding_v3() :: :iso8859_1 | :utf16
@type text_encoding_v4() :: :iso8859_1 | :utf16 | :utf16be | :utf8
Link to this section Functions
@spec encode_frame(t(), Id3vx.Tag.t()) :: binary()
@spec parse( id :: binary(), tag :: Id3vx.Tag.t(), flags :: term(), data :: binary() ) :: t()