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)



RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - liv3wire - 2012-08-27

Cheers, will give that a try.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - liv3wire - 2012-08-27

Looks like im getting same error, full log after fresh reboot http://pastebin.com/GwMjbWq7

Cheers


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - seadog - 2012-08-27

(2012-08-27, 20:10)liv3wire Wrote: Looks like im getting same error, full log after fresh reboot http://pastebin.com/GwMjbWq7

Cheers

Can you try cleaning your library (settings -> library -> clean library)


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - liv3wire - 2012-08-27

Same result im afraid Sad


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - seadog - 2012-08-27

Hrm ok, I was hoping to overhaul the tv code tonight like I did the movie code, so hopefully I can fix it then (the current code's rather convoluted and hard to follow)


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - SpoBo - 2012-08-27

@seadog: did a fresh XBMC nightly install (27th), added some movies, added git://github.com/seadog/script.traktutilities.git to addons. configured it and sync for movies worked. thx!! Will upgrade my htpc to frodo :3

It didn't scrobble my movie however. I mean it didn't announce on trakt that I was playing a movie. Using the trakt plugin that's in the official repo worked fine though.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - seadog - 2012-08-27

Did you restart xbmc before trying to play a movie after it worked? I can scrobble movies here just fine, if not can I have a look at the log (there's no reason scrobbling shouldn't work since I didn't touch that code to make it work in frodo) (I just added a new movie to my collection, synced and then played it and it scrobbled for me, so if the reboot doesn't work something very weird's going on)

@liv3wire I think what's going on is that there's a gap in your movieids and the current code assumes there isn't one so deleting your library and rescanning should work, though hopefully I'll fix the bug so you don't have to do that


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - schumi2004 - 2012-08-27

Anyone else getting the error invalid development key ?

I'm using github's build.


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - seadog - 2012-08-28

(2012-08-27, 23:58)schumi2004 Wrote: Anyone else getting the error invalid development key ?

I'm using github's build.

Which version of it do you want? If you're using eden just grab one from https://github.com/Manromen/script.traktutilities/wiki/Download


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - SpoBo - 2012-08-28

@seadog syncing movies works on my mac (with just a few movies) but it doesn't work on my htpc box (ubuntu, xbmc nightly) with a 'bit' more movies.

I've added 'Debug' statements here and there. My conclusion seems to be that setXBMCPlaycount doesn't work very well. When it isn't hanging it's terribly slow. Last time I ran the sync it was able to update 10 movies or so before it hung. Now it is hanging on the first movie. A different movie where it hung the last time around.

Is there no way to have it update all playcounts in 1 big call? Or is there a way to make the xbmc JSONRPC time out after 10 seconds or so? Because having to reboot XBMC every time the process hangs is just annoying ;o


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - seadog - 2012-08-28

Weird, I have 540 movies and it worked fine, it's definitely slow as hell but unless there's a way to send the required json rpc calls in bulk then there's not really much I can do (the old version used direct DB access which is obviously far quicker), on your ubuntu PC can you try running `tail -f ~/.xbmc/temp/xbmc.log' then run the movie update, if it's freezing then something really weird's going on.

the JSON calls shouldn't be hanging, if they are then the only reason I can think of is that I'm sending a malformed request which shouldn't be the case (though maybe if a movie has a " in the name or something...). In any case a log of the syncing process where it hangs would be nice if you can.

Also note that I haven't updated the graphic that shows the progress of the movie update, the logfile (with debug turned on in the settings of the addon) is the only way to see the progress atm


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - SpoBo - 2012-08-28

Turns out my disk might have been full :') Emptying it out as we speak and then I'll test it again.

edit: *facepalm* it's not getting stuck now. just chugging along very very slowly Big Grin hooking up the progress bar would be nice indeed. had a 5.8GB buildup of Thumbfiles ;o


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - seadog - 2012-08-28

Yeah the bar's next on my list, just trying to see if I can improve the json performance at all

edit: Just pushed a version with the progress bar into the feature/frodo branch, still trying to find a way to make the JSON RPC faster though...


RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - Death-Axe - 2012-08-29

(2012-08-27, 19:10)seadog Wrote: I've updated the addon to work with frodo and removed eden compatability (though it's in a really early stage at the moment, manual sync will work but don't have it do it automatically!) here's the source: https://github.com/seadog/script.traktutilities/tree/feature/frodo feel free to submit bug reports etc. (I also have an advanced rating feature going on but that needs to be integrated before I release it (though if you're using eden and want it send me a PM and I'll send you the zip))


(2012-08-27, 06:50)brotbuexe Wrote:
(2012-08-24, 03:10)michael7oliver Wrote: Any word on this? I was hoping to disable them too.

I've got another one on some movies (dvd, m2ts) that the movie is too short. And it comes every x minutes while playing the movie.
Would be nice to get someone find the line that shows that popups that we can comment it out.

What would be the preferred behavior? I'm not sure if there's a case where the user would want to know that that's happened?


That is what debug logging is for, popup messages have no place during video playback, it is both annoying and uncalled for.



RE: [RELEASE] Trakt Utilities (addon for Trakt.tv usage) - seadog - 2012-08-29

(2012-08-29, 01:05)Death-Axe Wrote:
(2012-08-27, 19:10)seadog Wrote: I've updated the addon to work with frodo and removed eden compatability (though it's in a really early stage at the moment, manual sync will work but don't have it do it automatically!) here's the source: https://github.com/seadog/script.traktutilities/tree/feature/frodo feel free to submit bug reports etc. (I also have an advanced rating feature going on but that needs to be integrated before I release it (though if you're using eden and want it send me a PM and I'll send you the zip))


(2012-08-27, 06:50)brotbuexe Wrote: I've got another one on some movies (dvd, m2ts) that the movie is too short. And it comes every x minutes while playing the movie.
Would be nice to get someone find the line that shows that popups that we can comment it out.

What would be the preferred behavior? I'm not sure if there's a case where the user would want to know that that's happened?


That is what debug logging is for, popup messages have no place during video playback, it is both annoying and uncalled for.

Fair enough, I'll remove them all when I've finished fixing frodo syncing