I have extended FLAC.pm to support more of the tags described in
http://reactor-core.org/ogg-tagging.html and
http://www.gophernet.org/articles/vorbiscomment.html, such as ENSEMBLE,
PERFORMER, OPUS, and PART.

The FLAC.pm file, modified from revision 9130, is attached.  I would
like to know if anyone else finds these changes useful, and if they can
be incorporated into the 6.5b1 SVN source.

These changes improve SlimServer support for classical and jazz music. 
They are not ideal, but they allow me to tag FLAC files  and use the
information in SlimServer without changes to the database schema.   I
hope that more sophisticated support for these tags will be added to
SlimServer in the future.

The following mappings append (rather than replace) entries in the
hash:
        DESCRIPTION     => COMMENT,
        ENSEMBLE        => BAND,
        OPUS            => COMMENT,
        PERFORMER       => TRACKARTIST,

In addition, the following mappings are applied if the PART tag
exists:
        TITLE           => ALBUM
        PART            => TITLE
        PARTNUMBER      => TRACKNUM

(Note that the original ALBUM and TRACKNUMBER tags are discarded when
the PART tag exists.)  This supports multiple movements in classical
music, so that you can tag files like this:

        ALBUM=An Isaac Stern Vivaldi Gala
        TITLE=Concerto for 3 Violins in F Major
        PART=Allegro
        PARTNUMBER=1
        TRACKNUMBER=4
        ARTIST=Antonio Vivaldi
        COMPOSER=Antonio Vivaldi
        OPUS=RV 551
        ENSEMBLE=New York Philharmonic Orchestra
        CONDUCTOR=Zubin Mehta
        PERFORMER=Isaac Stern (violin)
        PERFORMER=Itzhak Perlman (violin)
        PERFORMER=Pinchas Zukerman (violin)
        GENRE=Classical
        DATE=1983

        ALBUM=An Isaac Stern Vivaldi Gala
        TITLE=Concerto in D Minor
        PART=Allegro molto
        PARTNUMBER=3
        TRACKNUMBER=9
        ARTIST=Antonio Vivaldi
        COMPOSER=Antonio Vivaldi
        OPUS=RV 514
        ENSEMBLE=Jerusalem Music Center Chamber Orchestra
        CONDUCTOR=Jean-Pierre Rampal
        PERFORMER=Isaac Stern (violin)
        PERFORMER=Jean-Pierre Rampal (flute)
        GENRE=Classical
        DATE=1983


+-------------------------------------------------------------------+
|Filename: FLAC.pm                                                  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=1591|
+-------------------------------------------------------------------+

-- 
Bill Jackson
------------------------------------------------------------------------
Bill Jackson's Profile: http://forums.slimdevices.com/member.php?userid=2641
View this thread: http://forums.slimdevices.com/showthread.php?t=26660

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to