(2020-07-03, 23:55)bloodyskullz Wrote: This whole idea revolves around smart playlists, interesting. What about the "In Progress" sub menu, can that be tailored to the smart playlists as well?
Yes.
I have split up my movies and animated movies this way. I created a few smart playlists to show tailored widgets on the home screen.
I would advice to add a limiting condition to the 'In progress' and 'Recently added' playlists, to keep the widgets nice and fast!
You can use the same idea to create the smart playlists needed for the submenu. I personally did not bother with them as I don't use the submenu very often.
Take note that I created these smart playlists from the Kodi interface, but once you have created a few you can also navigate to the storage location and edit them by hand which is probably going to be a lot faster if you need multiple categories (only the path changes for each set).
The 'Recently added' widget i created does not show watched items. If you want to see the watched items as well, remove the "playcount is 0" component from the xml.
The playlists are called
- Movies.xsp
- Movies_InProgress.xsp
- Movies_RecentlyAdded.xsp
- Animated.xsp
- Animated_InProgress.xsp
- Animated_RecentlyAdded.xsp
And have the following content:
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Movies</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>nfs://10.20.30.40/volume1/Movies/</value>
</rule>
<order direction="ascending">path</order>
</smartplaylist>
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Movies: In Progress</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>nfs://10.20.30.40/volume1/Movies/</value>
</rule>
<rule field="inprogress" operator="true" />
<limit>25</limit>
<order direction="descending">lastplayed</order>
</smartplaylist>
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Movies: Recently Added</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>nfs://10.20.30.40/volume1/Movies/</value>
</rule>
<rule field="playcount" operator="is">
<value>0</value>
</rule>
<limit>25</limit>
<order direction="descending">dateadded</order>
</smartplaylist>
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Animated</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>nfs://10.20.30.40/volume1/Movies_Animated/</value>
</rule>
<order direction="ascending">path</order>
</smartplaylist>
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Animated: In Progress</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>nfs://10.20.30.40/volume1/Movies_Animated/</value>
</rule>
<limit>25</limit>
<rule field="inprogress" operator="true" />
<order direction="descending">lastplayed</order>
</smartplaylist>
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Animated: Recently Added</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>nfs://10.20.30.40/volume1/Movies_Animated/</value>
</rule>
<rule field="playcount" operator="is">
<value>0</value>
</rule>
<limit>25</limit>
<order direction="descending">dateadded</order>
</smartplaylist>