2019-07-20, 09:12
(2019-07-17, 21:31)Johnny1982fd Wrote:Hi @mardukL(2019-07-15, 10:25)mardukL Wrote:Hi @mardukL(2019-07-14, 19:18)Johnny1982fd Wrote: Hi@mardukLHi again.
thanks for your replay!
So, i try this. But same as befre ;(
I also tried Bingie ... same issue
In addition to that i create my backup from krypton to be sure, that im doing the right way.
Under krypton i get no problems ...
Man, im helpless .... i dont want to change this great skin
I did some tests today.
Still didnt localized a possible bug fix, but
- the created smart playlist files (.xsp) are fine (they will automatically created when choosing sources via shortcuts, and will be named as numbers in order of creatiojn 1.xsp, 2.xsp etc, 2 for each shortcut , one default, 1 random)
- it seems on Android Platform, getting a path its 'actual' not possible (the xsp is supposed to use the 'startswith' tag of the path)
- the workaround for copy/paste the created
- .xsp is working on windows, untested on linux
(https://streamable.com/n92tm)
- 2 issues i can think of is
a) the creation of 2 playlists with same name tag (1.xsp + 1-randomversion.xsp), so you supposed to decide between those 2
b) script.skinshortcuts is failing in getting full path on some platforms (e.g. instead of 'mnt\sda\sda2\filme\action\' it just gets 'filme\action\')
It seems , you will need to do create your own playlists, and place them in userdata/playlists/video or userdata/playlists/music
On Android i will recommend using 'contains' instead of 'startswith' for the path.
Here is a working example,
(everything between <!-- --> can simply deleted if wished and is just for commenting)
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Movies in Movie-Source-Folder named Action</name>
<match>one</match>
<rule field="path" operator="contains"> <!-- using 'startswith' seems to need full path, when using android, may you like to use 'contains' instead -->
<value>\Action\</value> <!-- 'startswith' - H:\Filme\Action\ , 'contains' - '\Action\' -->
</rule>
<order direction="ascending">sorttitle</order> <!-- 'ascending' or 'descending' for sorttitle , random (Note that random should be used with care - it is quite slow if the returned results from the <rule> sets is large e.g. more than 500 items ) -->
<limit>0</limit> <!-- The 'limit' tag simply takes a number of songs as it's limit. A missing limit tag, or <limit>0</limit> will retrieve all matches -->
<group>none</group> <!--https://kodi.wiki/view/Smart_playlists#Grouping tag allows to group the resulting list of media items by a specific category. The final list will consist of folder nodes containing matching media items.
Depending on the type of the Smart Playlist the following grouping categories exist
none , genres , years , actors , artists , directors , writers , studios , countries , sets , tags -->
</smartplaylist>
so i try to copy the .xsp Files from
/storage/.kodi/userdata/addon_data/script.skinshortcuts
to
/storage/.kodi/userdata/playlists/video
But theres the same issue as before. Sobering ...
It is interesting, that a "playlist" get no issues if you choose it as a Main Menu point. Youll get it only when you declarate it as a submenu point.
Jesus ... what is that ? ;/
i got it!
Creating playlists and choosing them in submenus
Many thanks to you