Ok, done. I found a way to change CustomTag.pm without breaking existing
functionality, but with the extra option of user-definable tag mapping.
Will run it through some extensive testing now (test cases plus 25,000
file library with mixed file types and varying tag quality) and let you
know maybe tomorrow. Id very much like if you had a look over the
changes and probably integrate it into the next version ;-)
Its a kludge, but it doesnt break existing configurations, and it can
handle and remap both SC-internal tag names and new (text-type) tags.
In the Module Settings for Custom Tag, you could set »Tags to scan«
like before, -or- using a new method for remapping into some existing
or new, user-specified tags like this:
Code:
--------------------
ARTIST,ARTISTSORT,ALBUMARTIST=ALBUMARTIST|ALBUM
ARTIST,ALBUMARTISTSORT,LANGUAGE,ORIGYEAR,RELEASESTATUS=RELEASESTATUS|MUSICBRAINZ_ALBUM_STATUS,RELEASETYPE=RELEASETYPE|MUSICBRAINZ_ALBUM_TYPE
--------------------
In this example,
- both »ALBUMARTIST« and »ALBUM ARTIST« (for foobar users) would be
mapped into »ALBUMARTIST«
- both »MusicBrainz Album Status« from MP3 files and »RELEASESTATUS«
from FLAC files would be read into »RELEASESTATUS«. (-Note:- SCs
-internal- name MUSICBRAINZ_ALBUM_STATUS used here, since the Format
modules decode it already.)
- both »MusicBrainz Album Type« from MP3 files and »RELEASETYPE« from
FLAC files would be read into »RELEASETYPE«. (-Note:- SCs -internal-
name MUSICBRAINZ_ALBUM_TYPE used here, since the Format modules
decode it already.)
- ARTIST, ARTISTSORT, ALBUMARTISTSORT, LANGUAGE, ORIGYEAR would be
read as before (I read Artist and Artist Sortname separately so I can
have both kinds of display on my SBC: »Damian Wilson« under »D« (using
»Artists«), -or- »Wilson, Damian« under »W« (using »Artist
Sortnames«). Ditto for ALBUMARTIST.)
--
Moonbase
Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)
------------------------------------------------------------------------
Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins