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)



Releasing v0.6.1 - othrayte - 2011-09-08

It is finally time Big Grin, v0.6.1 is complete and is now avaliable. Anyone who has already got TU installed in XBMC should see an option to upgrade. For anyone else the downloads page has been updated.

Given the stability of v0.6.0 and the fact that we don't anticipate a v0.6.2 we have decided that v0.6.1 will be released as both the current testing and current stable release. This way those of you who are on the testing releases will continue to get those ones as opposed to the stable ones.

This release fixes many minor and not so minor bugs in v0.6.0, if any bug you have previously found reoccurs or you just find a new bug post it here on the forum or add an issue on github. If you have any suggests and/or features please continue to tell us (via a the same methods), we are always interested in what we can add to the add-on.

Work now begins on all of the new features that we have lined up for v0.7.0, just like v0.6.0 brought you scrobbling support I expect we will have one or two major features in v0.7.0. To wet you appetite things I'm considering and or investigating include, cached data for significant speed improvements, better integration with xbmc's library views and features surrounding the tv show watch-list. On that last note if people have ideas about what they want TU to do when you select an item in the show watch-list please tell. My current idea is to have it determine the next episode of that show that you are up to, and play it.

Anyway enjoy all of the bugfixes and the stability of v0.6.1 Cool


- MaxCore - 2011-09-08

othrayte Wrote:It is finally time Big Grin, v0.6.1 is complete and is now avaliable. Anyone who has already got TU installed in XBMC should see an option to upgrade. For anyone else the downloads page has been updated.

Given the stability of v0.6.0 and the fact that we don't anticipate a v0.6.2 we have decided that v0.6.1 will be released as both the current testing and current stable release. This way those of you who are on the testing releases will continue to get those ones as opposed to the stable ones.

This release fixes many minor and not so minor bugs in v0.6.0, if any bug you have previously found reoccurs or you just find a new bug post it here on the forum or add an issue on github. If you have any suggests and/or features please continue to tell us (via a the same methods), we are always interested in what we can add to the add-on.

Work now begins on all of the new features that we have lined up for v0.7.0, just like v0.6.0 brought you scrobbling support I expect we will have one or two major features in v0.7.0. To wet you appetite things I'm considering and or investigating include, cached data for significant speed improvements, better integration with xbmc's library views and features surrounding the tv show watch-list. On that last note if people have ideas about what they want TU to do when you select an item in the show watch-list please tell. My current idea is to have it determine the next episode of that show that you are up to, and play it.

Anyway enjoy all of the bugfixes and the stability of v0.6.1 Cool

great job!


- jacaru - 2011-09-09

There seems to be a problem with the download link (server is not responding)

BR


- othrayte - 2011-09-09

jacaru Wrote:There seems to be a problem with the download link (server is not responding)

BR

Hmm, ok, I'm looking into it. In the mean time you can try these urls, but they aren't repo urls so the updating will only happen when the repo comes back online.

Stable Stream - https://github.com/Manromen/script.TraktUtilities/zipball/v0.6.1
Testing Stream - https://github.com/Manromen/script.TraktUtilities/zipball/devel

The main downloads should be back up, I always advise that you use the links on the downloads page instead of these ones.


- tredman - 2011-09-09

TraktUtilites won't run at all on my system (atv 1 w/crystalbuntu).

log is here: http://pastebin.com/iYsCBcgY

any ideas why?


- othrayte - 2011-09-09

tdw197 Wrote:TraktUtilites won't run at all on my system (atv 1 w/crystalbuntu).

log is here: http://pastebin.com/iYsCBcgY

any ideas why?

Yeah that error means you need a newer nightly of xbmc, what version are you using so I can add it to the minimum specs for v0.6.1?


- tredman - 2011-09-09

othrayte Wrote:Yeah that error means you need a newer nightly of xbmc, what version are you using so I can add it to the minimum specs for v0.6.1?

Knackers - if I use the newer version pushed out via cystalbuntu it breaks installation of addons - I suppose I could install then go up a build.

Anyway the current version was compiled 19 july.


- Martijn - 2011-09-10

Got some errors with latest git and latest nightly.

One problem was already there that it skip 2 movies.
The other is that is got some error while updating sync seen tv show.
Tried it second time and no error report.
Here's the regular debug log. Hadn't turned on the extensive of xbmc. Do have debug mode of TU enabled.
http://pastebin.com/WF9mEKQV


- othrayte - 2011-09-10

Machine-Sanctum Wrote:Got some errors with latest git and latest nightly.

One problem was already there that it skip 2 movies.
The other is that is got some error while updating sync seen tv show.
Tried it second time and no error report.
Here's the regular debug log. Hadn't turned on the extensive of xbmc. Do have debug mode of TU enabled.
http://pastebin.com/WF9mEKQV

Thanks for reporting, I've found and fixed that sync error, it was related to reusing connections (which is how we try to optimise talking to trakt). This should end up in a v0.6.2 very soon.

Of the two skipped items, the first one has the wrong imdb id on trakt, so that needs to be fixed where-ever they get their data from; and I can't find the second one on trakt myself, it might be missing from the aforementioned database.


- Martijn - 2011-09-10

othrayte Wrote:Thanks for reporting, I've found and fixed that sync error, it was related to reusing connections (which is how we try to optimise talking to trakt). This should end up in a v0.6.2 very soon.

Of the two skipped items, the first one has the wrong imdb id on trakt, so that needs to be fixed where-ever they get their data from; and I can't find the second one on trakt myself, it might be missing from the aforementioned database.

Will update my version with the fix.

Will check the two skip errors with trakt.


- jacaru - 2011-09-11

Hello

I am still suffering occasionally the "quit hang" problem running TU 0.6.1 on Sept 10th build.

Last lines of log (TU debug log on, XBMC debug log off):

Code:
02:40:16 T:110276608   DEBUG: CAnnouncementManager - Announcement: OnQuit from xbmc
02:40:16 T:110276608   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnQuit
02:40:16 T:119820288  NOTICE: Trakt Utilities: [Notification Service] message: {"jsonrpc":"2.0","method":"System.OnQuit","params":{"data":null,"sender":"xbmc"}}
02:40:16 T:85651456   DEBUG: Thread CAlarmClock 85651456 terminating
02:40:16 T:110276608  NOTICE: Storing total System Uptime
02:40:16 T:110276608  NOTICE: Saving settings
02:40:16 T:110276608  NOTICE: stop all
02:40:16 T:110276608   DEBUG: NetworkMessage - Signaling network services to stop
02:40:16 T:110276608  NOTICE: ES: Stopping event server
02:40:16 T:110276608   DEBUG: NetworkMessage - Waiting for network services to stop
02:40:16 T:110276608  NOTICE: stopping zeroconf publishing
02:40:16 T:101023744  NOTICE: ES: UDP Event server stopped
02:40:16 T:101023744   DEBUG: Thread CEventServer 101023744 terminating
02:40:16 T:72302592   DEBUG: Thread JSONRPC::CTCPServer 72302592 terminating
02:40:16 T:110276608  NOTICE: stop sap announcement listener
02:40:16 T:110276608  NOTICE: clean cached files!
02:40:16 T:110276608  NOTICE: unload skin
02:40:16 T:110276608    INFO: Unloading old skin ...
02:40:16 T:110276608   DEBUG: ------ Window Deinit (Home.xml) ------
02:40:16 T:110276608   DEBUG: ------ Window Deinit (DialogButtonMenu.xml) ------
02:40:16 T:110276608   DEBUG: Cleanup - Closed bundle
02:40:16 T:110276608   DEBUG: ADDON: Stopping service addons.
02:40:16 T:110276608    INFO: Stopping script with id: 1
02:40:16 T:110276608  NOTICE: stop python
02:40:16 T:110276608   DEBUG: waiting for python thread 1 to stop

Regards.


- othrayte - 2011-09-11

jacaru Wrote:Hello

I am still suffering occasionally the "quit hang" problem running TU 0.6.1 on Sept 10th build.

Regards.

Can you confirm that this is definitely related to TU, does disabling TU solve the problem?


- pyrodex - 2011-09-11

Running nightlies from Sept 9th and TU 0.6.1 I am unable to sync TV seen, getting the following errors:

Code:
11:24:04 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 366, u'title': u'Warehouse 13', u'label': u'Warehouse 13', u'imdbnumber': u'', u'year': 2009, u'playcount': 1}
11:24:04 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 375, u'title': u'Warren the Ape', u'label': u'Warren the Ape', u'imdbnumber': u'168601', u'year': 2010, u'playcount': 0}
11:24:04 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 437, u'title': u'Weeds', u'label': u'Weeds', u'imdbnumber': u'74845', u'year': 2005, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 362, u'title': u'Whitney', u'label': u'Whitney', u'imdbnumber': u'248951', u'year': 2011, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 466, u'title': u'Wilfred (US)', u'label': u'Wilfred (US)', u'imdbnumber': u'239761', u'year': 2011, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 478, u'title': u'Wolverine', u'label': u'Wolverine', u'imdbnumber': u'220141', u'year': 2011, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 488, u'title': u'Wolverine and the X-Men', u'label': u'Wolverine and the X-Men', u'imdbnumber': u'82870', u'year': 2008, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 411, u'title': u'Workaholics', u'label': u'Workaholics', u'imdbnumber': u'211751', u'year': 2011, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: trakt json url: /show/episode/library/48dfcb4813134da82152984e8c4f329bc8b8b46a
11:24:06 T:4568  NOTICE: Trakt Utilities: successfully uploaded collection: 0 episodes added to your library
11:24:06 T:4568  NOTICE: Trakt Utilities: trakt json url: /show/episode/library/48dfcb4813134da82152984e8c4f329bc8b8b46a
11:24:06 T:4568   ERROR: Error Type: <type 'exceptions.RuntimeError'>
11:24:06 T:4568   ERROR: Error Contents: thread already started
11:24:06 T:4568   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\service.py", line 67, in <module>
                                                autostart()
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\service.py", line 43, in autostart
                                                updateTVShowCollection(True)
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\sync_update.py", line 278, in updateTVShowCollection
                                                data = traktJsonRequest('POST', '/show/episode/library/%%API_KEY%%', {'tvdb_id': tvshows_toadd[i]['tvdb_id'], 'title': tvshows_toadd[i]['title'], 'year': tvshows_toadd[i]['year'], 'episodes': tvshows_toadd[i]['episodes']}, returnStatus=True, conn = conn)
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\utilities.py", line 163, in traktJsonRequest
                                                conn.go()
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\nbhttpconnection.py", line 57, in go
                                                self.start()
                                              File "C:\Program Files\XBMC\system\python\Lib\threading.py", line 467, in start
                                                raise RuntimeError("thread already started")
                                            RuntimeError: thread already started



- othrayte - 2011-09-11

pyrodex Wrote:Running nightlies from Sept 9th and TU 0.6.1 I am unable to sync TV seen, getting the following errors:

Code:
11:24:04 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 366, u'title': u'Warehouse 13', u'label': u'Warehouse 13', u'imdbnumber': u'', u'year': 2009, u'playcount': 1}
11:24:04 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 375, u'title': u'Warren the Ape', u'label': u'Warren the Ape', u'imdbnumber': u'168601', u'year': 2010, u'playcount': 0}
11:24:04 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 437, u'title': u'Weeds', u'label': u'Weeds', u'imdbnumber': u'74845', u'year': 2005, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 362, u'title': u'Whitney', u'label': u'Whitney', u'imdbnumber': u'248951', u'year': 2011, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 466, u'title': u'Wilfred (US)', u'label': u'Wilfred (US)', u'imdbnumber': u'239761', u'year': 2011, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 478, u'title': u'Wolverine', u'label': u'Wolverine', u'imdbnumber': u'220141', u'year': 2011, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 488, u'title': u'Wolverine and the X-Men', u'label': u'Wolverine and the X-Men', u'imdbnumber': u'82870', u'year': 2008, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 411, u'title': u'Workaholics', u'label': u'Workaholics', u'imdbnumber': u'211751', u'year': 2011, u'playcount': 1}
11:24:05 T:4568  NOTICE: Trakt Utilities: trakt json url: /show/episode/library/48dfcb4813134da82152984e8c4f329bc8b8b46a
11:24:06 T:4568  NOTICE: Trakt Utilities: successfully uploaded collection: 0 episodes added to your library
11:24:06 T:4568  NOTICE: Trakt Utilities: trakt json url: /show/episode/library/48dfcb4813134da82152984e8c4f329bc8b8b46a
11:24:06 T:4568   ERROR: Error Type: <type 'exceptions.RuntimeError'>
11:24:06 T:4568   ERROR: Error Contents: thread already started
11:24:06 T:4568   ERROR: Traceback (most recent call last):
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\service.py", line 67, in <module>
                                                autostart()
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\service.py", line 43, in autostart
                                                updateTVShowCollection(True)
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\sync_update.py", line 278, in updateTVShowCollection
                                                data = traktJsonRequest('POST', '/show/episode/library/%%API_KEY%%', {'tvdb_id': tvshows_toadd[i]['tvdb_id'], 'title': tvshows_toadd[i]['title'], 'year': tvshows_toadd[i]['year'], 'episodes': tvshows_toadd[i]['episodes']}, returnStatus=True, conn = conn)
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\utilities.py", line 163, in traktJsonRequest
                                                conn.go()
                                              File "C:\Users\Richie Crews\AppData\Roaming\XBMC\addons\script.TraktUtilities\nbhttpconnection.py", line 57, in go
                                                self.start()
                                              File "C:\Program Files\XBMC\system\python\Lib\threading.py", line 467, in start
                                                raise RuntimeError("thread already started")
                                            RuntimeError: thread already started

Thanks for reporting, I have already fixed it and v0.6.2 will be out shortly to patch this up.


- boognish43 - 2011-09-11

How do i delete this from my system? I deleted the addon but everytime xbmc starts I get an error that the plugin failed
thanks