Kodi Community Forum

Full Version: [RELEASE] Trakt Utilities (addon for Trakt.tv usage)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Rumik Wrote:Just thought I'd try the test version to see if it made any difference to the freezing issue, and it doesn't Sad

I don't suppose the original trakt addon will work for Eden?

Strange...i still have had no freezes since rc1 With sixty plus plays now on two different systems..
othrayte Wrote:Just done, will be in 0.6.5.

Sweet! Thanks for getting this behavior changed. I look forward to turning Facebook integration back on!

-hogfan
I have an error with trakt utilities, sometimes when I wake my HTPC from sleep and log on with my user, it says "unable to connect to remote communication server", then nothing seems to get scrobbled. I read an earlier comment saying you have to restart XBMC in order for it to work again.

Any updates about getting this fixed? I can't be the only one this is happening to.

Thanks!
lrusak Wrote:I have an error with trakt utilities, sometimes when I wake my HTPC from sleep and log on with my user, it says "unable to connect to remote communication server", then nothing seems to get scrobbled. I read an earlier comment saying you have to restart XBMC in order for it to work again.

Any updates about getting this fixed? I can't be the only one this is happening to.

Thanks!


This exact problem is what made me switch to Mediaportal after years and years of using XBMC (since the old alpha builds on the orig xbox). I love Trakt, so it's important that the plugin actually scrobble what I watch.

I have to restart my entire pc to get Trakt Utilities to scrobble again after an error has happened. Most of the time you don't even get a notification there is an issue, it simply stops all scrobbling. XBMC also hangs on exit I'd say 80% of the time with TU installed and it needs a ctrl/alt/del. I haven't posted about the problem as I'm too busy to mess with the logs and whatnot to try and track down the problem. I was shocked to see nobody else reporting this problem, nice to see someone finally did speak up.

The original Trakt plugin was working fine with Eden for awhile and then all of a sudden it would just give me login errors. I then found TU so gave it a shot and have had nothing but hell ever since.

The fact that it doesn't like to scrobble things and it doesn't alert you if it's not scrobbling is a huge problem for me so I went to all the trouble of learning to use Mediaportal and going through all the steps to get everything set up right. I miss XBMC so much, seriously, I just want to go back to XBMC and have the Trakt plugin for xbmc work as well as Mediaportals trakt plugin. I even tried going back to Dharma and installing the original official Trakt plugin and it doesn't even work at all anymore. Just constant login errors.

Is this going to be the norm from now on with Trakt for xbmc or will Trakt release an official plugin that scrobbles every time once the final Eden is released? I want to use XBMC again. I'm surprised there arent ton's and ton's of posts about TU not scrobbling. Sometimes it wont even start scrobbling again even after a PC restart, simply restarting xbmc doesn't fix the scrobble problem. I've totally given up and uninstalled xbmc until this mess is worked out.

I've been using Trakt since it was featured on lifehacker ages ago without a single issue, I've reinstalled XBMC thinking that could be the problem, I've tried a whole lot of things. I just want to watch my shows and have them scrobble like they used to without having to worry if it's actually scrobbling and having to restart my pc all the time. Tired of using Mediaportal just so I can scrobble my stuff.

Seriously hope a fix or something is coming soon for TU so I can start using XBMC again.
Drizz Wrote:........l. I haven't posted about the problem as I'm too busy to mess with the logs and whatnot to try and track down the problem. ...

Seriously? In the time it took you to write that pretty unhelpful rant you could easily have posted a debug log.

Also, too busy to post a debug log and "whatnot" but not too busy to "[go] to all the trouble of learning to use Mediaportal".

Eden is still in development, has been for a long time. If Dharma and the original trakt plugin were working for you and it is so imperative that they continued to do so, you should never have changed your system.

Software in development breaks, that's all part of the nightlies/beta/RC process. Only very recently have internal XBMC systems (the sort of systems that Trakt Utilities relies upon to pass on your watching data) stopped changing. All developers ask for is patience and a helping hand by sharing your debug log to pinpoint problems. How in any way has your post helped this situation?
lrusak Wrote:I have an error with trakt utilities, sometimes when I wake my HTPC from sleep and log on with my user, it says "unable to connect to remote communication server", then nothing seems to get scrobbled. I read an earlier comment saying you have to restart XBMC in order for it to work again.

Any updates about getting this fixed? I can't be the only one this is happening to.

Thanks!

This doesn't seem to be happening now that I have upgraded to an SSD.

Trakt utilities is freezing XBMC when view watchlist or trending lists. It also seems to make the system slower in general when starting up and shutting down.
It also freezes XBMC for me too but when syncing shows. Here is a log http://pastebin.com/SP1bUQTE
It also freezes XBMC for me. I have had to disable it. Running Eden RC2 with Windows 7 64bit
Seems like this addon is dead in the water? No updates for months....
lowfi Wrote:Seems like this addon is dead in the water? No updates for months....

It's far from dead. Othrayte is testing v.0.6.5 and 0.7
lowfi Wrote:Seems like this addon is dead in the water? No updates for months....

Also the developer is doing an iPhone trakt.tv app, let him live!
New installation of xbmc eden rc2 and latest trakt utilities.
win7 x64, mysql and using profiles.

I've checked the debug log and it seems it has a problem with the swedish character "å".

Code:
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=14) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 1 items query: select * from episodeview where idShow = 14 and (c12=2 or (c12=0 and (c15=0 or c15=2)))
22:03:03 T:6724  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 13, u'title': u'Landet Bruns\xe5s', u'label': u'Landet Bruns\xe5s', u'imdbnumber': u'136671', u'year': 2010, u'playcount': 1}
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"tvshowid": 13}, "jsonrpc": "2.0", "method": "VideoLibrary.GetSeasons", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getseasons
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 5 ms for 1 items query: select episode.c12,path.strPath,tvshow.c00,tvshow.c08,tvshow.c14,tvshow.c13,count(1),count(files.playCount) from episode join tvshowlinkepisode on tvshowlinkepisode.idEpisode=episode.idEpisode join tvshow on tvshow.idShow=tvshowlinkepisode.idShow join files on files.idFile=episode.idFile  join tvshowlinkpath on tvshowlinkpath.idShow = tvshow.idShow join path on path.idPath = tvshowlinkpath.idPath where tvshow.idShow = 13  group by episode.c12
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: select * from movieview join movielinktvshow on movielinktvshow.idMovie=movieview.idMovie where movielinktvshow.idShow = 13
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 0, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 0 ms for 0 items query: select * from episodeview where idShow = 13 and c12=0
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 1, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: select * from episodeview where idShow = 13 and (c12=1 or (c12=0 and (c15=0 or c15=1)))
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 2, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 1 items query: select * from episodeview where idShow = 13 and (c12=2 or (c12=0 and (c15=0 or c15=2)))
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 0, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 0 ms for 0 items query: select * from episodeview where idShow = 13 and c12=0
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 1, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: select * from episodeview where idShow = 13 and (c12=1 or (c12=0 and (c15=0 or c15=1)))
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 2, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 0 ms for 1 items query: select * from episodeview where idShow = 13 and (c12=2 or (c12=0 and (c15=0 or c15=2)))
22:03:03 T:6724    INFO: -->Python script returned the following error<--
22:03:03 T:6724   ERROR: Error Type: <type 'exceptions.UnicodeEncodeError'>
22:03:03 T:6724   ERROR: Error Contents: 'ascii' codec can't encode character u'\xe5' in position 12: ordinal not in range(128)
22:03:04 T:6724   ERROR: Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\script.TraktUtilities\service.py", line 67, in <module>
                                                autostart()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\script.TraktUtilities\service.py", line 44, in autostart
                                                if autosync_cleantvshowcollection: cleanTVShowCollection(True)
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\script.TraktUtilities\sync_update.py", line 461, in cleanTVShowCollection
                                                Debug("Season not found: " + str(trakt_tvshow[1]['title']) + ": " + str(trakt_tvshow[1]['seasons'][i]['season']))
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 12: ordinal not in range(128)
22:03:04 T:6724    INFO: -->End of Python script error report<--
kjuu Wrote:New installation of xbmc eden rc2 and latest trakt utilities.
win7 x64, mysql and using profiles.

I've checked the debug log and it seems it has a problem with the swedish character "å".

Code:
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=14) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 1 items query: select * from episodeview where idShow = 14 and (c12=2 or (c12=0 and (c15=0 or c15=2)))
22:03:03 T:6724  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 13, u'title': u'Landet Bruns\xe5s', u'label': u'Landet Bruns\xe5s', u'imdbnumber': u'136671', u'year': 2010, u'playcount': 1}
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"tvshowid": 13}, "jsonrpc": "2.0", "method": "VideoLibrary.GetSeasons", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getseasons
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 5 ms for 1 items query: select episode.c12,path.strPath,tvshow.c00,tvshow.c08,tvshow.c14,tvshow.c13,count(1),count(files.playCount) from episode join tvshowlinkepisode on tvshowlinkepisode.idEpisode=episode.idEpisode join tvshow on tvshow.idShow=tvshowlinkepisode.idShow join files on files.idFile=episode.idFile  join tvshowlinkpath on tvshowlinkpath.idShow = tvshow.idShow join path on path.idPath = tvshowlinkpath.idPath where tvshow.idShow = 13  group by episode.c12
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: select * from movieview join movielinktvshow on movielinktvshow.idMovie=movieview.idMovie where movielinktvshow.idShow = 13
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 0, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 0 ms for 0 items query: select * from episodeview where idShow = 13 and c12=0
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 1, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: select * from episodeview where idShow = 13 and (c12=1 or (c12=0 and (c15=0 or c15=1)))
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 2, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 1 items query: select * from episodeview where idShow = 13 and (c12=2 or (c12=0 and (c15=0 or c15=2)))
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 0, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 0 ms for 0 items query: select * from episodeview where idShow = 13 and c12=0
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 1, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: select * from episodeview where idShow = 13 and (c12=1 or (c12=0 and (c15=0 or c15=1)))
22:03:03 T:6724   DEBUG: JSONRPC: Incoming request: {"params": {"season": 2, "tvshowid": 13, "properties": ["playcount", "episode"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetEpisodes", "id": 1}
22:03:03 T:6724   DEBUG: JSONRPC: Calling videolibrary.getepisodes
22:03:03 T:6724   DEBUG: CVideoDatabase::GetStackedTvShowList query: select idShow from tvshow where c00 like (select c00 from tvshow where idShow=13) order by idShow
22:03:03 T:6724   DEBUG: CVideoDatabase::RunQuery took 0 ms for 1 items query: select * from episodeview where idShow = 13 and (c12=2 or (c12=0 and (c15=0 or c15=2)))
22:03:03 T:6724    INFO: -->Python script returned the following error<--
22:03:03 T:6724   ERROR: Error Type: <type 'exceptions.UnicodeEncodeError'>
22:03:03 T:6724   ERROR: Error Contents: 'ascii' codec can't encode character u'\xe5' in position 12: ordinal not in range(128)
22:03:04 T:6724   ERROR: Traceback (most recent call last):
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\script.TraktUtilities\service.py", line 67, in <module>
                                                autostart()
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\script.TraktUtilities\service.py", line 44, in autostart
                                                if autosync_cleantvshowcollection: cleanTVShowCollection(True)
                                              File "C:\Program Files (x86)\XBMC\portable_data\addons\script.TraktUtilities\sync_update.py", line 461, in cleanTVShowCollection
                                                Debug("Season not found: " + str(trakt_tvshow[1]['title']) + ": " + str(trakt_tvshow[1]['seasons'][i]['season']))
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 12: ordinal not in range(128)
22:03:04 T:6724    INFO: -->End of Python script error report<--

Think I've fixed it.
lowfi Wrote:Seems like this addon is dead in the water? No updates for months....

minimoe Wrote:It's far from dead. Othrayte is testing v.0.6.5 and 0.7

v0.6.5 has arisen out of a need to fix bugs, I was hoping to have 0.7 done months ago but it is taking longer than expected, and maybe there is some feature creep. I made the decision late last year to push to make 0.7 a rewrite of some of the base systems rather than a feature increment of 0.6 as we were hitting problems with implementing new features. 0.7 has been very close to usable for a while and I just need to get it over that last hill.

If your curious why I haven't released 0.6.5 yet it is because I'm going to put it on the official XBMC repo, which is something Manromen and I have wanted to get done before Eden ships. So your next installment of TU should (fingers crossed) come from the official repo.

I have had to push TU myself for a while now as Manromen has been unable to develop on his current equipment. So please stay with us, the changes going into 0.7 will make 0.8 a much better system, and I promise to speed up the release cycle after 0.7.
LupinSansei Wrote:It also freezes XBMC for me too but when syncing shows. Here is a log http://pastebin.com/SP1bUQTE

Please enable TU debugging and post a new log of the error.