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)



- BoDoP - 2012-02-29

Installed latest version and when XBMC on Windows starts XBMC just hangs when the trakt utilities start movie collection update runs.

Is there a way to:
Remove trakt utilities plugin without having to launch XBMC? or
Launch XBMC in Windows without plkugins? or
Stop Trak Utilities from running on XBMC launch?


- zebulon35 - 2012-02-29

BoDoP Wrote:Installed latest version and when XBMC on Windows starts XBMC just hangs when the trakt utilities start movie collection update runs.

Is there a way to:
Remove trakt utilities plugin without having to launch XBMC? or
Launch XBMC in Windows without plkugins? or
Stop Trak Utilities from running on XBMC launch?

I would try reinstalling xbmc as a first step to see if it changes anything.


- BoDoP - 2012-02-29

zebulon35 Wrote:I would try reinstalling xbmc as a first step to see if it changes anything.

Nope Same issue - Hangs at Start Movie Collection Update.

There must be a way to Stop Trak Utilities from running even without access to the XBMC Menu?


- tonyp - 2012-03-01

BoDoP Wrote:Installed latest version and when XBMC on Windows starts XBMC just hangs when the trakt utilities start movie collection update runs.

Is there a way to:
Remove trakt utilities plugin without having to launch XBMC? or
Launch XBMC in Windows without plkugins? or
Stop Trak Utilities from running on XBMC launch?

I think this issue has already been fixed in the latest test version.


- tonyp - 2012-03-01

othrayte Wrote:To those asking about the freezing that occurs when TU is running and an item starts and in which the video freezes but the audio continues. I simply don't know, I haven't found anything in the logs or in my own testing to explain it and I haven't been able to reproduce it. At this stage it will not be part of 0.6.5 but I might ask some XBMC devs and python gurus for advice if I don't get any further.

After someone here told that this problem went away with Eden RC1 I updated and can confirm that it won't freeze anymore.
It seems that it got fixed somehow Smile



Edit: Of course - right after posting that it happened again Sad


-


- Adeiko - 2012-03-02

tonyp Wrote:After someone here told that this problem went away with Eden RC1 I updated and can confirm that it won't freeze anymore.
It seems that it got fixed somehow Smile



Edit: Of course - right after posting that it happened again Sad


-

Still happens with RC2 Sad But it's interesting because it also happens to me with youtube addon videos, and i do not think TU interferes in that.


- typhoe - 2012-03-02

Hi,

I encounter a problem with Trakt.tv utilities on XBMC (11.0-RC2 Git:Unknown), Platform: Linux (Ubuntu 11.10, 3.0.0-16-generic x86_64).

I tried the dev version (29f05a8), but I still get the same error:

Code:
...
13:15:48 T:139774792148864  NOTICE: Starting XBMC (11.0-RC2 Git:Unknown), Platform: Linux (Ubuntu 11.10, 3.0.0-16-generic x86_64). Built on Mar  1 2012
...
13:16:00 T:139774353262336  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 48, u'title': u'The River (2011)', u'label': u'The River (2011)', u'imdbnumber': u'248836', u'year': 1601, u'playcount': 0}
13:16:00 T:139774353262336   ERROR: Error Type: <type 'exceptions.TypeError'>
13:16:00 T:139774353262336   ERROR: Error Contents: cannot concatenate 'str' and 'NoneType' objects
13:16:00 T:139774353262336   ERROR: Traceback (most recent call last):
                                              File "/home/typhoe/.xbmc/addons/othrayte-script.TraktUtilities-29f05a8/service.py", line 67, in <module>
                                                autostart()
                                              File "/home/typhoe/.xbmc/addons/othrayte-script.TraktUtilities-29f05a8/service.py", line 44, in autostart
                                                if autosync_cleantvshowcollection: cleanTVShowCollection(True)
                                              File "/home/typhoe/.xbmc/addons/othrayte-script.TraktUtilities-29f05a8/sync_update.py", line 469, in cleanTVShowCollection
                                                Debug ("TVShow not found: " + trakt_tvshow[1]['title'])
                                            TypeError: cannot concatenate 'str' and 'NoneType' objects
13:16:00 T:139774370047744  NOTICE: Trakt Utilities: Notification service stopping
13:16:00 T:139773989467904  NOTICE: Trakt Utilities: Scrobbler stopping

I get the error doing nothing special, just launching xbmc.

Thank you


- othrayte - 2012-03-03

BoDoP Wrote:Installed latest version and when XBMC on Windows starts XBMC just hangs when the trakt utilities start movie collection update runs.

Is there a way to:
Remove trakt utilities plugin without having to launch XBMC? or
Delete the TraktUtilitie folder from C:\Users\%%USERNAME%%\AppData\Roaming\XBMC\addons\

BoDoP Wrote:Launch XBMC in Windows without plkugins? or
Don't know, sorry.

BoDoP Wrote:Stop Trak Utilities from running on XBMC launch?
Change the sync settings, either from inside XBMC by navigating to the addon, gettting the context menu and choosing Add-on settings.

Or outside of XBMC by modifying the settings file here C:\Users\%%USERNAME%%\AppData\Roaming\XBMC\userdata\addon_data\script.TraktUtilities
\settings.xml
so that the line read
<setting id="autosync_cleanmoviecollection" value="false" />
<setting id="autosync_cleantvshowcollection" value="false" />
<setting id="autosync_moviecollection" value="false" />
<setting id="autosync_seenmovies" value="false" />
<setting id="autosync_seentvshows" value="false" />
<setting id="autosync_tvshowcollection" value="false" />


- othrayte - 2012-03-03

tonyp Wrote:I think this issue has already been fixed in the latest test version.
Yes I would suspect this is the case.

P.S. 0.6.5 should be this weekend


- othrayte - 2012-03-03

Adeiko Wrote:Still happens with RC2 Sad But it's interesting because it also happens to me with youtube addon videos, and i do not think TU interferes in that.
TU listens to what XBMC says over json notifications about any videos, including those played by other addons. But it doesn't interferer with any of them.


- othrayte - 2012-03-03

typhoe Wrote:Hi,

I encounter a problem with Trakt.tv utilities on XBMC (11.0-RC2 Git:Unknown), Platform: Linux (Ubuntu 11.10, 3.0.0-16-generic x86_64).

I tried the dev version (29f05a8), but I still get the same error:

Code:
...
13:15:48 T:139774792148864  NOTICE: Starting XBMC (11.0-RC2 Git:Unknown), Platform: Linux (Ubuntu 11.10, 3.0.0-16-generic x86_64). Built on Mar  1 2012
...
13:16:00 T:139774353262336  NOTICE: Trakt Utilities: getSeasonsFromXBMC: {u'tvshowid': 48, u'title': u'The River (2011)', u'label': u'The River (2011)', u'imdbnumber': u'248836', u'year': 1601, u'playcount': 0}
13:16:00 T:139774353262336   ERROR: Error Type: <type 'exceptions.TypeError'>
13:16:00 T:139774353262336   ERROR: Error Contents: cannot concatenate 'str' and 'NoneType' objects
13:16:00 T:139774353262336   ERROR: Traceback (most recent call last):
                                              File "/home/typhoe/.xbmc/addons/othrayte-script.TraktUtilities-29f05a8/service.py", line 67, in <module>
                                                autostart()
                                              File "/home/typhoe/.xbmc/addons/othrayte-script.TraktUtilities-29f05a8/service.py", line 44, in autostart
                                                if autosync_cleantvshowcollection: cleanTVShowCollection(True)
                                              File "/home/typhoe/.xbmc/addons/othrayte-script.TraktUtilities-29f05a8/sync_update.py", line 469, in cleanTVShowCollection
                                                Debug ("TVShow not found: " + trakt_tvshow[1]['title'])
                                            TypeError: cannot concatenate 'str' and 'NoneType' objects
13:16:00 T:139774370047744  NOTICE: Trakt Utilities: Notification service stopping
13:16:00 T:139773989467904  NOTICE: Trakt Utilities: Scrobbler stopping

I get the error doing nothing special, just launching xbmc.

Thank you

Thanks for reporting, fixed for v0.6.5


Watched Status Bug.... - hogfan - 2012-03-03

Hey Othrayte, any update on the following bug? I figured I'd check back in since it's been several weeks and see if this change was implemented in the latest version of trakt utilities. Thanks for all the hard work on TU.

Quote:Originally Posted by hogfan
I didn't see this posted as bug on github. Has this issue been fixed or should I open bug report on github? Watched a movie last night and paused 4 times. Trakt posted to my facebook wall 4 times. Is there a way to differentiate between paused and stopped in XBMC, so that Trakt utilities will not see watch status as stopped when a movie/show is only paused?

BTW, this was in reference to post #488 of this thread.

-hogfan
Quote:You are correct, this has not been added to github, and the behavior has not yet been changed.

The change seems logical, and straight forward, it just needs to be done is all.

-hogfan


- othrayte - 2012-03-03

hogfan Wrote:Hey Othrayte, any update on the following bug? I figured I'd check back in since it's been several weeks and see if this change was implemented in the latest version of trakt utilities. Thanks for all the hard work on TU.

-hogfan

Just done, will be in 0.6.5.


- typhoe - 2012-03-03

othrayte Wrote:Thanks for reporting, fixed for v0.6.5

Hi,

well thank you for this addon!

But it seems I still have another problem.

Code:
<...>
14:24:05 T:3018856192   ERROR: Python script "/storage/.xbmc/addons/script.trakt/default.py" does not exist
<...>
14:26:19 T:2945944384   ERROR: Error Type: <type 'exceptions.TypeError'>                                                                                                                  
14:26:19 T:2945944384   ERROR: Error Contents: cannot concatenate 'str' and 'NoneType' objects                                                                                            
14:26:19 T:2945944384   ERROR: Traceback (most recent call last):                                                                                                                        
                                              File "/storage/.xbmc/addons/othrayte-script.TraktUtilities-1ab242e/service.py", line 67, in <module>                                        
                                                autostart()                                                                                                                              
                                              File "/storage/.xbmc/addons/othrayte-script.TraktUtilities-1ab242e/service.py", line 44, in autostart                                      
                                                if autosync_cleantvshowcollection: cleanTVShowCollection(True)                                                                            
                                              File "/storage/.xbmc/addons/othrayte-script.TraktUtilities-1ab242e/sync_update.py", line 493, in cleanTVShowCollection                      
                                                tvshows_string += ", " + to_unlibrary[i]['title']                                                                                        
                                            TypeError: cannot concatenate 'str' and 'NoneType' objects                                                                                    
14:26:19 T:2931817280  NOTICE: Trakt Utilities: Notification service stopping                                                                                                            
14:26:24 T:2923424576  NOTICE: Trakt Utilities: Scrobbler stopping

Is the first error line I have an old reference to the old plugin? I'm not sur if I had it installed on this PC...

openelec ~ $ ls -l .xbmc/addons/ | grep -i trakt
drwxr-xr-x 4 root root 4096 Mar 3 09:34 othrayte-script.TraktUtilities-1ab242e
drwxr-xr-x 4 root root 4096 Mar 2 18:33 othrayte-script.TraktUtilities-29f05a8
drwxr-xr-x 4 root root 4096 Dec 2 18:55 script.TraktUtilities

I'm using the last git version I found: othrayte-script.TraktUtilities-v0.6.4-31-g1ab242e.zip

Maybe I should delete all references to trakt.tv and reinstall the last git version?

The full log : http://pastebin.com/RmDYT6DH

Regards


- Rumik - 2012-03-03

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?