Help to get "own" ordering in a movie smart playlist (using rule field="path") - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Help to get "own" ordering in a movie smart playlist (using rule field="path") (/showthread.php?tid=367944) |
Help to get "own" ordering in a movie smart playlist (using rule field="path") - genuk360 - 2022-04-20 Help to get "own" ordering in a movie smart playlist using rule field="path" once for every movie in the list I'm using Kodi 19.4 stable in Android. What I'm trying to do? I'm using a bash script (could be a nice start-idea for a Kodi-Plugin) which: -get some movie list from a website (imdb-official, imdb-userlists, icheckmovies, goodmovieslist etc) -looks in my movie-library if the movies from list are available -build a xsp smart-list with all available movies -buld a text file with missing movies from the list -copy the xsp file to Kodi playlist folder Sometimes the ordering in such lists is not important but sometimes it really make sense to have/keep the ordering from the original list from web (like "IMDb's Top 250" or "Rotten Tomatoes's Top 100 Movies of All Time"). Here are some examples i have generated: -using "one" match and "more" rules
-using match "all" and "one" rule with multiple path When browsing the list i want to have the order in which movies appear in the list. But I can't get the order from the list to be displayed. Every time this will be overwritten by the ordering from the Skin (mostly title->ascending) I have tried also to add one of the xmls lines to my list: None of this works. I can't get "my order" in the list. All other ordering rules from wiki (title, premiered, director etc.) are working fine when used in the xsp file in a line like:
I know that you can get your own order in *.m3u or *.pls playlist but such lists are not really nice to browse ;-) Any idea how to get this? Is that actually possible in Kodi? Or is not implemented yet? Could be that implemented? Thank You in advance RE: Help to get "own" ordering in a movie smart playlist (using rule field="path") - Karellen - 2022-04-20 @PatK will love what you have done here... (2022-04-20, 10:46)genuk360 Wrote: None of this works. I can't get "my order" in the list.Here is the wiki page for xsp files. section3.8 has the order Here is the list of the available rules/orders/groupings... https://kodi.wiki/view/Smart_playlists/Rules_and_groupings But to get the order the same as they are in the xsp file, I don't think you can. The Order has to be based on a database field value. Maybe you can hijack one of the available fields that you don't use and add a positioning number. The Top250 is already available and you could use it. <order direction="descending">top250</order> But in short, there is no way to order the smart playlist by the listing in the xsp file. Might be of interest... https://kodi.wiki/view/HOW-TO:Movie_universe RE: Help to get "own" ordering in a movie smart playlist (using rule field="path") - genuk360 - 2022-04-20 Thanks. -the Wiki page is already known and I have test some of the orderings available for movies. They all work well. -hijacking the DB fields can be useful but only if the movie appear in just one list ... same problem as for the DB field "top250" -"Movie Universe" solution is also known. Here you have to rename the Movie Folder with a "prefix" including the "list-name" and the "sort-number". Works too but just for the case the move appear in just one list. I have expected that the "playlist", "none" or "ignore" - ordering can do what I'm expecting... Quote:But in short, there is no way to order the smart playlist by the listing in the xsp file.OAs I understand it seem to be no solution at this time. As an Ideea: maybe the xml in the playlist can be used to achieve the wanted order something like in the "Movie Universe" solution or simply
On the other way I understand that the smart playlist can use and combine many rule fields and a good-solution can be more complex than that... |