Kodi Community Forum
[RELEASE] Trakt Utilities (addon for Trakt.tv usage) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) (/showthread.php?tid=98582)



- PatK - 2011-09-19

I've had to resort to Stable Stream - https://github.com/Manromen/script.T...zipball/v0.6.1

github isn't responding.


- Martijn - 2011-09-20

I think the scrobbler is broken since nightly build from last saturday (friday the scrobbler worked)
Using latest TU git.
Here's last part of the log wich contains the TU part. Full log was to big.
http://pastebin.com/gpSEmGK3


- othrayte - 2011-09-20

PatK Wrote:I've had to resort to Stable Stream - https://github.com/Manromen/script.T...zipball/v0.6.1

github isn't responding.

Um, thad url is broken, where did you find it? it should be https://github.com/Manromen/script.TraktUtilities/zipball/v0.6.1


- othrayte - 2011-09-20

Machine-Sanctum Wrote:I think the scrobbler is broken since nightly build from last saturday (friday the scrobbler worked)
Using latest TU git.
Here's last part of the log wich contains the TU part. Full log was to big.
http://pastebin.com/gpSEmGK3

Yeah ok I se what has happened, it should be a simple change, could you please create an issue on github do that it is easy to track.

Thanks for reporting,


- Martijn - 2011-09-20

othrayte Wrote:Yeah ok I se what has happened, it should be a simple change, could you please create an issue on github do that it is easy to track.

Thanks for reporting,

Issue created.


- lowfi - 2011-09-23

othrayte Wrote:I think these two symptoms are caused by the same underlying problem, for some reason TU is not getting the correct or full set of info from XBMC for each movie. What I'm going to do is make a special version of TU to run some tests on your system so I can see what is going on, it'll take me a day or two to get it coded up simply because I'm a touch overloaded at the moment.

Hope your having/had a good weekend otherwise,
Any developments here?


- othrayte - 2011-09-23

lowfi Wrote:Any developments here?

Yeah, I'll see what I can put together now, had a hectic week and haven't had a chance to work on TU at all.


- othrayte - 2011-09-23

othrayte Wrote:Yeah, I'll see what I can put together now, had a hectic week and haven't had a chance to work on TU at all.

Ok, I've added the ability for us to include standard tests that can be run for diagnostic or testing purposes, currently I'm keeping this in my own repo until I know how this will pan out long term.

@lowfi, please download the version at https://github.com/othrayte/script.TraktUtilities/zipball/tests, but note that this one is locked to the stable releases, if you want to stay on the testing releases I suggest you manually change back after you have finished with this one.
Once you have that in place, go to TU's main menu (with it in debug mode) and you should see a new item at the bottom of the menu "Unit Tests" inside there run the test named "Get movies from XBMC" record and please record and upload the log file.


- pyrodex - 2011-09-23

With the latest Xbcm nightly I am seeing this error now when trying to sync status:

Code:
17:36:38 T:5952  NOTICE: Trakt Utilities: getMoviesFromXBMC: {u'message': u'Invalid params.', u'code': -32602, u'data': {u'message': u'Too many parameters', u'method': u'VideoLibrary.GetMovies'}}

Guessing some API calls in XBMC broke this...


- lowfi - 2011-09-26

othrayte Wrote:Ok, I've added the ability for us to include standard tests that can be run for diagnostic or testing purposes, currently I'm keeping this in my own repo until I know how this will pan out long term.

@lowfi, please download the version at https://github.com/othrayte/script.TraktUtilities/zipball/tests, but note that this one is locked to the stable releases, if you want to stay on the testing releases I suggest you manually change back after you have finished with this one.
Once you have that in place, go to TU's main menu (with it in debug mode) and you should see a new item at the bottom of the menu "Unit Tests" inside there run the test named "Get movies from XBMC" record and please record and upload the log file.

TU in debug mode? I dont see the option in the first menu....

Image


- azgul - 2011-09-26

pyrodex Wrote:With the latest Xbcm nightly I am seeing this error now when trying to sync status:

Code:
17:36:38 T:5952  NOTICE: Trakt Utilities: getMoviesFromXBMC: {u'message': u'Invalid params.', u'code': -32602, u'data': {u'message': u'Too many parameters', u'method': u'VideoLibrary.GetMovies'}}

Guessing some API calls in XBMC broke this...

Same issue here. Has anyone figured out what we need to modify to get it working again?


- Martijn - 2011-09-26

azgul Wrote:Same issue here. Has anyone figured out what we need to modify to get it working again?
There where indeed some changes in code of xbmc that broke TU.
Already reported it a couple of days ago (post 347). Maybe same problem?
Have created an issue at TU github for this.


- othrayte - 2011-09-27

lowfi Wrote:TU in debug mode? I dont see the option in the first menu....

Image

Yeah that its the settings menu that shows that your in debug mode, but to reach the me menu option you need to go to the main menu that you get by running the actual addon manually, just select the addon and run it from videos>addons.


- azgul - 2011-09-28

Machine-Sanctum Wrote:There where indeed some changes in code of xbmc that broke TU.
Already reported it a couple of days ago (post 347). Maybe same problem?
Have created an issue at TU github for this.
It is actually already fixed - just not pushed onto the main build yet. If you (and others) want to fix it by themselves you can just open up utilities.py and change the following;

https://github.com/TorrentialStorm/script.TraktUtilities/commit/83c439edf038afe1a4036e8729bc52f5a3448c5a

like http://forum.xbmc.org/showpost.php?p=893214&postcount=1225 says, the "fields" parameter has simply changed name to "properties" so finding all of these in utilities.py and replacing them appropriately will make it work yet again. Or you can just wait until TorrentialStorm's commit has been pushed onto master branch.


- lowfi - 2011-09-28

othrayte Wrote:Yeah that its the settings menu that shows that your in debug mode, but to reach the me menu option you need to go to the main menu that you get by running the actual addon manually, just select the addon and run it from videos>addons.

http://pastebin.com/PV8L4Fit

Im seeing an Notification error every second right now:
Code:
19:15:23 T:2961981440  NOTICE: Trakt Utilities: [Notification Service] Telnet too soon? (61) Connection refused