(2015-10-03, 23:24)Mickey2combs Wrote: So - my question is - have you managed to get the sub menus working separately for the separate playlists- movies and kids movies? I would really like to keep the actor, year, genre filters but - just for my movies, not including all the kids ones as well. I can't work out how to do this at the moment...
Regarding the playlist I created two playlists - one for the kids one for me.
In the C:\Users\tomph\AppData\Roaming\Kodi\userdata\playlists\video that will produced two files:
Kids.xsp:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Kids</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>nfs://10.0.0.201/volume1/Movies/cartoons/DVD/</value>
</rule>
</smartplaylist>
tomph.xsp:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>tomph</name>
<match>all</match>
<rule field="path" operator="startswith">
<value>nfs://10.0.0.201/volume1/Movies/tomph/</value>
</rule>
</smartplaylist>
Having those two playlist I followed the description from article I referenced earlier. In short that involved copying the skin.confluence folder from the install library into C:\Users\tomph\AppData\Roaming\Kodi\addons.
Then editing the C:\Users\tomph\AppData\Roaming\Kodi\addons\skin.confluence\720p\IncludesHomeMenuItems.xml
In that file in the section/context of the <include name="HomeSubMenuMovies"> tag I first removed the buttons that I didn't need and then added this:
<control type="button" id="99000">
<include>ButtonHomeSubCommonValues</include>
<label>Tobias & Lasse</label>
<onclick>ActivateWindow(Videos,special://userdata/playlists/video/Kids.xsp,return)</onclick>
</control>
<control type="button" id="99001">
<include>ButtonHomeSubCommonValues</include>
<label>NEW</label>
<onclick>ActivateWindow(Videos,special://userdata/playlists/video/tomph.xsp,return)</onclick>
</control>
That gave the working submenu pointing directly to my playlist - which was my main purpose:-)
I think it is a clean and nice solution easy to deploy as well. I only figured it out because of the input from this thread.
As for the genre, year associated to each playlist I dont know how to do that. Just for fun I tried to experiment with the ActivateWindow command, but I think this is impossible to achieve using that approach. I guess another workaround has to be found. I haven't tried it myself but I guess using the profiles would allow you to separate genre, year etc between You and your kids, but I don't think this is the solution You are looking (neither would I).
I stumpled upon this thread:
http://forum.kodi.tv/showthread.php?tid=150934. In the button of page 1, a guy is asking the same question as you and in the top of page 2 Samu-rai responds with a solution.
Don't know If I am allowed to quote from another thread but his solution (from the referenced thread) is:
(2013-02-24, 14:43)Samu-rai Wrote: (2013-02-16, 20:00)cyphrmedic Wrote: Is it possible to get like Genre, Years, ect, in the sub menu for the smart playlist menu?
Thanks
I worked out how to do this for you. Go to the videos menu and select movies.
This will bring up a list of the categories that you want, genres, title etc.
Highlight each of these and press the c key. This will bring up the contextual menu where you can select 'add to favourites'. Do this with all of the categories you want.
Now go back to the customisation menu and choose to add each of these new favourites to the movie submenu.
You will now have a custome playlist button on your homescreen which still has all the submenu catagores of the original.
I have tried out his suggested solution but I can't figure out what he means and can't get it to work - but maybe You are smarter than me?
Please notice that they are using another skin with some other options than in confluence. So the submenus would have to be manually created. But I can't figure out the link between the favorites selections and the various playlists.