• 1
  • 143
  • 144
  • 145(current)
  • 146
  • 147
  • 154
[RELEASE] trakt.tv tv/movie scrobbler
(2015-02-22, 15:55)Razze Wrote: Yes, that was correct, should be better now.
https://github.com/Razzeee/script.trakt/...2817584ec1

But it's still missing the year, so that might cause problems here and there.

thanks Razze, highly appreciated!
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/...63b1e009e4
can i point you out that we have fixed string ID ranges for addons?
http://kodi.wiki/view/Language_support#String_ID_range
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
(2015-02-23, 14:26)Martijn Wrote: can i point you out that we have fixed string ID ranges for addons?
http://kodi.wiki/view/Language_support#String_ID_range

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
(2015-02-23, 14:35)Razze Wrote:
(2015-02-23, 14:26)Martijn Wrote: can i point you out that we have fixed string ID ranges for addons?
http://kodi.wiki/view/Language_support#String_ID_range

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?
true, however translation memory is used and quite likely it will be updated again quite fast
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
(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.

Just to let you know my Trakt is now scrobbling and syncing perfectly on both my PC and on my NUC.

much appreciated and awesome on everything working well
(2015-02-23, 14:39)Martijn Wrote:
(2015-02-23, 14:35)Razze Wrote:
(2015-02-23, 14:26)Martijn Wrote: can i point you out that we have fixed string ID ranges for addons?
http://kodi.wiki/view/Language_support#String_ID_range

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?
true, however translation memory is used and quite likely it will be updated again quite fast

Should be fine now.
(2015-02-23, 14:23)Razze Wrote: 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/...63b1e009e4

Perfectly good English as far as I am concerned.
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 Big Grin!
so, um, what happens if xbmc has the right show data, but when scrobbled trakt.tv has the wrong show?
(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 Smile

(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 Smile

(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?
(2015-02-23, 14:23)Razze Wrote: 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/...63b1e009e4



Verbage looks good here, but I speak the Picksburghese dialect of English, so I may not be the best to answer Smile

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.
(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'm still using the original version, what I've watched and rated works fine, just library stopped updating a month or two ago.

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
(2015-02-24, 08:49)abmoraz Wrote:
(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 Smile
wow, that was some heavy posting lol

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
(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.

No harm Smile

[...]

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?

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.
Not really sure about the string for "playback progress" etc
https://github.com/Razzeee/script.trakt/...63b1e009e4



Verbage looks good here, but I speak the Picksburghese dialect of English, so I may not be the best to answer Smile

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.

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)
  • 1
  • 143
  • 144
  • 145(current)
  • 146
  • 147
  • 154

Logout Mark Read Team Forum Stats Members Help
[RELEASE] trakt.tv tv/movie scrobbler13