[mythtv] [PATCH] mythmusic: multiple values for genre, etc
Herman Kuiper
herman at frontier.nl
Sun Apr 3 19:59:27 UTC 2005
Attached patch adds a setting to mythmusic, with which can set a value
separator for the various metadata fields. It is more or less a quick fix
for a minor issue: I've got a few CDs which I would like to put into 2
genres, and duplicating the records in the metadata doesn't seem to be a
nice solution.
When the setting "FieldSeparator" is set to a string, records in metadata
which contain that string are put in each of the values separated by the
string. For example, rows with a genre value of "Classical|Soundtrack" and
a "|" separator, will appear in both "Classical" and "Soundtrack". It
should also work for the other metadata fields.
Haven't bothered adding a GUI setting, as I'm not sure if it will be used
often enough to warrant one.
Herman
-----------------------------------------------------------------
Herman Kuiper - m: herman at frontier.nl - w: http://www.frontier.nl
Beech Ave 162 - 1119 PS Schiphol-Rijk - t/f: 020-6589034/6142816
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythmusic2.diff
Type: application/octet-stream
Size: 3340 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050403/230d1b32/mythmusic2.obj
More information about the mythtv-dev
mailing list