• 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 19
Release script favourites
Nothing serious, ATM have first 5 favourites in a submenu, so would help to have something to pin a visible condition onto. If it's an issue just as easy not to have the submenu .
Noli illegitimi carborundum


Reply
ah, ok.

i've added a favourite.count property.
you should be able to use that as a visible condition:

!StringCompare(Window(Home).Property(favourite.count),0)
or
!IntegerGreaterThan(Window(Home).Property(favourite.count),0)


script.favourites-4.0.7.zip
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Brilliant Big Grin cheers hey!
Noli illegitimi carborundum


Reply
(2012-12-22, 19:49)ronie Wrote: ah, ok.

i've added a favourite.count property.
you should be able to use that as a visible condition:

!StringCompare(Window(Home).Property(favourite.count),0)
or
!IntegerGreaterThan(Window(Home).Property(favourite.count),0)


script.favourites-4.0.7.zip

Any chance you could add an item count to the Skin Widgets script as well or that all maintained by Martijn?

Thanks.
Reply
(2012-12-23, 00:13)Hitcher Wrote: Any chance you could add an item count to the Skin Widgets script as well or that all maintained by Martijn?

judging by the number of bugs in the Skin Widgets script, it's indeed maintained by Martijn.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
(2012-12-23, 00:17)ronie Wrote:
(2012-12-23, 00:13)Hitcher Wrote: Any chance you could add an item count to the Skin Widgets script as well or that all maintained by Martijn?

judging by the number of bugs in the Skin Widgets script, it's indeed maintained by Martijn.

C&P? Wink
Reply
Yeah because that one is bug free
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
(2012-12-23, 00:20)Martijn Wrote: Yeah because that one is bug free

Famous last words, especially if you've been celebrating the impending Holidays Big Grin
Noli illegitimi carborundum


Reply
changelog v4.0.8:

added a 'no action' item at the end of the favourites list in the gui.
this can be used to change the label of a button without assigning an action to it.

several users have been asking for this. they want a custom main menu button with no action
and have a set of favourites as submenu items.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
The script is not working with favourites with special characters in them, like umlauts (ä, ö)

Code:
22:16:52 T:4366798848   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 56: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/Users/anssi/Library/Application Support/XBMC/addons/script.favourites/default.py", line 145, in onClick
                                                xbmc.executebuiltin( 'Skin.SetString(%s,%s)' % ( '%s.%s' % ( self.property, "Path", ), fav_path.encode('unicode-escape'), ) )
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 56: ordinal not in range(128)
                                            -->End of Python script error report<--
Reply
should be fixed in v4.0.9

i hope my changes don't break anything else, so i would appreciate a few people testing it:

script.favourites-4.0.9.zip
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
works fine in my case, thanks Nod
Reply
Hi,

I seem to be having a few issues currently am running frodo on atv2 and trying to run the si02 skin which requires the favourites plugin - i am running the latest version however it continually crashes saying script failed - also it is worth mention that in my setup i am sharing the /userdata on a network share. I have tried running a different skin QUARTZ and it also fails.

Regards
jd
XBMC:
XBMC Frodo running on raspbmc (SI02)
XBMC Frodo running on openELEC (SI02)

Server:
Ubuntu 12.04

Image
Reply
(2013-03-15, 08:03)jd_11 Wrote: Hi,

I seem to be having a few issues currently am running frodo on atv2 and trying to run the si02 skin which requires the favourites plugin - i am running the latest version however it continually crashes saying script failed - also it is worth mention that in my setup i am sharing the /userdata on a network share. I have tried running a different skin QUARTZ and it also fails.

Regards
jd

could you try with v4.0.9 (available for download two posts above yours)
and post a Debug Log?
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
ronie, v4.0.9 tested in Ace, everything ok.
------------------------------------------------------

Want to know more about the skin? Liked my work and want contribute?
Visit my website
XBMC Brazilian Community Forum
By making a donation, please do not post in the forum, send me an email or PM, thank you.
Reply
  • 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 19

Logout Mark Read Team Forum Stats Members Help
script favourites2