2019-07-16, 18:06
(2019-07-15, 10:25)mardukL Wrote:Hi @mardukL(2019-07-14, 19:18)Johnny1982fd Wrote:Hi again.(2019-07-13, 13:11)mardukL Wrote: ah, ok.Hi@mardukL
it seems that is more an issue related to the addon ' script.skinshortcuts ' than a skin issue.
script.skinshortcuts create an .xsp (smart playlist file) for the given source , when select the sub menu entry it (try) to open that playlist.
i am curious why it doesnt go directly in the list, but i am sure it must resolved in the addon itself (unsure how it supposed to work in krypton).
You can try to copy the genereted
- .xsp file from
userdata/addondata/script.skinshortcuts/
to the default playlist location
to
userdata/playlists
and try to add this as your submenu shortcut
(you can also create own xsp with your custom 'file source locations' manualy
( https://kodi.wiki/view/Smart_playlists )
or with native 'smart playlist creator'
e.g.
define the
- type
- value of your path name
xml:<smartplaylist type="movies">
<name>filme (2)</name>
<match>one</match>
<rule field="path" operator="startswith">
<value>filme/</value>
</rule>
</smartplaylist>
append
(- add <group>none</group> if wished and needed , eg you can group results by studio,genre etc, this will result in groups as subfolders , using 'none' will not group movies from a set into a set )
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>
thanks again for your reply - oder soll ich danke sagen
Ill check this the next days and give a response!
Great work