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


RE: script favourites - new features - jd_11 - 2013-03-15

(2013-03-15, 10:27)ronie Wrote:
(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?

I am already using v4.0.9 - i have change my skin to SI02 enabled debug - started XBMC waited a couple of secs and then i get the error message idicateing the script has failed - i have posted the debug here - http://xbmclogs.com/show.php?id=4523


RE: script favourites - new features - Martijn - 2013-03-15

(2013-03-15, 13:50)jd_11 Wrote:
(2013-03-15, 10:27)ronie Wrote:
(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?

I am already using v4.0.9 - i have change my skin to SI02 enabled debug - started XBMC waited a couple of secs and then i get the error message idicateing the script has failed - i have posted the debug here - http://xbmclogs.com/show.php?id=4523

no error of the script in that log


RE: script favourites - new features - jd_11 - 2013-03-15

(2013-03-15, 13:55)Martijn Wrote:
(2013-03-15, 13:50)jd_11 Wrote:
(2013-03-15, 10:27)ronie Wrote: could you try with v4.0.9 (available for download two posts above yours)
and post a debug log?

I am already using v4.0.9 - i have change my skin to SI02 enabled debug - started XBMC waited a couple of secs and then i get the error message idicateing the script has failed - i have posted the debug here - http://xbmclogs.com/show.php?id=4523

no error of the script in that log

what do you suggest for further troubleshooting as i am lost as what to do now.


Re: script favourites - new features - Martijn - 2013-03-15

Try again until you find a big part in the log that screams error. Could be that atv2 doesn't play really nice with python errors.
Perhaps a later nightly build does solve those issues but updating is at own risk


RE: script favourites - new features - jd_11 - 2013-03-19

OK i have been playing around with my setup - and i seemed to have fixed it - previously i was using path substitutions (including sharing my Favourites.xml on the network share) i have since removed all my path substitutions and now the issue i was experiencing with the favourites.script has disappeared - i am not sure if it is a bug - but i just wanted to let you know how i resolved my issue.

Cheers
jd


RE: script favourites - new features - peppe_sr - 2013-03-27

hi ronie is there a place to download the script, the link in post #131 is dead.
thank you


RE: script favourites - new features - Martijn - 2013-03-27

(2013-03-27, 16:48)peppe_sr Wrote: hi ronie is there a place to download the script, the link in post #131 is dead.
thank you

http://mirrors.xbmc.org/addons/frodo/script.favourites/


RE: script favourites - new features - peppe_sr - 2013-03-27

(2013-03-27, 16:51)Martijn Wrote: http://mirrors.xbmc.org/addons/frodo/script.favourites/

thanks a lot.
Peppe


RE: script favourites - new features - devkid - 2013-05-04

It seems this script does not work when using path substitution (http://wiki.xbmc.org/index.php?title=HOW-TO:Share_libraries_using_MySQL/Sync_other_parts_of_XBMC). I get this when I dont have a local favourites.xml in my userdata:
Code:
13:20:41 T:139853119350528   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: (2, 'No such file or directory', u'/storage/.xbmc/userdata/favourites.xml')
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.favourites/default.py", line 169, in <module>
                                                Main()
                                              File "/storage/.xbmc/addons/script.favourites/default.py", line 22, in __init__
                                                found, favourites = self._read_file()
                                              File "/storage/.xbmc/addons/script.favourites/default.py", line 46, in _read_file
                                                self.doc = parse( self.fav_file )
                                              File "./Lib/xml/dom/minidom.py", line 1920, in parse
                                              File "./Lib/xml/dom/expatbuilder.py", line 922, in parse
                                            IOError: (2, 'No such file or directory', u'/storage/.xbmc/userdata/favourites.xml')
                                            -->End of Python script error report<--

I know this feature is not supported by XBMC officially in the first place but it would still be great if this asson would work with path substitutions. Thank you!


RE: script favourites - new features - ronie - 2013-05-04

(2013-05-04, 13:24)devkid Wrote: It seems this script does not work when using path substitution (http://wiki.xbmc.org/index.php?title=HOW-TO:Share_libraries_using_MySQL/Sync_other_parts_of_XBMC). I get this when I dont have a local favourites.xml in my userdata:
Code:
13:20:41 T:139853119350528   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: (2, 'No such file or directory', u'/storage/.xbmc/userdata/favourites.xml')
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.favourites/default.py", line 169, in <module>
                                                Main()
                                              File "/storage/.xbmc/addons/script.favourites/default.py", line 22, in __init__
                                                found, favourites = self._read_file()
                                              File "/storage/.xbmc/addons/script.favourites/default.py", line 46, in _read_file
                                                self.doc = parse( self.fav_file )
                                              File "./Lib/xml/dom/minidom.py", line 1920, in parse
                                              File "./Lib/xml/dom/expatbuilder.py", line 922, in parse
                                            IOError: (2, 'No such file or directory', u'/storage/.xbmc/userdata/favourites.xml')
                                            -->End of Python script error report<--

I know this feature is not supported by XBMC officially in the first place but it would still be great if this asson would work with path substitutions. Thank you!

not much i can do i'm afraid, afaik path substitution simply doesn't work in addons.


RE: script favourites - new features - devkid - 2013-05-04

Ok, nevermind, thanks for the info. I will switch back to local favorites then.


RE: script favourites - new features - pecinko - 2013-07-22

Ronie,

it seems that when script is used as RunScript(script.favourites)

you cannot use

<onclick>$ESCINFO[Window(Home).Property(favourite.1.path)]</onclick>

I'll change it in Amber but since we should use ESCINFO is this a bug or intention for some reason?


RE: script favourites - new features - ronie - 2013-07-22

(2013-07-22, 12:17)pecinko Wrote: Ronie,

it seems that when script is used as RunScript(script.favourites)

you cannot use

<onclick>$ESCINFO[Window(Home).Property(favourite.1.path)]</onclick>

I'll change it in Amber but since we should use ESCINFO is this a bug or intention for some reason?

i'm not aware of any issues with it.
a Debug Log might provide me some clues ;-)


RE: script favourites - new features - `Black - 2013-07-23

Does $INFO instead of $ESCINFO work?


RE: script favourites - new features - pecinko - 2013-07-23

(2013-07-23, 12:19)`Black Wrote: Does $INFO instead of $ESCINFO work?

Yes it does. I have already reverted from ESCINFO to INFO in Amber but thought I mention it as I did not know if this is expected or not.