Kodi Community Forum
Release script favourites - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: Release script favourites (/showthread.php?tid=114671)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


script favourites - new features - pecinko - 2012-11-17

So there will not be a way to auto populate home window properties for say, 15 favourites? Or is there a way to do it with new method?

I am using new method in Quartz but to assign one item from favourites to a single home button.

Would there be a way to auto populate a list container with favourites - like recent/random items?


RE: script favourites - new features - Hitcher - 2012-11-17

That's what's been removed unfortunately.


RE: script favourites - new features - ronie - 2012-11-17

the problem occurred when a windows user tries to map a custom folder to a menu button using the favourites script.
see: http://trac.xbmc.org/ticket/12835

the path gets corrupted during:
Skin.SetString($INFO[Skin.String(CustomFavouritePath)],$INFO[Window(0).Property(favourite.1.path)])


if all you need is the favourite labels to auto-fill the home menu, i'll add them back of course.
most likely you're not affected by this bug if you use them this way.
just don't use the Skin.SetString() method for manually mapping of favourites to menu-button.
for this, use the method as described in the first post.


RE: script favourites - new features - MassIV - 2012-11-17

Switched to new method yesterday.
I'd just like to say, i really like the new method. Very clean, nicely done!


RE: script favourites - new features - Hitcher - 2012-11-17

Cheers ronie.


script favourites - new features - pecinko - 2012-11-17

Thanks!


RE: script favourites - new features - ronie - 2012-11-18

apologies for the headaches guys.
your favourite.%d.foo properties are back to where they belong

script.favourites-4.0.4.zip

i'll submit it to the repo once you've confirmed it's working exactly like before.


RE: script favourites - new features - Mudislander - 2012-12-21

@ ronie - I've just downloaded version 4.0.5 and still getting script failed error until I actually add a favourite. If you want logs etc just let me know.


RE: script favourites - new features - ronie - 2012-12-22

(2012-12-21, 23:21)Mudislander Wrote: @ ronie - I've just downloaded version 4.0.5 and still getting script failed error until I actually add a favourite. If you want logs etc just let me know.

ah, that's another bug.

mind testing: script.favourites-4.0.6.zip


RE: script favourites - new features - Martijn - 2012-12-22

(2012-12-22, 00:47)ronie Wrote: ah, that's another bug.

c/p bug?


RE: script favourites - new features - ronie - 2012-12-22

(2012-12-22, 00:50)Martijn Wrote:
(2012-12-22, 00:47)ronie Wrote: ah, that's another bug.

c/p bug?

nope, drunk coding bug.


RE: script favourites - new features - Martijn - 2012-12-22

(2012-12-22, 00:52)ronie Wrote:
(2012-12-22, 00:50)Martijn Wrote:
(2012-12-22, 00:47)ronie Wrote: ah, that's another bug.

c/p bug?

nope, drunk coding bug.

in that case it's acceptable


RE: script favourites - new features - Mudislander - 2012-12-22

(2012-12-22, 00:47)ronie Wrote:
(2012-12-21, 23:21)Mudislander Wrote: @ ronie - I've just downloaded version 4.0.5 and still getting script failed error until I actually add a favourite. If you want logs etc just let me know.

ah, that's another bug.

mind testing: script.favourites-4.0.6.zip

Working fine Smile


RE: script favourites - new features - Mudislander - 2012-12-22

@ronie - just noticed if you delete favourites.xml then run XBMC, add a favourite, then delete it. Then go and edit favourites.xml you'll find there is ony "<favourites />" left in the file.

Any chance of leaving the message "Can Not Find favourites.xml" or something, so I can check if there's no favourites been added


RE: script favourites - new features - ronie - 2012-12-22

(2012-12-22, 11:10)Mudislander Wrote: @ronie - just noticed if you delete favourites.xml then run XBMC, add a favourite, then delete it. Then go and edit favourites.xml you'll find there is ony "<favourites />" left in the file.

Any chance of leaving the message "Can Not Find favourites.xml" or something, so I can check if there's no favourites been added

can you explain how/when/why/where you exactly need this?

i can handle this in several ways, just need to know what works best for you:
- change the title of the select dialog to 'no favourites found'
- pop up a kai notification when no favourites were found
- ...