2006-03-31, 23:45
you use the playlist field to combine playlists.
eg you have a playlist that gets all the music from 1983, 1987 and 1989.
what if you wanted to just listen to disco from those years?
then doing:
<smartplaylist>
<name>disco from the 80s</name>
<match>all</match>
<rule field="playlist" operator="is">1983_1987_1989</rule>
<rule field="genre" operator="is">disco</rule>
</smartplaylist>
where:
<smartplaylist>
<name>1983_1987_1989</name>
<match>one</match>
<rule field="year" operator="is">1983</rule>
<rule field="year" operator="is">1987</rule>
<rule field="year" operator="is">1989</rule>
</smartplaylist>
would do it.
note that you are combining some or operations (the match one in the year based playlist) with an and operation (the match all in the first playlist).
cvs is still down, so i'll post back when it's back up and running.
cheers,
jonathan
eg you have a playlist that gets all the music from 1983, 1987 and 1989.
what if you wanted to just listen to disco from those years?
then doing:
<smartplaylist>
<name>disco from the 80s</name>
<match>all</match>
<rule field="playlist" operator="is">1983_1987_1989</rule>
<rule field="genre" operator="is">disco</rule>
</smartplaylist>
where:
<smartplaylist>
<name>1983_1987_1989</name>
<match>one</match>
<rule field="year" operator="is">1983</rule>
<rule field="year" operator="is">1987</rule>
<rule field="year" operator="is">1989</rule>
</smartplaylist>
would do it.
note that you are combining some or operations (the match one in the year based playlist) with an and operation (the match all in the first playlist).
cvs is still down, so i'll post back when it's back up and running.
cheers,
jonathan