[RELEASE] Trakt Utilities (addon for Trakt.tv usage)

  Thread Rating:
  • 7 Vote(s) - 4.29 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
yonnyz Offline
Junior Member
Posts: 5
Joined: Apr 2012
Reputation: 0
Post: #1201
Can someone help me with this error?
01:40:32 T:7320 NOTICE: Trakt Utilities: [Notification Service] Telnet too soon? (11004) getaddrinfo failed

find quote
kluka Offline
Junior Member
Posts: 15
Joined: Feb 2012
Reputation: 0
Post: #1202
(2012-04-23 13:49)othrayte Wrote:  
(2012-04-22 13:51)kluka Wrote:  
(2012-04-01 13:08)othrayte Wrote:  That could pose an issue, currently TU doesn't handle scrobbles differently from seen when it comes to watched statuses, nor does TU take note of multiple watches. This will be reviewed when we implement these things.

Then let me ask:
When does the TU plugin remove Scrobbles or "Seen-marked" from the trakt.tv profile?
This can only happen as a direct result of an instant-sync, ie it can't happen as an automated sync but will automatically happen if you mark an item unwatched in XBMC, as xbmc will send a notification that TU reads then instantly synchronises the change.


Disable this.

Pretty Please.

(2012-04-23 13:49)othrayte Wrote:  
(2012-04-22 13:51)kluka Wrote:  
(2012-04-01 13:08)othrayte Wrote:  Very odd, try this new custom TU here, also could you please try again buy wait at least 6 seconds into the item before pausing, then post a debug log.

@everyone, P.S. these custom build will only help my in debugging the issue i post them for, when I have solved the issue I will merge the solution into the master branch. Unless I specifically ask you to it is not advised that you run these copies.


sorry for the massive delay

The episode did not scrobble after resuming and then finishing it Sad

>>Scratches head<< That log is not from the version I linked, the log is not correct. Anyway i've have an improved version of the same thing here.

I am pretty sure that I installed the version that you linked with the "install add-on from zip" (while not deleting the previous version)... hmm. How could I check in the XBMC interface which version is used? Now it is shown as 0.6.5 with the Author manromen

new log on Pastebin: http://pastebin.com/C9bmzjzg
(This post was last modified: 2012-04-26 14:51 by kluka.)
find quote
dukko Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #1203
Hi there!
I can't login.
Yesterday I could.
Any idea why?

Here's a log! http://pastebin.com/p7D23Yzq
find quote
schpit Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #1204
i'm getting the same error as dukko.. probably on trakt's end? (using v0.6.5)
(This post was last modified: 2012-04-27 20:16 by schpit.)
find quote
henrikyo Offline
Posts: 376
Joined: Jan 2009
Reputation: 0
Post: #1205
cant login as well

TV: UE55F8005
XBMC: Mac mini 2012 with windows 8.1
SOUND: Sonos playbar + Sonos Sub + 2x Rear Play: 3
find quote
dunpealhunter Offline
Junior Member
Posts: 33
Joined: Dec 2010
Reputation: 0
Post: #1206
Me neither! Until a few hours ago everything was fine, but since 4 hours ago i keep getting errors. I thought it was a problem on my side, but now i see that it must be the server from Trakt that is causing the problems....


As you can see here the Amazon status of the servers is good. The admins must be working on the site.

[Image: widget]
find quote
coendeurloo Offline
Senior Member
Posts: 289
Joined: Jan 2010
Reputation: 0
Post: #1207
I recently reinstalled XBMCBuntu, I also installed Trakt, but it says my login/username is incorrect when I startup, which is certainly not the case...pretty weird. Tried to reinstall, different settings, install an older version first then update, every thing I try just fails. Sometimes it says the script is failed too. How is this possible on a fresh XBMC install?

[Image: widget]
find quote
paavoris Offline
Posts: 101
Joined: Mar 2011
Reputation: 4
Location: Kuopio, Finland
Post: #1208
Information from trakt.tv @ twitter:

Quote:Still issues on our API provider and waiting for them to resolve. We'll ditch them if no resolution soon.
1 hrs ago


Quote:Looks like our API provider is having issues. Trying to get it resolved.
3 hrs ago

Patience is the key here. Big Grin Trakt.tv api is down and they know about it and are fixing it.

Kodi @ Windows Server 2012 R2 | Pulse-Eight USB-CEC Adapter
find quote
dukko Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #1209
(2012-04-28 01:08)paavor Wrote:  Information from trakt.tv @ twitter:

Quote:Still issues on our API provider and waiting for them to resolve. We'll ditch them if no resolution soon.
1 hrs ago


Quote:Looks like our API provider is having issues. Trying to get it resolved.
3 hrs ago

Patience is the key here. Big Grin Trakt.tv api is down and they know about it and are fixing it.

Yeah, I posted only to be sure it wasn't an issue on my end. He'll figure it out soon enough, Justin's just great!
find quote
pulsecode-sgnl Offline
Junior Member
Posts: 4
Joined: Apr 2012
Reputation: 0
Post: #1210
(2012-04-20 15:37)othrayte Wrote:  
(2012-04-19 00:53)pulsecode-sgnl Wrote:  
(2012-04-06 04:00)othrayte Wrote:  Urghh, had another bug, sorry, I've tested it and it seems to be working this time, custom version.

Late response, but here's my updated log with that version.


This log shows the following message
ERROR: JSONRPC Server: Failed to bind serversocket

Could you please recreate the log and check if this message stays, if it does follow this https://github.com/Manromen/script.Trakt...on-refused[/code]

I was unable to replicate the error message in the previous log. I did however get a new log with several of the following errors.
NOTICE: Trakt Utilities: [NotificationService] ERROR: EOFError
Maybe this will be more helpful?

find quote
Ben91 Offline
Posts: 57
Joined: Oct 2011
Reputation: 0
Post: #1211
Thank you very much othrayte !

Your answer is perfect. I continue to wait patiently the next stable releases.

Keep your awesome work !
find quote
JonasL1 Offline
Junior Member
Posts: 3
Joined: May 2012
Reputation: 0
Post: #1212
Sync seen tv shows or srobbling doesn't work on my Apple TV 2. I receive 'script error: servive.py. Here is my log file of the error:

11:39:55 T:103706624 ERROR: Error Type: <type 'exceptions.TypeError'>
11:39:55 T:103706624 ERROR: Error Contents: cannot concatenate 'str' and 'NoneType' objects
11:39:55 T:103706624 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/script.TraktUtilities-0.6.5/service.py", line 67, in <module>
File "/var/mobile/Library/Preferences/XBMC/addons/script.TraktUtilities-0.6.5/service.py", line 44, in autostart
if autosync_cleantvshowcollection: cleanTVShowCollection(True)
File "/var/mobile/Library/Preferences/XBMC/addons/script.TraktUtilities-0.6.5/sync_update.py", line 493, in cleanTVShowCollection
tvshows_string += ", " + to_unlibrary[i]['title']
TypeError: cannot concatenate 'str' and 'NoneType' objects

xbmc.log Here is the full log file.
(This post was last modified: 2012-05-01 15:32 by JonasL1.)
find quote
papampi Offline
Senior Member
Posts: 200
Joined: Feb 2005
Reputation: 0
Post: #1213
and i get this error recently :
19:59:00 T:2789190464    INFO: -->Python script returned the following error<--
19:59:00 T:2789190464   ERROR: Error Type: <class 'mysql.connector.errors.ProgrammingError'>
19:59:00 T:2789190464   ERROR: Error Contents: 1049: Unknown database 'myvideo60'
19:59:00 T:2789190464   ERROR: Traceback (most recent call last):
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 67, in <module>
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/service.py", line 56, in autostart
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/sync_update.py", line 956, in syncSeenTVShows
                                                setXBMCEpisodePlaycount(tvshow['tvdb_id'], episode[0], episode[1], 1)
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/utilities.py", line 437, in setXBMCEpisodePlaycount
                                                " )")
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/raw_xbmc_database.py", line 34, in execute
                                                return RawXbmcDb.query(str)
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/raw_xbmc_database.py", line 15, in query
                                                _RawXbmcDb__conn = _findXbmcDb()
                                              File "/home/payam/.xbmc/addons/script.TraktUtilities-0.6.5/raw_xbmc_database.py", line 92, in _findXbmcDb
                                                return mysql.connector.Connect(host = host, port = int(port), database = database, user = user, password = passwd)
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/__init__.py", line 45, in Connect
                                                return MySQLConnection(*args, **kwargs)
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/connection.py", line 366, in __init__
                                                self.connect(*args, **kwargs)
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/connection.py", line 411, in connect
                                                ssl=(ssl_ca, ssl_cert, ssl_key))
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/connection.py", line 449, in _open_connection
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/protocol.py", line 347, in do_auth
                                                buf = self.conn.recv()
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/connection.py", line 179, in recv_plain
                                              File "/home/payam/.xbmc/addons/script.module.myconnpy/lib/mysql/connector/errors.py", line 82, in raise_error
                                                raise get_mysql_exception(errno,errmsg)
                                            ProgrammingError: 1049: Unknown database 'myvideo60'
19:59:00 T:2789190464    INFO: -->End of Python script error report<--
19:59:00 T:3014940416   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:59:00 T:2789190464    INFO: Scriptresult: Waiting on thread 18446744072228952896
19:59:01 T:2681178944    INFO: JSONRPC Server: Disconnection detected
19:59:04 T:2789190464    INFO: Python script stopped
19:59:04 T:2789190464   DEBUG: Thread XBPyThread 2789190464 terminating
19:59:04 T:3014940416   DEBUG: waiting for python thread 5 to stop
19:59:04 T:3014940416   DEBUG: python thread 5 destructed
19:59:06 T:3014940416   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------

Proud xbmp/xbmc user since early days of 1st gen xbox

XBMC on :
Raspberry Pi2 : Openelec
Tronsmart S89 : Openelec
Atv1 + Crystall HD : Openelec
Raspberry Pi : Openelec
Xios DS - Linux the-hydra
ubuntu , 1st gen xbox, JB Atv2, Ouya, ...
find quote
anzerman Offline
Posts: 51
Joined: Apr 2012
Reputation: 0
Post: #1214
Trying to setup TU(0.6.5) with latest nightly build(30-04-12) of xbmc.
it will scrobble shows. As in when watching something it will show on trakt that I am watching something and if I finish watching the episode it will add it as watched.
The issue is if I try to update the library. I tried manually updating TV shows and it just hangs then crashes. I have attached the log.


Cheers in advance Big Grin
find quote
Martijn Offline
Team Kodi
Posts: 15,291
Joined: Jul 2011
Reputation: 238
Location: Dawn of time
Post: #1215
Problem in XBMC not in script

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
find quote
Post Reply