10-12-2008, 07:08 PM
I use an XSL transform to create playlists based on either genre or artist (or other criteria). I run this on the xml file exported from J River to a generate a tweaked XML file which is the one imported into CQC.
This one contains extra albums with their genre set to: 'By Genre' and 'By Artist' and each playlist becomes an album under one of these genres. The cover art for the playlist is arbitrarily set to the first matching song.
This makes it very easy to play, for example, all the Jazz music. In theory you could write an expression to select the music you want in the file, but it isn't really suitable for handling externally generated playlists.
I've attached the XSL file (which the extension switch to txt from xsl) in case anyone is interested. I run it using the opensource nxslt utility:
[INDENT]c:\bin\nxslt3.exe Music.xml cqc.xsl -o "MJ Library.xml"[/INDENT]
This one contains extra albums with their genre set to: 'By Genre' and 'By Artist' and each playlist becomes an album under one of these genres. The cover art for the playlist is arbitrarily set to the first matching song.
This makes it very easy to play, for example, all the Jazz music. In theory you could write an expression to select the music you want in the file, but it isn't really suitable for handling externally generated playlists.
I've attached the XSL file (which the extension switch to txt from xsl) in case anyone is interested. I run it using the opensource nxslt utility:
[INDENT]c:\bin\nxslt3.exe Music.xml cqc.xsl -o "MJ Library.xml"[/INDENT]