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)



- Shinu - 2012-01-05

othrayte Wrote:These symptoms would indicate a bug with either the syncing or, currently quite non-existent, time handling systems. This sections are/have been overhauled for the upcoming version as such we currently have no plans to investigate the problem. If this problem persists with the next versions to be released then please report them then.

cool. can't wait for the release.


- othrayte - 2012-01-06

markswift Wrote:Sure do!

If you can reproduce, please provide a copy of XBMCs Debug log (in full), with TUs debugging turned on.


- othrayte - 2012-01-06

schumi2004 Wrote:Seems i was partiality wrong, it only seems to happen with Movies.

No sign (for movies only) of TU in log (with debug enabled)

http://pastebin.com/ZU5DBFkL

Below is a TV episode and a movie on the same day. Movies only get manual marked instead of scrobbled from XBMC. Only way to reproduce is to start a movie and watch it till the end.

TV:
Person of Interest
1x06 The Fix
scrobbled from XBMC

Movie:
0:47
Bridesmaids (2011)
manually marked seen

Um, there are only 18 lines in the log, and none of them are relevant, could you please provide the full log. Also note that you need to copy the log after reproducing the problem but before restarting XBMC, each time XBMC is restarted the log is wiped out.


- tboheeren - 2012-01-06

Heya,

I recently tried the trakt addon for xbmc. Xbmc uploads a tv show that I am watching but my library is not submitted. I click on trakt in the program list, then I see a notification 'Waiting to submit your media' for 2 seconds. But nothing happens.
I use xbmc Dharma on a regular windows 7 machine and library mode is activated. Any ideas?
Code:
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: ----------- trakt by Sean Rudford, version 0.1.5 -----------'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: ::Settings::'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: AutoStart: True'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: RunBackground: False'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: Username: tboheeren'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: Password: xxxxxxxx'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: AutoSubmitVideo:True'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: VideoThreshold: 85'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: Startup: True'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: ::Settings::'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: Entering idle state, waiting for media playing...'
13:14:44 T:1228 M:2429091840  NOTICE: 'TRAKT: Resetting last update timestamp'
13:14:46 T:4504 M:2429206528   ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://DISKSTATION/video/movies/Austin Powers 1 The Spy Who Shagged Me/
13:14:46 T:4504 M:2429542400  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:08
13:14:59 T:1228 M:2435948544  NOTICE: 'TRAKT: Resetting last update timestamp'
13:15:14 T:1228 M:2439725056  NOTICE: 'TRAKT: Resetting last update timestamp'
13:15:29 T:1228 M:2440732672  NOTICE: 'TRAKT: Resetting last update timestamp'
13:15:38 T:2428 M:2444869632  NOTICE: -->Python Interpreter Initialized<--
13:15:39 T:2428 M:2444636160  NOTICE: {'limit': '4'}
13:15:44 T:1228 M:2438201344  NOTICE: 'TRAKT: Resetting last update timestamp'
13:15:59 T:1228 M:2445045760  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:14 T:1228 M:2504572928  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:29 T:1228 M:2487603200  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:44 T:1228 M:2477969408  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:59 T:1228 M:2483007488  NOTICE: 'TRAKT: Resetting last update timestamp'



- othrayte - 2012-01-06

tboheeren Wrote:Heya,

I recently tried the trakt addon for xbmc. Xbmc uploads a tv show that I am watching but my library is not submitted. I click on trakt in the program list, then I see a notification 'Waiting to submit your media' for 2 seconds. But nothing happens.
I use xbmc Dharma on a regular windows 7 machine and library mode is activated. Any ideas?
Code:
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: ----------- trakt by Sean Rudford, version 0.1.5 -----------'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: ::Settings::'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: AutoStart: True'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: RunBackground: False'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: Username: tboheeren'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: Password: xxxxxxxx'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: AutoSubmitVideo:True'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: VideoThreshold: 85'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: Startup: True'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: ::Settings::'
13:14:44 T:1228 M:2429104128  NOTICE: 'TRAKT: Entering idle state, waiting for media playing...'
13:14:44 T:1228 M:2429091840  NOTICE: 'TRAKT: Resetting last update timestamp'
13:14:46 T:4504 M:2429206528   ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://DISKSTATION/video/movies/Austin Powers 1 The Spy Who Shagged Me/
13:14:46 T:4504 M:2429542400  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:08
13:14:59 T:1228 M:2435948544  NOTICE: 'TRAKT: Resetting last update timestamp'
13:15:14 T:1228 M:2439725056  NOTICE: 'TRAKT: Resetting last update timestamp'
13:15:29 T:1228 M:2440732672  NOTICE: 'TRAKT: Resetting last update timestamp'
13:15:38 T:2428 M:2444869632  NOTICE: -->Python Interpreter Initialized<--
13:15:39 T:2428 M:2444636160  NOTICE: {'limit': '4'}
13:15:44 T:1228 M:2438201344  NOTICE: 'TRAKT: Resetting last update timestamp'
13:15:59 T:1228 M:2445045760  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:14 T:1228 M:2504572928  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:29 T:1228 M:2487603200  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:44 T:1228 M:2477969408  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:59 T:1228 M:2483007488  NOTICE: 'TRAKT: Resetting last update timestamp'

That is the official trakt addon, this thread is for Trakt Utilities. The official addon doesn't sync your library only TU does that.


- Martijn - 2012-01-06

@othrayte

Got some issues with the pre-0.7 branch from git.
Create issue there including debugs?
There are some deprecated libraries used and some other database error


- othrayte - 2012-01-06

Martijn Wrote:@othrayte

Got some issues with the pre-0.7 branch from git.
Create issue there including debugs?
There are some deprecated libraries used and some other database error

Yes please.


- Martijn - 2012-01-06

othrayte Wrote:Yes please.
Done
https://github.com/Manromen/script.TraktUtilities/issues/118


- Lucleonhart - 2012-01-06

Hm, i just read i do not need the official one anymore?
Why do i get the following error than:

Code:
16:11:32 T:5168   ERROR: C:\Users\Player\AppData\Roaming\XBMC\addons\script.TraktUtilities\nbhttpconnection.py:22: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
                                              import sha
16:11:36 T:2984  NOTICE: -->Python Interpreter Initialized<--
16:11:37 T:5892   ERROR: Python script "C:\Users\Player\AppData\Roaming\XBMC\addons\script.trakt\default.py" does not exist



- FluffMe - 2012-01-07

Hi.

Today I've noticed that TU ain't scrobbling anything. So I've done some digging.
There was an error in logs:
Code:
Trakt Utilities: [Notification Service] Telnet too soon? (111) Connection refused
And I see that it's a recurring problem for bunch of people. So I've changed my network settings a lot of times and teleneted to localhost on 9090 to check if anything's changed.

I discovered that I was able to telenet (and TU scrobbled again) only if "Allow programs on this system to control XBMC" was on in Settings -> Network
I hope that this is usefull.

Cheers.
PS I run XBMC Eden beta on Ubuntu 11.10.


- othrayte - 2012-01-07

Lucleonhart Wrote:Hm, i just read i do not need the official one anymore?
Why do i get the following error than:

Code:
16:11:32 T:5168   ERROR: C:\Users\Player\AppData\Roaming\XBMC\addons\script.TraktUtilities\nbhttpconnection.py:22: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
                                              import sha
16:11:36 T:2984  NOTICE: -->Python Interpreter Initialized<--
16:11:37 T:5892   ERROR: Python script "C:\Users\Player\AppData\Roaming\XBMC\addons\script.trakt\default.py" does not exist

I believe that the official trakt add-on doesn't uninstall properly, if you find the solution, please share.


- othrayte - 2012-01-07

FluffMe Wrote:Hi.

Today I've noticed that TU ain't scrobbling anything. So I've done some digging.
There was an error in logs:
Code:
Trakt Utilities: [Notification Service] Telnet too soon? (111) Connection refused
And I see that it's a recurring problem for bunch of people. So I've changed my network settings a lot of times and teleneted to localhost on 9090 to check if anything's changed.

I discovered that I was able to telenet (and TU scrobbled again) only if "Allow programs on this system to control XBMC" was on in Settings -> Network
I hope that this is usefull.

Cheers.
PS I run XBMC Eden beta on Ubuntu 11.10.
Thanks, I had suspected that might help but you have now confirmed it. For those interested this became such an issue that is has its own page here.


- lowfi - 2012-01-07

I solved this by changing the default http port on al my xbmc installs. I now have 1111 1212 1313


- othrayte - 2012-01-07

lowfi Wrote:I solved this by changing the default http port on al my xbmc installs. I now have 1111 1212 1313

Are you taking about the same issue that FluffMe fixed, because of didn't think the http port had anything to do with the json system.


XBMC Remote for android - karirafn - 2012-01-08

Does the addon not work if you start playing something though the XBMC web server?

I just started watching a movie and checked trakt.tv and there was nothing there saying what movie I was watching.

I started playing the movie using the XBMC remote app for android.

I stopped the movie and resumed it by selecting it with my mouse in XBMC, then trakt.tv showed me watching that movie.

I also seem to recall something not scrobbling if I select it in the "Latest movies" and "Latest episodes" banner in XBMC (Eden).