[RELEASE] trakt.tv tv/movie scrobbler - 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: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152) +---- Thread: [RELEASE] trakt.tv tv/movie scrobbler (/showthread.php?tid=138745) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
RE: [RELEASE] trakt.tv tv/movie scrobbler - mason - 2015-02-23 (2015-02-22, 15:55)Razze Wrote: Yes, that was correct, should be better now. thanks Razze, highly appreciated! RE: [RELEASE] trakt.tv tv/movie scrobbler - Razze - 2015-02-23 Would be greate if some native english speakers could check this commit and add some comments. Not really sure about the string for "playback progress" etc https://github.com/Razzeee/script.trakt/commit/989bbb04bdf20e0bfbfa05c7ad38b163b1e009e4 RE: [RELEASE] trakt.tv tv/movie scrobbler - Martijn - 2015-02-23 can i point you out that we have fixed string ID ranges for addons? http://kodi.wiki/view/Language_support#String_ID_range RE: [RELEASE] trakt.tv tv/movie scrobbler - Razze - 2015-02-23 (2015-02-23, 14:26)Martijn Wrote: can i point you out that we have fixed string ID ranges for addons? thx, actually seen them already, but didn't check them vs the ones I took over from the old addon. I would like to change them then, but that might reset every translation or am I wrong? On another note: it seems like playback progress sync for episodes is not possible at the moment due to a bug in kodi/the jsonRPC. There is no way to get the real runtime. Probably affiliated with this ticket http://trac.kodi.tv/ticket/14524 RE: [RELEASE] trakt.tv tv/movie scrobbler - Martijn - 2015-02-23 (2015-02-23, 14:35)Razze Wrote:true, however translation memory is used and quite likely it will be updated again quite fast(2015-02-23, 14:26)Martijn Wrote: can i point you out that we have fixed string ID ranges for addons? RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-02-23 (2015-02-23, 13:22)smuggler2112 Wrote: I know that mate, but your help is very welcome, as it is by Razze as well I'm sure, he only has one pair of hands and needs the help whilst working on Trakt. much appreciated and awesome on everything working well RE: [RELEASE] trakt.tv tv/movie scrobbler - Razze - 2015-02-23 (2015-02-23, 14:39)Martijn Wrote:(2015-02-23, 14:35)Razze Wrote:true, however translation memory is used and quite likely it will be updated again quite fast(2015-02-23, 14:26)Martijn Wrote: can i point you out that we have fixed string ID ranges for addons? Should be fine now. RE: [RELEASE] trakt.tv tv/movie scrobbler - claytow - 2015-02-23 (2015-02-23, 14:23)Razze Wrote: Would be greate if some native english speakers could check this commit and add some comments. Perfectly good English as far as I am concerned. RE: [RELEASE] trakt.tv tv/movie scrobbler - Hiechel - 2015-02-23 I have spend 2 days trying to get everything to work with 2.3.2 i couldn't get it to work properly... After installing 3.0.0 all my issues were solved. Movies got synced, TV shows got synced. Damn boys keep up the good work with scripting ! RE: [RELEASE] trakt.tv tv/movie scrobbler - smakovits - 2015-02-24 so, um, what happens if xbmc has the right show data, but when scrobbled trakt.tv has the wrong show? RE: [RELEASE] trakt.tv tv/movie scrobbler - abmoraz - 2015-02-24 (2015-02-20, 10:12)Razze Wrote: Forgot to remove that setting. Retrying won't help you if the server is not responding at all. No harm (2015-02-20, 10:12)Razze Wrote: Do you have an proof or log? We're not using oauth so that should no happen, I'm not even sure if there is any error message that has oauth in it. I had it in a log file, but that file has long been cycled. If I see it again, I'll post it for you. (2015-02-20, 10:12)Razze Wrote: Get me the incorrect username/password case should only happen if the server returns but doesn't return with a token, so thats pretty weird. Um... sorry, but I'm not posting my User/password in a forum (2015-02-20, 10:12)Razze Wrote: Thats just a timeout, when the server is not responding. You should get a "can not connect to trakt" error message in your ui. I didn't notice the message in the UI, but that doesn't mean it didn't happen. I had a "tail -f kodi.log" running in another monitor and was paying attentiopn to that. It is very likely that it may have popped up the "Can not connect" message in the UI and I just missed it. Just wanted to reply and say the new script seems to be working quite well. The Debugging to the log file seems a bit sparse for my taste. Is there a higher debug level, something like a trace level of DEBUG? I am a python developer by trade (sadly stuck in 2.7 due to legacy requirements). I'm very familiar with the libraries for requests, urlib, urllib2, OAuth, etc, but not the xbmc/kodi api library. If I had some higher debugging, I might be able to help out some (or had some time to learn the Kodi library). Is there a bug tracker or any feature todo list I could scan over and possibly contribute? RE: [RELEASE] trakt.tv tv/movie scrobbler - abmoraz - 2015-02-24 (2015-02-23, 14:23)Razze Wrote: Would be greate if some native english speakers could check this commit and add some comments. Verbage looks good here, but I speak the Picksburghese dialect of English, so I may not be the best to answer Only question I have when looking at theat commit is "Is there a reason the full exception isn't getting passed to the logger?" For example, instead of: except Exception: logger.debug("[Playback Sync] Invalid trakt.tv progress list, possible error getting data from trakt, aborting trakt.tv playback update.") return False, False why not use: except Exception, e: logger.debug("[Playback Sync] Invalid trakt.tv progress list, aborting trakt.tv playback update. Error: %s" % str(e)) return False, False Just curious. It would give more robust error reporting and help troubleshooting errors. RE: [RELEASE] trakt.tv tv/movie scrobbler - abmoraz - 2015-02-24 (2015-02-22, 23:30)AbRASiON Wrote: Any ideas when the dev versions will finalise? I realise some good work is being done in the thread but I'm happy to just wait until something solid gets worked out, be it in the plugin or if trakt themselves fix their API (I don't care either way) I had the same issues with the old script (2.x.x) where scrobbling worked, but collections didnt. Took about 5 messages from s7eele to get me up and running. The new script (3.0.0) works amazing on my kodi systems (both running different flavors of Ubuntu). The full instructions for installing the new script: 1. Disable the old script in Kodi/XBMC (varies depending on version) 2. Close Kodi 3. Delete any trakt folders in BOTH the ~/.kodi/addons/ AND the ~/.kodi/userdata/addon_data/ directories. 4. Download the new trackt script zip file from https://github.com/Razzeee/script.trakt/archive/dev.zip and save it to disk 5. Launch Kodi 6. Go to System->Settings->Add-ons->Install from zip file 7. Navigate to the files saved in step 4 8. Go to System->Settings->Add-ons->Enabled Add-ons/Services/trakt 9. Configure it (several of the options have been removed or have been greatly simplified) That's it. Enjoy RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-02-24 (2015-02-24, 08:49)abmoraz Wrote:wow, that was some heavy posting lol(2015-02-20, 10:12)Razze Wrote: Get me the incorrect username/password case should only happen if the server returns but doesn't return with a token, so thats pretty weird. the incorrect/username question from razze was directed at me so no worries there, i have since provided him with the log but not sure if it turned out to be anything significant, assuming not since ihavent heard back btw, actually no username or password involved, it was about receiving incorrect username/password when it should have been failed to connect RE: [RELEASE] trakt.tv tv/movie scrobbler - Razze - 2015-02-24 (2015-02-24, 04:36)smakovits Wrote: so, um, what happens if xbmc has the right show data, but when scrobbled trakt.tv has the wrong show? this should be pretty much impossible if your using the tvdb scrapper, if you are feel free to head over to github and open an issue on the problem would be nice if you could provide the name of the show and episode too (2015-02-24, 08:49)abmoraz Wrote:(2015-02-20, 10:12)Razze Wrote: Forgot to remove that setting. Retrying won't help you if the server is not responding at all. Retrying does hold a certain harm, especially on post/delete/put requests, as trakt is not providing transactions. And spamming their servers won't help you, but there is a inbuild retry on the trakt.py level. As far as I know it's not possible to use log levels the way their intended to be used. The kodi team suggests every addon to log on the logdebug level and that level only. So no, there is no other log :/ If you want to help out check these issues and githubs: https://github.com/fuzeman/trakt.py/tree/develop/ https://github.com/fuzeman/trakt.py/issues https://github.com/Razzeee/script.trakt/tree/dev https://github.com/Razzeee/script.trakt/issues Thanks! (2015-02-24, 09:03)abmoraz Wrote:(2015-02-23, 14:23)Razze Wrote: Would be greate if some native english speakers could check this commit and add some comments. Mostly this are cases where I know it will be a server problem on trakt for 99% of the times this get thrown. Just haven't seen that bugging me (yet) |