Hi, lately i noticed that the tags
inside the playlistfilename.xsp file
gets ignored when try to fill container with that file as dynamic content.
AS LONG AS I DINDT SET THE
sortorder + sortby tags manualy for the <content> tag of the Container.
Here is an playlist.xsp example playlist i like to refer
Simple Example:
Omiting sortorder,sortby
Result in
- the wished/determined from .xsp <order direction="ascending">top250</order> gets ignored, and lead to use custom ovverride
- all titles which match the rules are ordered ascending by Label/Title
Expected
- <order direction="ascending">top250</order> of xsp file determine the sortorder and sortby for dynamic content
If i use Custom/Hardcoded
e.g.
Result in
- the wished order and direction is used,
but that makes xsp file usage useless for that case.
Is there something i am missing??
i believe it was working correct a while back, but not really sure...
Using them for custom ActivateWindow Actions all is fine, and the playlist is Orderd Correct
e.g.
<order direction="foo">bar</order>
inside the playlistfilename.xsp file
gets ignored when try to fill container with that file as dynamic content.
AS LONG AS I DINDT SET THE
sortorder + sortby tags manualy for the <content> tag of the Container.
Here is an playlist.xsp example playlist i like to refer
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Imdb Top 250</name>
<match>all</match>
<rule field="top250" operator="isnot">
<value>0</value>
</rule>
<group>none</group>
<limit>250</limit>
<order direction="ascending">top250</order>
</smartplaylist>
Simple Example:
Omiting sortorder,sortby
<content target="videos">special://skin/playlists/video/ImdbTop250.xsp</content>
or
Using Blank sortorder,sortby<content target="videos" sortorder="" sortby="">special://skin/playlists/video/ImdbTop250.xsp</content>
Result in
- the wished/determined from .xsp <order direction="ascending">top250</order> gets ignored, and lead to use custom ovverride
- all titles which match the rules are ordered ascending by Label/Title
Expected
- <order direction="ascending">top250</order> of xsp file determine the sortorder and sortby for dynamic content
If i use Custom/Hardcoded
e.g.
<content target="videos" sortorder="ascending" sortby="top250">special://skin/playlists/video/ImdbTop250.xsp</content>
Result in
- the wished order and direction is used,
but that makes xsp file usage useless for that case.
Is there something i am missing??
i believe it was working correct a while back, but not really sure...
Using them for custom ActivateWindow Actions all is fine, and the playlist is Orderd Correct
e.g.
ActivateWindow(videos,special://skin/playlists/video/ImdbTop250.xsp,return)