Kodi Community Forum

Full Version: [RELEASE] trakt.tv tv/movie scrobbler
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
@DarkKlown please try the latest gtihub code at https://github.com/trakt/script.trakt I put in a fix that should address this issue

@Skank yeah, the hooks are in there but they need to be called via the skin or custom keymap
DarkKlown, regarding username/password issues, the only time I've ever come across my password not working (on a windows box) when I know I typed it properly, is when I used the keypad for numerical entry. If i use the top row number keys instead, it works. I don't know if you use numbers in your password, but, its the only thing I'm aware of. Short of working with you through msgs or irc, can't really debug this properly. Also, after you set your password, and save the settings, you can open the settings.xml (in userdata/addon_data/script.trakt/) for the trakt addon and see if its correct in there, it will be plain text, if its correct there then something else is going on and needs debugging, if its wrong there, then something is wrong when inputting it.

rectifyer the fix you put in place to address DarkKlown's issue won't do anything, it already does what you added in.

Skank, yes, skin support is needed for some features, or you can mod the skin (or even keyboard.xml for linking actions to keys) all supported actions should be on the github wiki for the plugin.

hoju3508, the error clearblock you see in your log is safe to ignore, it happens on other plugins as well, not sure what it means or how to resolve it, I think its a possible XBMC issue that needs to be fixed but not entirely sure.
Reverted that code change, that's what I get for rushing in a fix Smile
Hey there, quick question
I have my databases on mysql and getting ready to deploy a 2nd xbmc box (will get used once or twice a week at most), wondering if I even need to have trakt on all of them or just 1 and next time it is in use it will see it was played and sync to trakt. I will have 4 machines when I am done and just want to do bare minimal installs on them.
It's better to have the plugin on all machines so it can scrobble in real time. If you simply want it to sync, then it should work on one box. Sync is triggered after a library update.
Yup it says "seen it" when I have trakt on only one machine, "scrobble" is real-time if I watch it on a machine with the trakt plugin. Works for me!
Still having problems with manual sync (add collection to trakt, update playcount) hangs on "prasing episode data from xbmc".
Scroble, rating works.

Debug log for last manual snyc with trakt 2.3.2 and XBMC (13.0-ALPHA9 Git:dc6dff0) on raspberry pi:
http://pastebin.com/h3qxiWJM

Edit:
seems to be fine on windows, perhaps an openelec problem?
Any idea why trakt would be getting "stuck" at "Queuing for dispatch?" Looks like "Rating Check called for 'episode'" never gets a response. It's been doing this for about a week. The first item will show up as watching after I Disable/Enable the plugin, but won't successfully scrobble.

http://xbmclogs.com/show.php?id=69304
When I watch http://thetvdb.com/?tab=series&id=80661&lid=7 in XBMC, all scraped in the right way, there is no scrobbling to Trakt.

The show is on trakt, http://trakt.tv/show/varantv and all episodes do have air date and english info.

Why isn't that show being scrobbled?


Answer from Justin Nemeth:

Hmm, not sure. Can you post the debug log in the xbmc thread at
http://forum.xbmc.org/showthread.php?tid=138745&page=82 ? That will help us
and the other devs in tracking down what the problem could be.

http://pastebin.com/FEujPZ92

EDIT: New log without debug on in system. Reboot between. http://pastebin.com/1dkCxUge

/Söder
@bladel and @soder I'm pretty sure I know whats going on with your errors, its having problems converting to unicode, based on the errors, its actually happening within the simplejson code itself and the only common theme is openelec. I've done some reading and it seems this has cropped up before, not really sure why. When I have some free time I'll look into possible work arounds, I have 1 or 2 in mind just need the time to implement them. Also if either of you use the sqlite DBs for your data, it would help immensely if I could somehow get a copy of your video database, or if you use mysql a dump of your myvideo75 database. Having this would help debugging a lot, so I'd have known data that can cause the issue.

@mikelykzit not really sure whats going on in your case, it almost seems the rating dialog is becoming stuck. Do you encounter this if you disable rating episodes? Tthis is where it seems to stall, hang, well, tbh, i have no idea what its doing that would make it just stop like that without crashing.
Got script error on current repo version:
http://pastebin.com/ibFih6K4

think it needs to be

PHP Code:
if show['tvdb_id'] and show['tvdb_id'].isdigit(): 
to check if it actually has data in show['tvdb_id']
(2013-10-19, 17:23)Martijn Wrote: [ -> ]Got script error on current repo version:
http://pastebin.com/ibFih6K4

think it needs to be

PHP Code:
if show['tvdb_id'] and show['tvdb_id'].isdigit(): 
to check if it actually has data in show['tvdb_id']

Not sure whats going on there, but that exception doesn't match current code. (git or repo, i downloaded the current repo version, 2.3.1, to verify)

findShow is no longer in sync.py its in utilities.py also line numbers don't match up.
maybe i pulled out the wrong (old) log. i came to that error searching for something else. Do have 2.3.1 installed.
so just ignore for now Wink
Maybe I'm missing a configuration option somewhere- is it expected behavior that if I mark something unwatched in xbmc this will re-sync and step on that value? (Setting it watched in xbmc again)
(2013-10-19, 03:13)nate1280 Wrote: [ -> ]@bladel and @soder I'm pretty sure I know whats going on with your errors, its having problems converting to unicode, based on the errors, its actually happening within the simplejson code itself and the only common theme is openelec. I've done some reading and it seems this has cropped up before, not really sure why. When I have some free time I'll look into possible work arounds, I have 1 or 2 in mind just need the time to implement them. Also if either of you use the sqlite DBs for your data, it would help immensely if I could somehow get a copy of your video database, or if you use mysql a dump of your myvideo75 database. Having this would help debugging a lot, so I'd have known data that can cause the issue.

What do you mean with the DB stuff? I have my library in the normal way. What way that is, I don't know. =)

You can have my myvideo75 database when ever you want.

http://home.bip.net/soder15/MyVideos75.db

/Söder