![]() |
|
script favourites - new features - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Development (/forumdisplay.php?fid=32) +--- Forum: Skin Development (/forumdisplay.php?fid=12) +--- Thread: script favourites - new features (/showthread.php?tid=114671) |
script favourites - new features - `Black - 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 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.LabelI hope this will make things a lot easier for you. ![]() script-favourites is available on ronie's svn and from the official repo. http://mirrors.xbmc.org/addons/frodo/script.favourites/ - Mudislander - 2011-11-15 13:03 Thanks, I'll give it a whirl. - Hitcher - 2011-11-15 13:06 Thanks. - Big_Noid - 2011-11-15 13:40 Can an option be added for playlist=play in a select dialog? We now run it per custom favorite, would be nice for users to choose thus instead of us. - Hitcher - 2011-11-15 13:50 If you're taking suggestions can an album be set to play as well? Thanks. - `Black - 2011-11-15 13:51 If the selected favourite is a playlist, yes/no dialog pops up where you can choose. @Hitcher I'll add that. - Hitcher - 2011-11-15 14:02 Cheers. - `Black - 2011-11-15 16:49 I took a look into it and I think it's not possible because there are several edge cases where you don't know if it's an album or not. Edit: Only thing I could do is to ask for play every time if it's music. But there will be an error if you try to play an artist or year favourite. - pecinko - 2011-11-15 17:03 `Black Wrote:I took a look into it and I think it's not possible because there are several edge cases where you don't know if it's an album or not. So it will remain as skinner definable feature? - Hitcher - 2011-11-15 17:54 No worries, thanks for looking. |