merged smart playlist ordering
#1
Question 
Hi,

I've managed to create a master smart playlist, that combines multiple sub playlists
(all of them return only one song).

Unfortunately I can't achieve the ordering that I need. I need to have the master playlist
ordered by the order in which the tracks from the sub playlists get merged.

That means if the master playlist references 3 sub playlists called track1.xsp, track2.xsp
and track3.xsp (in that order) the tracks from those sub playlists should be displayed in that
chronological order when opening the master playlist.

master.xsp
Code:
<?xml version="1.0"?>
<smartplaylist type="songs">
  <name>master</name>
  <match>one</match>
  <rule field="playlist" operator="is">track1</rule>
  <rule field="playlist" operator="is">track2</rule>
  <rule field="playlist" operator="is">track3</rule>
<order direction="ascending">playlist</order>
</smartplaylist>

track1.xsp
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="songs">
    <name>track1</name>
    <match>all</match>
    <rule field="artist" operator="is">
        <value>Kollektiv Turmstrasse</value>
    </rule>
    <rule field="title" operator="is">
        <value>Blutsbrüder</value>
    </rule>
    <limit>1</limit>
</smartplaylist>

track2.xsp
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="songs">
    <name>track2</name>
    <match>all</match>
    <rule field="artist" operator="is">
        <value>Burial</value>
    </rule>
    <rule field="title" operator="is">
        <value>Untrue</value>
    </rule>
    <limit>1</limit>
</smartplaylist>

track3.xsp
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="songs">
    <name>track3</name>
    <match>all</match>
    <rule field="artist" operator="is">
        <value>Kollektiv Turmstrasse</value>
    </rule>
    <rule field="title" operator="is">
        <value>Blau Kick</value>
    </rule>
    <limit>1</limit>
</smartplaylist>

I've tried setting the order in the master playlist to order by playlist ascending, but it seems
that xbmc (or KODI) always orders the tracks from that playlist by title (by default).

Is that order even possible using smart playlists?

Thanks in advance,
kleo
Reply



Logout Mark Read Team Forum Stats Members Help
merged smart playlist ordering0
This forum uses Lukasz Tkacz MyBB addons.