Moonbase;397191 Wrote: > 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 > -------------------- > > > I wonder if it would preferred to have it as a separate "Tag mapping" parameter ?
Last time when I thought about this I think someone wanted to: - Extract part of the information from an existing tag, like extracting the year part from a date. Best way to solve this would probably be some kind of regular expression. - Concatenate two tags, maybe with a space inbetween. This can be useful for sort tags, for example if you like to order albums first by type and second by their name. Send me the code or post it here after you have verified that it works and I'll try to integrate it with the next Custom Scan release. -- erland Erland Isaksson 'My homepage' (http://erland.isaksson.info) 'My download page' (http://erland.isaksson.info/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library, Title Switcher and Database Query plugins' (http://wiki.erland.isaksson.info/index.php/Category:SlimServer)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
