Kodi Community Forum
[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)



RE: [RELEASE] trakt.tv tv/movie scrobbler - Piers - 2015-02-20

(2015-02-20, 22:46)Win a 2 Wrote: I marked an episode on trakt website as watched with an specific date in the past, the episode has not been marked as watched in kodi. I enable the option to sync from trakt to kodi. The episode got marked as watch in kodi, but with the date and time of the sync. Is that the current behavior or is it a bug?

Did you just mark it as watched and not complete a full sync?


RE: [RELEASE] trakt.tv tv/movie scrobbler - Win a 2 - 2015-02-20

(2015-02-20, 23:06)Piers Wrote:
(2015-02-20, 22:46)Win a 2 Wrote: I marked an episode on trakt website as watched with an specific date in the past, the episode has not been marked as watched in kodi. I enable the option to sync from trakt to kodi. The episode got marked as watch in kodi, but with the date and time of the sync. Is that the current behavior or is it a bug?

Did you just mark it as watched and not complete a full sync?
I've set "last watched on" at trakt.tv, then did a full manual sync in with script.trakt in kodi.
I never toggled the watched flag for that episode in kodi, only on trakt.tv.


RE: [RELEASE] trakt.tv tv/movie scrobbler - Razze - 2015-02-20

(2015-02-20, 16:52)Jean85 Wrote: Is the issue with italian translation fixed?
I'm using the master branch.. Is a pull sufficient?

Nope, waiting for a translation sync by team kodi.

(2015-02-20, 18:36)lysin Wrote: @Razze

not working here and getting this in log:

Code:
16:21:43 T:140226481886976 WARNING: [script.trakt] trakt.interfaces.base: request failed: Unauthorized - "OAuth must be provided" (code: 401)
@Razze is there any loss of feature or anything that is worse in v2.
[/quote]

Nope, in fact v1 is far far worse. Waiting for the day they kill it, so v2 can use all power they have. They split them server wise already as v1 was doing less work but needed almost all of the power...

(2015-02-20, 22:34)RavRob Wrote:
(2015-02-20, 21:15)smakovits Wrote: OK, so I'll just keep using it in the current state and accept it. It half works for me anyway so that's fine, better than nothing. 2 months is good progress for me, things take time....

You might need to post a log. I am sure it is better than "half works". I am quite pleased with the way it works. IMO it is ready (or damned near) for a final/stable release.

That would be great. In the best case, open an issue on github.

(2015-02-20, 22:46)Win a 2 Wrote: I marked an episode on trakt website as watched with an specific date in the past, the episode has not been marked as watched in kodi. I enable the option to sync from trakt to kodi. The episode got marked as watch in kodi, but with the date and time of the sync. Is that the current behavior or is it a bug?

Thats not going to be in the initial version. To my knowlegde it wasn't working before I took it over. Anyway there is already a ticket.
https://github.com/Razzeee/script.trakt/issues/80


RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-02-20

(2015-02-20, 21:20)TerrorKeed Wrote: thanks bro... been tad busy with learning python and coding addons so haven't had time to watch movies/use XBMC until today been a while Smile
no problem, lol -> i bet if you took a survey of the regular posters here (discounting pro add-on developers of course) it would show most of us spend more time tweaking/tuning/testing than actually watching content (hope its not just me, lol), with that said its damn nice to have a really well tuned kodi based system to watch it on when you do, especially with trakt integration (cheers @Razze, will upload log with username/password error shortly)

p.s. - i hear ya, definitely want to know python if doing add-on development, im doing my best, anything cool we should be watching for wrt add-ons? (just a little ot)


RE: [RELEASE] trakt.tv tv/movie scrobbler - Razze - 2015-02-21

(2015-02-20, 23:50)S7eele Wrote: p.s. - i hear ya, definitely want to know python if doing add-on development, im doing my best, anything cool we should be watching for wrt add-ons? (just a little ot)

really loved this talk, but it's probably a bit more advanced (give it a try)
https://www.youtube.com/watch?v=OSGv2VnC0go


RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-02-21

(2015-02-21, 02:38)Razze Wrote:
(2015-02-20, 23:50)S7eele Wrote: p.s. - i hear ya, definitely want to know python if doing add-on development, im doing my best, anything cool we should be watching for wrt add-ons? (just a little ot)

really loved this talk, but it's probably a bit more advanced (give it a try)
thx bud


RE: [RELEASE] trakt.tv tv/movie scrobbler - Piers - 2015-02-21

I just completed a full sync, it took over an hour but synced just over 4,200 new watched episodes since I last attempted it and 113 films. Also reflected on my trakt account. That's using the latest dev version.


RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-02-21

(2015-02-20, 10:12)Razze Wrote:
(2015-02-20, 04:39)S7eele Wrote: not sure why it happened but upon restarting after capturing a logfile to examine i got a username/password error, im not concerned about it as i figure its an anomaly but will capture a log jic
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.
@Razze the link to the log discussed above follows:

http://pastebin.com/MtPKdv2T

like i said, no worries here just providing fyi, interest factor if nothing else;-), why would it throw a username/password error on what appeared to be a timeout, anyway have a look and let me know if you want any more information, i captured a log after receiving the 'could not connect' error message as well so i have a log of both instances if you want to compare

didnt want to clutter github with another issue until you had a chance to determine if there is an actual issue, let me know if anything interesting comes of it, thx


RE: [RELEASE] trakt.tv tv/movie scrobbler - smakovits - 2015-02-21

OK, so I realized I still needed to install 3.x.x so I went with the dev release. and said download zip.

I then installed requests and six. If I look, beautifulsoup, httplib2, mechanize, python image library and simplejson are also installed.

I then uninstalled trakt, copied my new zip, installed from zip and rebooted. When I look, my settings were saved, so it had my userid and password and such. I updated my library and nothing.

Code:
00:59:02 T:1671025728  NOTICE: Thread LanguageInvoker start, auto delete: false
00:59:02 T:1671025728  NOTICE: -->Python Interpreter Initialized<--
00:59:03 T:1704580160  NOTICE: Thread FileCache start, auto delete: false
00:59:04 T:1612305472  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
00:59:07 T:1513092160  NOTICE: Thread VideoInfoScanner start, auto delete: false
00:59:07 T:1513092160  NOTICE: VideoInfoScanner: Starting scan ..
00:59:33 T:1513092160  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:26
00:59:34 T:1513092160  NOTICE: Thread FileCache start, auto delete: false
00:59:36 T:1478898752  NOTICE: Thread JobWorker start, auto delete: true
I tried to stop and start trakt by disabling it and enabling it. I have rebooted, but for some reason it would seem trakt is not running at all. The version is listed as 3.0.0 if that helps any


edit:

Started to play a file, I saw it say trakt scrobbled it and the log started to spit this out over and over again:
Code:
01:04:05 T:1688597568   ERROR: Traceback (most recent call last):
01:04:05 T:1688597568   ERROR:   File "/storage/.kodi/addons/script.plexbmc.helper-3.4.1/resources/lib/httppersist.py", line 62, in get
01:04:05 T:1688597568   ERROR:     conn.request("GET", path, headers=header)
01:04:05 T:1688597568   ERROR:   File "/home/stephan/projects/openelec-5.0/build.OpenELEC-imx6.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 958, in request
01:04:05 T:1688597568   ERROR:   File "/home/stephan/projects/openelec-5.0/build.OpenELEC-imx6.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 992, in _send_request
01:04:05 T:1688597568   ERROR:   File "/home/stephan/projects/openelec-5.0/build.OpenELEC-imx6.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 954, in endheaders
01:04:05 T:1688597568   ERROR:   File "/home/stephan/projects/openelec-5.0/build.OpenELEC-imx6.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 814, in _send_output
01:04:05 T:1688597568   ERROR:   File "/home/stephan/projects/openelec-5.0/build.OpenELEC-imx6.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 776, in send
01:04:05 T:1688597568   ERROR:   File "/home/stephan/projects/openelec-5.0/build.OpenELEC-imx6.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 757, in connect
01:04:05 T:1688597568   ERROR:   File "/home/stephan/projects/openelec-5.0/build.OpenELEC-imx6.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/socket.py", line 552, in create_connection
01:04:05 T:1688597568   ERROR: gaierror: [Errno -2] Name or service not known
01:04:05 T:1688597568  NOTICE: Unable to connect to
                                            Reason: None

I assume this might just be related.


RE: [RELEASE] trakt.tv tv/movie scrobbler - Razze - 2015-02-21

@Piers
can you have a look at the dialog again? the episode name and rating level is quiete hard to read on my tv.
Zoom in and you will see the shadow is kinda messing things up on the qhite background.

Image


RE: [RELEASE] trakt.tv tv/movie scrobbler - Win a 2 - 2015-02-21

(2015-02-20, 23:44)Razze Wrote: [...]

Thats not going to be in the initial version. To my knowlegde it wasn't working before I took it over. Anyway there is already a ticket.
https://github.com/Razzeee/script.trakt/issues/80

Sorry for not searching issues on github Undecided and thanks for answer Angel


RE: [RELEASE] trakt.tv tv/movie scrobbler - smakovits - 2015-02-21

So some decent news in that despite the above error, it seems like things are updating. Marked a show watched and it appeared watched now on trakt which it wasn't doing before. This also translated properly to my plex server, so that's a plus too.


RE: [RELEASE] trakt.tv tv/movie scrobbler - oWarchild - 2015-02-21

(2015-02-21, 02:38)Razze Wrote: really loved this talk, but it's probably a bit more advanced (give it a try)
https://www.youtube.com/watch?v=OSGv2VnC0go

Nice, that's really helpful for people like me who "gravitate towards the mother-ship" (less pythonic languages). Thanks


RE: [RELEASE] trakt.tv tv/movie scrobbler - mason - 2015-02-21

So far it's working very well on my productive infrastructure. The only tiny bit I'm missing, the script tries over and over to sync 8 movies to trakt, I had the same with tv shows, where nfos and stuff wheren't proper I could sort that out easy. The debug log for the tvshow part is much more detailed. The debug log for movies show me only this two lines, is this correct and not implemented?

Code:
22:14:45 T:8396   DEBUG: [script.trakt] sync: [Movies Sync] Compared movies, found 8 to add.
22:14:45 T:8396   DEBUG: [script.trakt] sync: [Movies Sync] 8 movie(s) will be added to trakt.tv collection.



RE: [RELEASE] trakt.tv tv/movie scrobbler - DonLK - 2015-02-22

Thanks for the awesome work @Razze
one question though: does the v3 handle appropriately double episodes? (meaning: two episodes in one video file) that includes marking both of them as seen and asking to rate them both?

Cheers.