Open Smart Playlist from Library Node - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Estuary (https://forum.kodi.tv/forumdisplay.php?fid=260) +---- Thread: Open Smart Playlist from Library Node (/showthread.php?tid=369060) Pages:
1
2
|
Open Smart Playlist from Library Node - Pug3ter - 2022-07-25 I'm trying to open a Smart Playlist using Kodi's categories but it doesn't work using the below. Is there a way to open playlists from library nodes? I want the playlist as a category item on the home screen that returns to the home screen on exit. Quote:<node order="10" type="folder"> The only way I found to do this was through super favourites but it does not exit clean. When exiting you see it navigating back through super fav folders before exiting to the home screen. I decided to quickly write an addon that Activates the MyvideoNav window and opens the playlist. I then called it from the library node. It works as intended except it does not back out to the home screen on exit. Does anyone have any ideas on how this can be accomplished? RE: Open Smart Playlist from Library Node - Hitcher - 2022-07-25 Add ,return to make it go straight back the the home screen.Code: ActivateWindow(window[,dir,return]) RE: Open Smart Playlist from Library Node - Pug3ter - 2022-07-25 I have tried adding ,return already and it doesn't work. It only takes me back to the library menu. RE: Open Smart Playlist from Library Node - Pug3ter - 2022-07-25 (2022-07-25, 20:57)Hitcher Wrote: Add I have tried adding ,return already and it doesn't work. It only takes me back to the library menu. RE: Open Smart Playlist from Library Node - jjd-uk - 2022-07-25 Create a smartplaylist to open this watchlist smartplaylist and that will tell you the xml to go in the node xml. RE: Open Smart Playlist from Library Node - Pug3ter - 2022-07-25 (2022-07-25, 22:29)jjd-uk Wrote: Create a smartplaylist to open this watchlist smartplaylist and that will tell you the xml to go in the node xml. Thanks for the info! I have not tried this. I will test and get back to you. RE: Open Smart Playlist from Library Node - jjd-uk - 2022-07-25 So you can combine smartplaylists one of the rules is Playlist. So you create a rule Playlist is watchlist and you should be able to copy and paste the rule from the xsp for new playlist into the node xml. RE: Open Smart Playlist from Library Node - Dumyat - 2022-07-25 (2022-07-25, 20:52)Pug3ter Wrote: Does anyone have any ideas on how this can be accomplished?Is the ultimate goal to create a 'Watchlist' node on your Movies home screen, that when selected will show you all the movies you've added to your watchlist.xsp playlist then take you back to the home screen when select 'back' button? If so, there is a fairly easy way to achieve this by just installing the metadata editor addon from the official Kodi repo. Once installed, you can then apply a 'Wishlist' tag to your movie(s), by using this option via the 'context' menu when browsing movies. Once done, you can create a simple node to include on your movies home menu, using the following info:-
The above node will provide a list of movies where you have applied the 'Wishlist' tag using the metadata editor. I use the exact same feature on my Kodi set-up and works very well. If you want remove a movie from your 'Wishlist', just select via context menu to remove the tag. Hope this is useful for your own needs RE: Open Smart Playlist from Library Node - Pug3ter - 2022-07-26 (2022-07-25, 23:00)jjd-uk Wrote: So you can combine smartplaylists one of the rules is Playlist. So you create a rule Playlist is watchlist and you should be able to copy and paste the rule from the xsp for new playlist into the node xml. I gave this a try but i couldn't get it to open the playlist via the node. As you suggested, I created a playlist that combined my current playlist. It does open my other playlist but when I add the rule to the node nothing happens. I suspect it doesn't know where this combined playlist is located. What is required for the path? I tried the special protocol to the file name but that doesn't work? Here's the Combined Playlist Quote:<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> and here is the Library Node Quote:<node order="10" type="folder"> RE: Open Smart Playlist from Library Node - Pug3ter - 2022-07-26 (2022-07-25, 23:00)jjd-uk Wrote: So you can combine smartplaylists one of the rules is Playlist. So you create a rule Playlist is watchlist and you should be able to copy and paste the rule from the xsp for new playlist into the node xml. I got it working! I missed the content type in the node. This works exactly as I intended! Thanks for your help RE: Open Smart Playlist from Library Node - Pug3ter - 2022-07-26 (2022-07-25, 23:12)Dumyat Wrote: The above node will provide a list of movies where you have applied the 'Wishlist' tag using the metadata editor. I use the exact same feature on my Kodi set-up and works very well. If you want remove a movie from your 'Wishlist', just select via context menu to remove the tag. Thanks for the reply. It just so happens that I found your skin the other day and I love it. You did a beautiful job on the PVR section. Great work! I was wondering how the watchlist in your skin functioned. I saw the option on the added view types. Thanks for sharing with me. If you don't mind I may have a few questions in the near future, when I get a chance to play around with the skin. RE: Open Smart Playlist from Library Node - jjd-uk - 2022-07-26 (2022-07-26, 10:10)Pug3ter Wrote:(2022-07-25, 23:00)jjd-uk Wrote: So you can combine smartplaylists one of the rules is Playlist. So you create a rule Playlist is watchlist and you should be able to copy and paste the rule from the xsp for new playlist into the node xml. Not sure if you followed as I intended. The purpose of the new combined playlist was simply to reveal the correct xml rule syntax. Once you have that syntax you can simple delete that new playlist, and just use the xml syntax to refer to your original watchlist playlist. Just thought I'd attempt to clarify in case you were referring to the combined playlist in the node, as there's no need for this. However doesn't make any difference other you having an extra unnecessary smartplaylist. RE: Open Smart Playlist from Library Node - Pug3ter - 2022-07-26 (2022-07-26, 10:47)jjd-uk Wrote: Not sure if you followed as I intended. The purpose of the new combined playlist was simply to reveal the correct xml rule syntax. Once you have that syntax you can simple delete that new playlist, and just use the xml syntax to refer to your original watchlist playlist. Yes, i figured it out after. I have the playlist I created deleted. Thanks for your help RE: Open Smart Playlist from Library Node - Dumyat - 2022-07-26 (2022-07-26, 10:28)Pug3ter Wrote: I was wondering how the watchlist in your skin functioned. I saw the option on the added view types. Thanks for sharing with me. If you don't mind I may have a few questions in the near future, when I get a chance to play around with the skin.The Watchlist feature on my skin mod works the same way, just install metadata editor and create a new node as detailed my previous post. You can then either use the 'Flix Large' view where there is a dedicated button to create the watchlist tag once you are on the movie of your choice, or create the watchlist tag via the context menu option on the other views. Here's my home screen after creating the watchlist node. My skin mod also includes a Watchlist widget further down screen on the movies home menu:- No problem about asking any questions in the future. I will try my best to answer anything you have. RE: Open Smart Playlist from Library Node - Pug3ter - 2022-07-26 @jjd-uk I'm having issues sorting these playlists. I tried sorting via the GUI, Playlist and node. Neither work! Any idea why sorting is not working? I want to sort like below. Quote:<order direction="descending">playlist</order> |