• 1
  • 92
  • 93
  • 94(current)
  • 95
  • 96
  • 136
Trakt.tv v3
(2017-11-04, 15:55)steve1977 Wrote:
(2017-09-25, 23:26)dekes1 Wrote: Hi Razze, I'm trying to diagnose why a few movies in my Kodi collection are not being added to my Trakt collection. I've confirmed the rows for the movies in question are correct in the MyVideos db, but thy're not being found by the Trakt addon.

Same issue for me. I have a few thousands movies and they all sync nicely. However, there is a handful of movies, which for some reasons do not sync with Trakt and as a result do not show up in my Trakt collection. These movies have proper NFO files with IMDB ID and TMDB ID (created with EMM). Please let me know what info I can provide to help trouble-shooting. Or any experience how to get these few movies into my Trakt collection (synced by Kodi and not manual). Thanks in advance!

Are you able to check if your kodi database shows the correct ids (the ones from the nfo)? If that's the case I will need a debug log (see first post) either in this topic or via PM.
Reply
I just installed Kodi on my jailbroken iPad Air. Immediately after the Trakt installed succesfully notification I get another notification saying there was an error, see log for details. I also tried installing from zip (from the Github page). This is the log:

Code:
11:25:46.621 T:6141702144   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: (10, 'No child processes')
                                            Traceback (most recent call last):
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/default.py", line 6, in <module>
                                                from resources.lib.service import traktService
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/resources/lib/service.py", line 19, in <module>
                                                from resources.lib.traktapi import traktAPI
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/resources/lib/traktapi.py", line 8, in <module>
                                                from trakt import Trakt
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.trakt/lib/trakt/__init__.py", line 3, in <module>
                                                from trakt.client import TraktClient
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.trakt/lib/trakt/client.py", line 5, in <module>
                                                from trakt.core.http import HttpClient
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.trakt/lib/trakt/core/http.py", line 8, in <module>
                                                from trakt.core.request import TraktRequest
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.trakt/lib/trakt/core/request.py", line 3, in <module>
                                                from requests import Request
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.requests/lib/requests/__init__.py", line 97, in <module>
                                                from . import utils
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.requests/lib/requests/utils.py", line 42, in <module>
                                                if platform.system() == 'Windows':
                                              File "/Users/Shared/jenkins/workspace/IOS-ARM64/tools/depends/xbmc-depends/iphoneos8.1_arm64-target/lib/python2.7/platform.py", line 1263, in system
                                              File "/Users/Shared/jenkins/workspace/IOS-ARM64/tools/depends/xbmc-depends/iphoneos8.1_arm64-target/lib/python2.7/platform.py", line 1230, in uname
                                              File "/Users/Shared/jenkins/workspace/IOS-ARM64/tools/depends/xbmc-depends/iphoneos8.1_arm64-target/lib/python2.7/platform.py", line 965, in _syscmd_uname
                                            IOError: (10, 'No child processes')
                                            -->End of Python script error report<--
11:25:46.672 T:6145716224   DEBUG: CurlFile::Open(0x16e4ff788) https://carlovandinther4.stackstorage.co...%20Castle/
11:25:46.853 T:6141702144    INFO: Python script stopped
11:25:46.853 T:6141702144   DEBUG: Thread LanguageInvoker 6141702144 terminating
11:25:46.856 T:6142275584   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: (10, 'No child processes')
                                            Traceback (most recent call last):
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/default.py", line 6, in <module>
                                                from resources.lib.service import traktService
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/resources/lib/service.py", line 19, in <module>
                                                from resources.lib.traktapi import traktAPI
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.trakt/resources/lib/traktapi.py", line 8, in <module>
                                                from trakt import Trakt
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.trakt/lib/trakt/__init__.py", line 3, in <module>
                                                from trakt.client import TraktClient
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.trakt/lib/trakt/client.py", line 5, in <module>
                                                from trakt.core.http import HttpClient
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.trakt/lib/trakt/core/http.py", line 8, in <module>
                                                from trakt.core.request import TraktRequest
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.trakt/lib/trakt/core/request.py", line 3, in <module>
                                                from requests import Request
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.requests/lib/requests/__init__.py", line 97, in <module>
                                                from . import utils
                                              File "/var/mobile/Library/Preferences/Kodi/addons/script.module.requests/lib/requests/utils.py", line 42, in <module>
                                                if platform.system() == 'Windows':
                                              File "/Users/Shared/jenkins/workspace/IOS-ARM64/tools/depends/xbmc-depends/iphoneos8.1_arm64-target/lib/python2.7/platform.py", line 1263, in system
                                              File "/Users/Shared/jenkins/workspace/IOS-ARM64/tools/depends/xbmc-depends/iphoneos8.1_arm64-target/lib/python2.7/platform.py", line 1230, in uname
                                              File "/Users/Shared/jenkins/workspace/IOS-ARM64/tools/depends/xbmc-depends/iphoneos8.1_arm64-target/lib/python2.7/platform.py", line 965, in _syscmd_uname
                                            IOError: (10, 'No child processes')
                                            -->End of Python script error report<--
Any idea's?
Running Kodi on:
Linux, Windows, iOS and OSX
Streaming 16TB from 4 NAS servers (4 x 4TB) over 5GHz WiFi-AC + gigabit ethernet.
Image
Reply
I think something has changed in the API, because I keep getting errors in debug mode:


Code:

10:43:30.441 T:11224   DEBUG: [script.trakt] resources.lib.syncEpisodes: [Episodes Sync] Getting episode collection/watched/rated from Trakt.tv
10:43:30.442 T:11224   DEBUG: [script.trakt] requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1167): api.trakt.tv
10:43:30.638 T:11224   DEBUG: [script.trakt] resources.lib.syncEpisodes: [Episodes Sync] Invalid Trakt.tv show list, possible error getting data from Trakt, aborting Trakt.tv collection/watched/rated update.
10:43:30.638 T:11224   DEBUG: [script.trakt] resources.lib.syncEpisodes: [Episodes Sync] Error getting Trakt.tv collected show list, aborting tv show sync.

Same error goes for Movie collections.
Reply
I'm probably missing something...
The addon is a two way sync (Trakt.tv<->Kodi), but if I add a movie to the trakt collection via the web site it is delete after sometime and not getting to my kodi library, but if I add the same movie via kodi library it is updated in my trakt.tv collection, also, if I erase from trakt collection via web it keeps returning but if I delete from kodi library it is being removed from trakt collection.
This is not a two way sync, it a kodi library master sync. 
What am I doing wrong and how to fix this?

TIA
Reply
(2017-11-14, 10:16)ubarnoy Wrote: I'm probably missing something...
The addon is a two way sync (Trakt.tv<->Kodi), but if I add a movie to the trakt collection via the web site it is delete after sometime and not getting to my kodi library, but if I add the same movie via kodi library it is updated in my trakt.tv collection, also, if I erase from trakt collection via web it keeps returning but if I delete from kodi library it is being removed from trakt collection.
This is not a two way sync, it a kodi library master sync. 
What am I doing wrong and how to fix this?

TIA
Don't you think it would be very confusing for most users to have a move created in their library which they can't playback?
Reply
(2017-11-15, 12:46)Razze Wrote:
(2017-11-14, 10:16)ubarnoy Wrote: I'm probably missing something...
The addon is a two way sync (Trakt.tv<->Kodi), but if I add a movie to the trakt collection via the web site it is delete after sometime and not getting to my kodi library, but if I add the same movie via kodi library it is updated in my trakt.tv collection, also, if I erase from trakt collection via web it keeps returning but if I delete from kodi library it is being removed from trakt collection.
This is not a two way sync, it a kodi library master sync. 
What am I doing wrong and how to fix this?

TIA
Don't you think it would be very confusing for most users to have a move created in their library which they can't playback? 
Dear Razze,

thank you for this very helpful addon.

Your logic is basically right, but I have different needs in my system, and if I'm able to add a movie/show to Trakt collection via the web site (regardless of kodi), I don't see the necessity of erasing it from kodi collection, and yes, as not logic as it sounds, I would prefer adding it to my kodi library upon sync and it will be my responsibility to know not to play it (I might have it on different non connected device for future use...as example). To make a long story short, I would like to know if a complete sync (not just kodi to Trakt) is possible and/or you would consider it?

tnx
Reply
(2017-11-04, 23:31)Razze Wrote:
(2017-11-04, 15:55)steve1977 Wrote:
(2017-09-25, 23:26)dekes1 Wrote: Hi Razze, I'm trying to diagnose why a few movies in my Kodi collection are not being added to my Trakt collection. I've confirmed the rows for the movies in question are correct in the MyVideos db, but thy're not being found by the Trakt addon.

Same issue for me. I have a few thousands movies and they all sync nicely. However, there is a handful of movies, which for some reasons do not sync with Trakt and as a result do not show up in my Trakt collection. These movies have proper NFO files with IMDB ID and TMDB ID (created with EMM). Please let me know what info I can provide to help trouble-shooting. Or any experience how to get these few movies into my Trakt collection (synced by Kodi and not manual). Thanks in advance! 

Are you able to check if your kodi database shows the correct ids (the ones from the nfo)? If that's the case I will need a debug log (see first post) either in this topic or via PM. 

Thanks for your help. Please see the log file below. I tried everything, but cannot get the a handful of movies incl. "Wonder Woman (2017)" and "Rings (2017)" to sync with Trakt.

http://sprunge.us/AXbQ
http://sprunge.us/eMMa
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
Hey Razze, just wondering was it ever considered to be able to view your lists with this addon so that I could go to my watchlist and then pick that movie or tv show to play from the library?
Reply
(2017-11-15, 15:22)ubarnoy Wrote:
(2017-11-15, 12:46)Razze Wrote:
(2017-11-14, 10:16)ubarnoy Wrote: I'm probably missing something...
The addon is a two way sync (Trakt.tv<->Kodi), but if I add a movie to the trakt collection via the web site it is delete after sometime and not getting to my kodi library, but if I add the same movie via kodi library it is updated in my trakt.tv collection, also, if I erase from trakt collection via web it keeps returning but if I delete from kodi library it is being removed from trakt collection.
This is not a two way sync, it a kodi library master sync. 
What am I doing wrong and how to fix this?

TIA
Don't you think it would be very confusing for most users to have a move created in their library which they can't playback?  
Dear Razze,

thank you for this very helpful addon.

Your logic is basically right, but I have different needs in my system, and if I'm able to add a movie/show to Trakt collection via the web site (regardless of kodi), I don't see the necessity of erasing it from kodi collection, and yes, as not logic as it sounds, I would prefer adding it to my kodi library upon sync and it will be my responsibility to know not to play it (I might have it on different non connected device for future use...as example). To make a long story short, I would like to know if a complete sync (not just kodi to Trakt) is possible and/or you would consider it?

tnx 
It should be possible, but I will not work on it. If you can, feel free to send a PR.
(2017-11-15, 17:28)steve1977 Wrote:
(2017-11-04, 23:31)Razze Wrote:
(2017-11-04, 15:55)steve1977 Wrote: Same issue for me. I have a few thousands movies and they all sync nicely. However, there is a handful of movies, which for some reasons do not sync with Trakt and as a result do not show up in my Trakt collection. These movies have proper NFO files with IMDB ID and TMDB ID (created with EMM). Please let me know what info I can provide to help trouble-shooting. Or any experience how to get these few movies into my Trakt collection (synced by Kodi and not manual). Thanks in advance! 

Are you able to check if your kodi database shows the correct ids (the ones from the nfo)? If that's the case I will need a debug log (see first post) either in this topic or via PM.  

Thanks for your help. Please see the log file below. I tried everything, but cannot get the a handful of movies incl. "Wonder Woman (2017)" and "Rings (2017)" to sync with Trakt.

http://sprunge.us/AXbQ
http://sprunge.us/eMMa 
I'm sorry, but are those movies even added to your library? Can't see anything in the logfile.
(2017-11-16, 03:12)Supersilver Wrote: Hey Razze, just wondering was it ever considered to be able to view your lists with this addon so that I could go to my watchlist and then pick that movie or tv show to play from the library?
Considered yes, there is also a old branch where some work was done. But there hasn't been enough time to work on it, so if you want to, please send a PR.
Reply
(2017-11-17, 17:14)Razze Wrote:
(2017-11-15, 17:28)steve1977 Wrote:
(2017-11-04, 23:31)Razze Wrote: Are you able to check if your kodi database shows the correct ids (the ones from the nfo)? If that's the case I will need a debug log (see first post) either in this topic or via PM.  

Thanks for your help. Please see the log file below. I tried everything, but cannot get the a handful of movies incl. "Wonder Woman (2017)" and "Rings (2017)" to sync with Trakt.

http://sprunge.us/AXbQ
http://sprunge.us/eMMa  
I'm sorry, but are those movies even added to your library? Can't see anything in the logfile.
Yes they are part of the library. The library has thousands of movies and these two are added (and can be played), but are not synced with trakt. The issue can be replicated as I have removed the movies and re-added them. It is not only these two. Not sure how many, but should just be a 10-20 movies. Don't know how to identify the missing ones. Let me add the NFO files below. Maybe you can try to add a movie with this NFO (set content - local) and see whether it adds it for you?

https://pastebin.com/VRvWCqUD
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
Hello currently I can see on trakt.tv what I am watching but it will not update the history. This stopped after 16th november. Is this a problem on my side?

https://trakt.tv/users/subcentral


Christian
Reply
Strange now it will update the history online again. Can it be if i watch a movie twice and then not showing in history?

If i start trakt to synchronize manually shouldn't the history be updated online? That was not happening yesterday. Watched 16th and 17th november Wonder Woman but only 16th is in history. Here in Kodi last played 17th:
https://photos.app.goo.gl/GfEde3Ae3aQ82dZH2
Reply
Hi,

I have a problem with the sync of the playback progress.
I use Kodi 17.6 on windows 10 with V3.1.0 of the trakt.tv addon and the media player Infuse on iOS.

If I start watching a movie on Kodi and stop playback, the progress is synced to my trakt.tv account.
Infuse picks up the playback progress and I can continue watching on infuse where I stopped at kodi. Great so far.
But if I stop playback now on Infuse, it seems the kodi addon does not pick up the playback progress anymore. Instead it always syncs its own saved playback progress to trakt.tv over and over.
So after the sync in kodi, the playback progress in Infuse is also reset.

The second issue I have is, if a movie on kodi runs until end of file, kodi stops playback and returns to the movie selection.
Now it seems, the trakt.tv addon does not scrobble automatically. The movie or TV Show episode is not marked as seen in my trakt.tv account.

Sync collection on library update is active.
Show notification is active (no notification shown, if playback runs until end of file)
Add watched movies / Episodes to history is active
Sync playback progress of movies / episodes is active.
mark movies / episodes from trakt history as watched is active.

Regards
Reply
I have been having issues with Kodi 17.x and Trakt on AndroidTV for quite some time now: Trakt is not asking for a rating when I press stop. Also no signal is send that I have watched the episode. The issue is temporarily resolved by reinstalling trakt but it quickly returns.
Reply
Hey, don't tell me that the error in the log when syncing

ERROR: Exception in thread trakt-sync:
Traceback (most recent call last):
File "C:\Program Files (x86)\Kodi\system\python\Lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Users\Ivan\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\service.py", line 335, in run
sync.sync()
File "C:\Users\Ivan\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\sync.py", line 65, in sync
syncEpisodes.SyncEpisodes(self, progress)
File "C:\Users\Ivan\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\syncEpisodes.py", line 44, in __init__
self.__addEpisodesToTraktCollection(kodiShowsCollected, traktShowsCollected, 37, 47)
File "C:\Users\Ivan\AppData\Roaming\Kodi\addons\script.trakt\resources\lib\syncEpisodes.py", line 248, in __addEpisodesToTraktCollection
logger.debug("[Episodes Sync] %i show(s) have episodes (%d) to be added to your Trakt.tv collection." % (len(traktShowsAdd['shows']), utilities.countEpisodes(traktShowsAdd)))
AttributeError: 'module' object has no attribute 'countEpisodes'
Reply
  • 1
  • 92
  • 93
  • 94(current)
  • 95
  • 96
  • 136

Logout Mark Read Team Forum Stats Members Help
Trakt.tv v35