(2020-04-20, 18:21)Aaiemron Wrote: (2020-04-20, 17:53)mardukL Wrote: (2020-04-20, 17:36)Aaiemron Wrote: Great skin. Is it possible (or maybe will you make it possible) to make a favourite as a widget?
Its on to do currently possible to set
'favourites' as a widget.
only thing i iam unsure by now is how to get some more essential metadata out of them.
tags called 'favourite' can be an idea, but it'll hard to differ between different content
(song,playlist,plugin,app etc)
Oke. What I would like for instance, is to add my homevideo folder to favourites, and than choose a favourite (homevideos) as a widget
EDIT: you can also use your homevideo folder content via 'sources' in the widget selector instead of using smart playlist/favourites.
smart playlist
e.g.
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name>Movies in Movie-Source-Folder named Homevideos</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>\Homevideos\</value> <!-- 'startswith' - H:\Homevideos\ , 'contains' - '\Homevideos\' -->
</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>
and then choose that playlist as widget.