2011-11-15, 12:55
I added a new feature to the favourites script so that it's now very easy to set a favourite as a string for use as a custom home item or something else.
If you run the script like this
it will open a select dialog and if you choose a favourite, the script will set the following strings based on the provided property:
I hope this will make things a lot easier for you.![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
script-favourites is available from the official repo.
If you run the script like this
Code:
RunScript(script.favourites,property=CustomFavourite1)
it will open a select dialog and if you choose a favourite, the script will set the following strings based on the provided property:
Code:
CustomFavourite1.Label
CustomFavourite1.Path
CustomFavourite1.Icon
CustomFavourite1.List (the absolute path without the 'Activate.Window()' part. can be used to fill a container with listitems)
I hope this will make things a lot easier for you.
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)
script-favourites is available from the official repo.