• 1
  • 13
  • 14
  • 15(current)
  • 16
  • 17
  • 49
[FRODO release] Skin Widgets
@Martijn,

If you are building against XBMC HEAD (ie. Frodo) then this commit will break scripts, It is because "runtime" has been changed from a string to an integer (and is in seconds so it also needs to be divided by 60 too).

I receive error now in your script, because this change in master code.

Thanks,




MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
Yes I get script failed script.skin.widgets

PHP Code:
05:18:34 T:2854497088   ERROREXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - 
NOTEIGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            
Error Type: <type 'exceptions.TypeError'>
                                            
Error Contentsargument "value" for method "setProperty" must be unicode or str
                                            Traceback 
(most recent call last):
                                              
File "/storage/.xbmc/addons/service.skin.widgets/default.py"line 685in <module>
                                                
Main()
                                              
File "/storage/.xbmc/addons/service.skin.widgets/default.py"line 66in __init__
                                                self
._fetch_info_randomitems()
                                              
File "/storage/.xbmc/addons/service.skin.widgets/default.py"line 119in _fetch_info_randomitems
                                                self
._fetch_movies('RandomMovie')
                                              
File "/storage/.xbmc/addons/service.skin.widgets/default.py"line 183in _fetch_movies
                                                self
.WINDOW.setProperty("%s.%d.Runtime"         % (requestcount), item['runtime'])
                                            
TypeErrorargument "value" for method "setProperty" must be unicode or str
                                            
-->End of Python script error report<-- 

full log: http://sprunge.us/aeBT
"PPC is too slow, your CPU has no balls to handle HD content." ~ Davilla
"Maybe it's a toaster. Who knows, but it has nothing to do with us." ~ Ned Scott
Reply
for fix this error, change line 183 - default.py file

Code:
self.WINDOW.setProperty("%s.%d.Runtime"         % (request, count), str(item['runtime'] / 60))

This solve error or wait for Martijn, maybe have other solution or more fixes, for me work great again.
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
looks like it was fixed, https://github.com/XBMC-Addons/service.s...dd67211dc7
"PPC is too slow, your CPU has no balls to handle HD content." ~ Davilla
"Maybe it's a toaster. Who knows, but it has nothing to do with us." ~ Ned Scott
Reply
Translation
Script is added to Transifex
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
I've been modding the Frodo Confluence skin to support this. One of the things I'd like to do is have recent TV Shows show unplaced recent items but have movies show all recent items. If you'd like I'd be happy to workon that this weekend (i have an idea that should take only some minor code modifications) and then do a pull request..
Reply
(2012-11-28, 09:35)pkscuot Wrote: I've been modding the Frodo Confluence skin to support this. One of the things I'd like to do is have recent TV Shows show unplaced recent items but have movies show all recent items. If you'd like I'd be happy to workon that this weekend (i have an idea that should take only some minor code modifications) and then do a pull request..

This will create too much options. I want to keep it as simple as possible else i could go and add another 50 options
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-11-27, 22:09)Martijn Wrote: Translation
Script is added to Transifex
Where your script can be found ?

It's not listed in French part :

https://www.transifex.com/projects/p/XBM...nguage/fr/
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
https://www.transifex.com/projects/p/xbmc-addons/
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
Thanks.

Randomize time (minutes) = 5 means script will refresh every 5 minutes ?

Because randomize is not very easy to translate in french :S
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
(2012-11-28, 10:40)mikebzh44 Wrote: Thanks.

Randomize time (minutes) = 5 means script will refresh every 5 minutes ?

Because randomize is not very easy to translate in french :S

correct
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
French translation is OK on Transifex.

Didn't translate "Skin widgets" in summary and description fields in addon.xml as I think you will change them to a longer explaination Big Grin
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
-plz ignore, add-ons had not self updated yet-
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
I have error, with the last xbmc build with ubuntu
I use your 0.14 script
Code:
18:09:50 T:2901408624   ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str
18:09:50 T:2901408624   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: argument "value" for method "setProperty" must be unicode or str
                                            Traceback (most recent call last):
                                              File "/home/guevel/.xbmc/addons/service.skin.widgets/default.py", line 685, in <module>
                                                Main()
                                              File "/home/guevel/.xbmc/addons/service.skin.widgets/default.py", line 66, in __init__
                                                self._fetch_info_randomitems()
                                              File "/home/guevel/.xbmc/addons/service.skin.widgets/default.py", line 119, in _fetch_info_randomitems
                                                self._fetch_movies('RandomMovie')
                                              File "/home/guevel/.xbmc/addons/service.skin.widgets/default.py", line 183, in _fetch_movies
                                                self.WINDOW.setProperty("%s.%d.Runtime"         % (request, count), item['runtime'])
                                            TypeError: argument "value" for method "setProperty" must be unicode or str
                                            -->End of Python script error report<--
Reply
(2012-12-04, 19:12)fmronan Wrote: I have error, with the last xbmc build with ubuntu
I use your 0.14 script

Sorry but I really don't care.
If you still can't follow forum rules by now.

DO NOT POST SNIPPETS!!!!!!!

How difficult can it be to just follow them.
I will plain ignore anyone who does this
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
  • 1
  • 13
  • 14
  • 15(current)
  • 16
  • 17
  • 49

Logout Mark Read Team Forum Stats Members Help
[FRODO release] Skin Widgets8