class PlexSymlinker::FileTypes::Mp3

{

"TDRC": "1968",
"TIT2": "Seite B",
"TKEY": "C",
"TBPM": "120",
"TPE1": "Winnetou",
"TALB": "Winnetou 3 - 3. Folge",
"TPE2": "alb-artist: Winnetou",
"TCON": "Hörspiel",
"APIC": "[image/jpeg]",
"TRCK": "2/2",
"TXXX": "[PERFORMER_NAME] PERFORMER_NAME a performer"

}

Public Instance Methods

album_artist() click to toggle source
# File lib/plex_symlinker/file_types/mp3.rb, line 30
def album_artist
  tags["TPE2"] || artist
end
tags() click to toggle source
# File lib/plex_symlinker/file_types/mp3.rb, line 24
def tags
  @tags ||= TagLib::MPEG::File.open(path) { |file|
    Hash[file.id3v2_tag.frame_list.map { |f| [f.frame_id, f.to_s] }]
  }
end