Hidden SmartPlaylists?
#1
Question 
A long time ago, I asked if there was anyway to add a <hidden>yes</hidden> field to smartplaylists, did this ever get picked up?

Basically I wish to hide some of the .xsps that are required for making "combined playlists" as in this one I made for "Comic Book Movies"
Comic.xsp
Code:
<?xml version="1.0"?>
<smartplaylist type="movies">
  <name>Comic Book Movies</name>
  <match>all</match>
  <rule field="playlist" operator="is">iscomic</rule>
  <rule field="playlist" operator="isnot">isnotcomic</rule>
<order direction="ascending">sorttitle</order>
</smartplaylist>
>

It uses two other smartplaylists to make the final list, those are:
iscomic.xsp
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>iscomic</name>
    <match>one</match>
    <rule field="title" operator="contains">
        <value>dark knight</value>
    </rule>
    <rule field="title" operator="contains">
        <value>x-men</value>
    </rule>
    <rule field="title" operator="contains">
        <value>justice league</value>
    </rule>
    <rule field="title" operator="contains">
        <value>batman</value>
    </rule>
    <rule field="title" operator="contains">
        <value>hulk</value>
    </rule>
    <rule field="title" operator="contains">
        <value>avengers</value>
    </rule>
    <rule field="title" operator="contains">
        <value>spider-man</value>
    </rule>
    <rule field="title" operator="contains">
        <value>watchmen</value>
    </rule>
    <rule field="title" operator="contains">
        <value>punisher</value>
    </rule>
    <rule field="title" operator="contains">
        <value>wolverine</value>
    </rule>
    <rule field="title" operator="contains">
        <value>superman</value>
    </rule>
    <rule field="title" operator="contains">
        <value>supergirl</value>
    </rule>
    <rule field="title" operator="contains">
        <value>the crow</value>
    </rule>
    <rule field="title" operator="contains">
        <value>man of steel</value>
    </rule>
    <rule field="title" operator="contains">
        <value>green hornet</value>
    </rule>
    <rule field="title" operator="contains">
        <value>iron man</value>
    </rule>
    <rule field="title" operator="contains">
        <value>judge dredd</value>
    </rule>
    <rule field="title" operator="contains">
        <value>the flash</value>
    </rule>
    <rule field="title" operator="contains">
        <value>tintin</value>
    </rule>
    <rule field="title" operator="contains">
        <value>captain america</value>
    </rule>
    <rule field="title" operator="contains">
        <value>men in black</value>
    </rule>
    <rule field="title" operator="contains">
        <value>hellboy</value>
    </rule>
    <rule field="title" operator="contains">
        <value>blade</value>
    </rule>
    <rule field="title" operator="contains">
        <value>thor</value>
    </rule>
    <rule field="title" operator="contains">
        <value>green lantern</value>
    </rule>
    <rule field="title" operator="contains">
        <value>spawn</value>
    </rule>
    <rule field="title" operator="contains">
        <value>teen titans</value>
    </rule>
    <rule field="title" operator="contains">
        <value>fantastic four</value>
    </rule>
    <rule field="title" operator="contains">
        <value>daredevil</value>
    </rule>
    <rule field="title" operator="contains">
        <value>elektra</value>
    </rule>
    <rule field="title" operator="contains">
        <value>priest</value>
    </rule>
    <rule field="title" operator="contains">
        <value>ghost rider</value>
    </rule>
    <rule field="title" operator="contains">
        <value>catwoman</value>
    </rule>
    <rule field="title" operator="contains">
        <value>tankgirl</value>
    </rule>
    <rule field="title" operator="contains">
        <value>constantine</value>
    </rule>
    <rule field="title" operator="contains">
        <value>wonder woman</value>
    </rule>
    
    <order direction="ascending">sorttitle</order>
</smartplaylist>
and
isnotcomic.xsp
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>isnotcomic</name>
    <match>one</match>
    
<rule field="title" operator="contains">
        <value>thornberry</value>
    </rule>
<rule field="title" operator="contains">
        <value>faces in the crowd</value>
    </rule>
<rule field="title" operator="contains">
        <value>bathory</value>
    </rule>
<rule field="title" operator="contains">
        <value>blade runner</value>
    </rule>
<rule field="title" operator="contains">
        <value>blades of glory</value>
    </rule>
<rule field="title" operator="contains">
        <value>sling blade</value>
    </rule>
    
    <order direction="ascending">sorttitle</order>
</smartplaylist>

the second is needed to remove the false positives that the first one finds, so that makes three total playlists to display a proper "Comic Book Movies" list.

But because the "support" smartplaylists cannot be hidden they show up in the Playlist list.
Code:
Comic Book Movies
iscomic
isnotcomic

Is this feature already in XBMC and just not in the Wiki?
Using a NUC7PJYHN and a 2820FYKH0 Intel NUC running LibreELEC, and two FireTVs.:)
Reply
#2
still not there. however, i just tested and you can use the excludefromlisting adv setting to filter em out.

e.g.
Code:
<advancedsettings>
  <video>
    <excludefromlisting action="append">
     <regexp>hide-.*xsp</regexp>
   </excludefromlisting>
  </video>
</advancedsettings>

here, you can name lists you don't want shown hide-<whatever>.
you can still browse them when adding the rule but they do not show in the playlist node.
Reply
#3
That does work perfectly!

Thanks spiff.
Using a NUC7PJYHN and a 2820FYKH0 Intel NUC running LibreELEC, and two FireTVs.:)
Reply

Logout Mark Read Team Forum Stats Members Help
Hidden SmartPlaylists?0