Kodi Community Forum

Full Version: [RELEASE] trakt.tv tv/movie scrobbler
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I find it is not scrobbling my movies no matter what I do. It also didn't sync all of my movie collection. Some movies didn't get sync'ed to Trakt. Tv
Running the Razze dev branch on the latest Kodi nightly. Movies and TV shows are scrobbling great. Movie and TV show collections are syncing great.

However, TV show watched status is syncing, but Movies watched status are not.

Any thoughts? Thanks for everyone's hard work on this. I'm new to Trakt with XBMC/Plex, and looking forward to working solution to sync my watched status across services/devices.
(2015-01-25, 21:32)darzur Wrote: [ -> ]It looks like dev branch isn't scrobbling TV Shows. Just watched first episode of The Americans and it didn't show up in my trakt.tv history. Below is my KODI log and I don't see anything related to trakt plugin during movie watching. Then I've tried to sync manually, but it didn't scrobbled too.
Code:
19:06:06 14303.212891 T:3040440320  NOTICE: DVDPlayer: Opening: /storage/Win7/Seriale/The Americans (2013)/The.Americans.2013.S01E01.720p.BluRay.x264-Counterfeit.mkv
19:06:06 14303.212891 T:3040440320 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:06:06 14303.213867 T:2599416896  NOTICE: Thread DVDPlayer start, auto delete: false
19:06:06 14303.215820 T:2599416896  NOTICE: Creating InputStream
19:06:06 14303.292969 T:2599416896  NOTICE: Creating Demuxer
19:06:07 14303.411133 T:2599416896  NOTICE: Opening stream: 0 source: 256
19:06:07 14303.452148 T:2599416896  NOTICE: Creating video thread
19:06:07 14303.452148 T:2599416896  NOTICE: Opening stream: 1 source: 256
19:06:07 14303.453125 T:2599416896  NOTICE: Creating audio thread
19:06:07 14303.461914 T:2556421184  NOTICE: Thread OMXPlayerVideo start, auto delete: false
19:06:07 14303.462891 T:2548032576  NOTICE: Thread OMXPlayerAudio start, auto delete: false
19:06:07 14303.468750 T:2599416896  NOTICE: OMXClock using audio as reference
19:06:07 14303.515625 T:2556421184  NOTICE: not a 3D movie
19:06:07 14303.515625 T:2556421184  NOTICE: Display resolution ADJUST : 1920x1080 (1920x1080) @ 23.98 - Full Screen (28) (weight: 0.000)
19:06:10 14306.932617 T:2531255360  NOTICE: Thread LanguageInvoker start, auto delete: false
19:06:11 14307.368164 T:2531255360  NOTICE: -->Python Interpreter Initialized<--
19:06:18 14315.115234 T:2531255360  NOTICE: Thread LanguageInvoker start, auto delete: false
19:06:19 14315.497070 T:2531255360  NOTICE: -->Python Interpreter Initialized<--
19:06:20 14316.766602 T:2599416896  NOTICE: Opening stream: 0 source: 1024
19:07:02 14359.137695 T:2556421184 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
20:14:54 18431.050781 T:3040440320 WARNING: Previous line repeats 90 times.
20:14:54 18431.050781 T:3040440320  NOTICE: CDVDPlayer::CloseFile()
20:14:54 18431.050781 T:3040440320  NOTICE: DVDPlayer: waiting for threads to exit
20:14:54 18431.052734 T:2599416896  NOTICE: CDVDPlayer::OnExit()
20:14:54 18431.052734 T:2599416896  NOTICE: Closing stream player 1
20:14:54 18431.054688 T:2548032576  NOTICE: thread end: OMXPlayerAudio::OnExit()
20:14:54 18431.158203 T:2599416896  NOTICE: Closing stream player 2
20:14:54 18431.185547 T:2556421184  NOTICE: thread end: video_thread
20:14:55 18431.308594 T:2599416896  NOTICE: Closing stream player 3
20:14:55 18431.316406 T:3040440320  NOTICE: DVDPlayer: finished waiting
20:14:55 18431.640625 T:2599416896  NOTICE: Thread BackgroundLoader start, auto delete: false
20:14:55 18432.068359 T:3040440320  NOTICE: CDVDPlayer::CloseFile()
20:14:55 18432.068359 T:3040440320  NOTICE: DVDPlayer: waiting for threads to exit
20:14:55 18432.068359 T:3040440320  NOTICE: DVDPlayer: finished waiting
20:14:55 18432.068359 T:3040440320  NOTICE: CDVDPlayer::CloseFile()
20:14:55 18432.068359 T:3040440320  NOTICE: DVDPlayer: waiting for threads to exit
20:14:55 18432.068359 T:3040440320  NOTICE: DVDPlayer: finished waiting
20:14:55 18432.107422 T:3040425024  NOTICE: Found 1 Lists of Devices
20:14:55 18432.107422 T:3040425024  NOTICE: Enumerated PI devices:
20:14:55 18432.107422 T:3040425024  NOTICE:     Device 1
20:14:55 18432.107422 T:3040425024  NOTICE:         m_deviceName      : HDMI
20:14:55 18432.107422 T:3040425024  NOTICE:         m_displayName     : HDMI
20:14:55 18432.107422 T:3040425024  NOTICE:         m_displayNameExtra:
20:14:55 18432.107422 T:3040425024  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
20:14:55 18432.107422 T:3040425024  NOTICE:         m_channels        : FL,FR
20:14:55 18432.109375 T:3040425024  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
20:14:55 18432.109375 T:3040425024  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
20:14:55 18432.109375 T:3040425024  NOTICE:     Device 2
20:14:55 18432.109375 T:3040425024  NOTICE:         m_deviceName      : Analogue
20:14:55 18432.109375 T:3040425024  NOTICE:         m_displayName     : Analogue
20:14:55 18432.109375 T:3040425024  NOTICE:         m_displayNameExtra:
20:14:55 18432.109375 T:3040425024  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:14:55 18432.109375 T:3040425024  NOTICE:         m_channels        : FL,FR
20:14:55 18432.109375 T:3040425024  NOTICE:         m_sampleRates     : 48000
20:14:55 18432.109375 T:3040425024  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
20:14:55 18432.109375 T:3040425024  NOTICE:     Device 3
20:14:55 18432.109375 T:3040425024  NOTICE:         m_deviceName      : Both
20:14:55 18432.111328 T:3040425024  NOTICE:         m_displayName     : HDMI and Analogue
20:14:55 18432.111328 T:3040425024  NOTICE:         m_displayNameExtra:
20:14:55 18432.111328 T:3040425024  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:14:55 18432.111328 T:3040425024  NOTICE:         m_channels        : FL,FR
20:14:55 18432.111328 T:3040425024  NOTICE:         m_sampleRates     : 48000
20:14:55 18432.111328 T:3040425024  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
20:14:55 18432.142578 T:2599416896  NOTICE: Thread JobWorker start, auto delete: true
20:15:09 18446.068359 T:3040440320  NOTICE: OnSleep: Running sleep jobs

Code:
20:17:31 18588.201172 T:3040440320  NOTICE: OnWake: Running resume jobs
20:17:31 18588.240234 T:3040425024  NOTICE: Found 1 Lists of Devices
20:17:31 18588.240234 T:3040425024  NOTICE: Enumerated PI devices:
20:17:31 18588.240234 T:3040425024  NOTICE:     Device 1
20:17:31 18588.240234 T:3040425024  NOTICE:         m_deviceName      : HDMI
20:17:31 18588.240234 T:3040425024  NOTICE:         m_displayName     : HDMI
20:17:31 18588.240234 T:3040425024  NOTICE:         m_displayNameExtra:
20:17:31 18588.240234 T:3040425024  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
20:17:31 18588.240234 T:3040425024  NOTICE:         m_channels        : FL,FR
20:17:31 18588.240234 T:3040425024  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
20:17:31 18588.242188 T:3040425024  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
20:17:31 18588.242188 T:3040425024  NOTICE:     Device 2
20:17:31 18588.242188 T:3040425024  NOTICE:         m_deviceName      : Analogue
20:17:31 18588.242188 T:3040425024  NOTICE:         m_displayName     : Analogue
20:17:31 18588.242188 T:3040425024  NOTICE:         m_displayNameExtra:
20:17:31 18588.242188 T:3040425024  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:17:31 18588.242188 T:3040425024  NOTICE:         m_channels        : FL,FR
20:17:31 18588.242188 T:3040425024  NOTICE:         m_sampleRates     : 48000
20:17:31 18588.242188 T:3040425024  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
20:17:31 18588.242188 T:3040425024  NOTICE:     Device 3
20:17:31 18588.244141 T:3040425024  NOTICE:         m_deviceName      : Both
20:17:31 18588.244141 T:3040425024  NOTICE:         m_displayName     : HDMI and Analogue
20:17:31 18588.244141 T:3040425024  NOTICE:         m_displayNameExtra:
20:17:31 18588.244141 T:3040425024  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:17:31 18588.244141 T:3040425024  NOTICE:         m_channels        : FL,FR
20:17:31 18588.244141 T:3040425024  NOTICE:         m_sampleRates     : 48000
20:17:31 18588.244141 T:3040425024  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
20:17:32 18589.287109 T:2961175616  NOTICE: Thread CECAdapter start, auto delete: false
20:17:33 18590.220703 T:2927621184  NOTICE: Thread CECAdapterUpdate start, auto delete: false
20:17:50 18607.128906 T:2573198400  NOTICE: Thread JobWorker start, auto delete: true
20:17:55 18611.394531 T:2632971328  NOTICE: Thread BackgroundLoader start, auto delete: false
20:18:40 18656.445312 T:2632971328  NOTICE: Previous line repeats 5 times.
20:18:40 18656.445312 T:2632971328  NOTICE: Thread VideoInfoScanner start, auto delete: false
20:18:40 18656.589844 T:2632971328  NOTICE: VideoInfoScanner: Starting scan ..
20:18:43 18659.324219 T:2632971328  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:02
20:18:43 18659.511719 T:2632971328  NOTICE: Thread BackgroundLoader start, auto delete: false
20:18:55 18671.910156 T:2632971328  NOTICE: Thread LanguageInvoker start, auto delete: false
20:18:56 18672.369141 T:2632971328  NOTICE: -->Python Interpreter Initialized<--
20:18:56 18672.990234 T:2632971328  NOTICE: [trakt] Queuing for dispatch: {'action': 'manualSync', 'silent': False, 'library': 'all'}
20:19:10 18686.642578 T:2632971328  NOTICE: Thread LanguageInvoker start, auto delete: false
20:19:10 18687.146484 T:2632971328  NOTICE: -->Python Interpreter Initialized<--
20:19:11 18687.683594 T:2632971328  NOTICE: [trakt] Queuing for dispatch: {'action': 'manualSync', 'silent': False, 'library': 'all'}
20:19:32 18708.664062 T:2573198400  NOTICE: Thread LanguageInvoker start, auto delete: false
20:19:32 18709.072266 T:2573198400  NOTICE: -->Python Interpreter Initialized<--
20:19:33 18709.605469 T:2573198400  NOTICE: [trakt] Queuing for dispatch: {'action': 'manualSync', 'silent': False, 'library': 'all'}
20:19:39 18715.449219 T:2573198400  NOTICE: Thread JobWorker start, auto delete: true
20:19:41 18717.306641 T:2632971328  NOTICE: Thread BackgroundLoader start, auto delete: false
20:20:25 18761.845703 T:2573198400  NOTICE: Previous line repeats 2 times.
20:20:25 18761.845703 T:2573198400  NOTICE: Thread LanguageInvoker start, auto delete: false
20:20:26 18762.503906 T:2573198400  NOTICE: -->Python Interpreter Initialized<--
20:20:27 18763.353516 T:2573198400  NOTICE: [trakt] Queuing for dispatch: {'action': 'manualSync', 'silent': False, 'library': 'all'}
20:20:28 18765.025391 T:2573198400  NOTICE: Thread JobWorker start, auto delete: true
20:20:28 18765.156250 T:2632971328  NOTICE: Thread BackgroundLoader start, auto delete: false
20:20:37 18774.035156 T:2632971328  NOTICE: Previous line repeats 1 times.
20:20:37 18774.037109 T:2632971328  NOTICE: Thread LanguageInvoker start, auto delete: false
20:20:38 18774.466797 T:2632971328  NOTICE: -->Python Interpreter Initialized<--
20:20:38 18775.007812 T:2632971328  NOTICE: [trakt] Queuing for dispatch: {'action': 'manualSync', 'silent': False, 'library': 'all'}
20:20:42 18778.421875 T:3040440320  NOTICE: OnSleep: Running sleep jobs


Tv shows scrobbling should be fixed now. I've just submitted a pull request to fix that problem and Razze merged it right away
I downloaded the script.trakt-dev.zip from GitHub and extracted the files to a folder called script.trakt and put it in my kodi/addons folder, but when I start Kodi I get a pop-up saying error trakt script failed. Anyone else getting this?
(2015-01-26, 03:24)komplex Wrote: [ -> ]
(2015-01-26, 02:32)jenn9376 Wrote: [ -> ]Great work Smile Syncing works fine but so far it doesn't take into account the exclusions set in the settings of the add-on.

Its working fine for me, i have livetv excluded

Code:
01:22:10 T:40640  NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'item': {u'type': u'channel', u'id': 14, u'label': u'ComedyCentral'}}
01:22:10 T:40640  NOTICE: [trakt] checkScrobblingExclusion(): Checking exclusion settings for 'pvr://channels/tv/All channels/13.pvr'.
01:22:10 T:40640  NOTICE: [trakt] checkScrobblingExclusion(): Video is playing via Live TV, which is currently set as excluded location.
01:22:10 T:40640  NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - 'pvr://channels/tv/All channels/13.pvr' is in exclusion settings, ignoring.

Sorry for not clarifying, I meant path exclusions. I always had trakt exclude my anime folder but with the -dev branch it synced that folder too.
(2015-01-26, 07:44)coxie86 Wrote: [ -> ]I downloaded the script.trakt-dev.zip from GitHub and extracted the files to a folder called script.trakt and put it in my kodi/addons folder, but when I start Kodi I get a pop-up saying error trakt script failed. Anyone else getting this?
if you havent done so already, make sure you have both the six and requests modules installed in kodi, they show under add-on libraries

that is the same behavior displayed when one or both modules are missing
Scrobble does not seem to work for me, I get mass Trakt addon failed. Log:

*edit: removed log excerpt.
that looks like a log of the issue with the add-on not processing 'virtual' library items (.strm files), from what i see in the log excerpt you posted you were playing a 'non-library item', its a known issue that im certain will b addressed when time allows

if this is the case its a rather touchy subject to discuss in this thread since it often involves add-ons that are NOT supported here, @martinj already mentioned it once so i would b careful, just fyi
Hi S7eele,

that is indeed the case, thanks for the feedback. I understand the restrictions on this subject. Will not address this issue any more here.

great job moderating and doing upkeep on this thread btw!
(2015-01-26, 10:10)jobespierre Wrote: [ -> ]Hi S7eele,

that is indeed the case, thanks for the feedback. I understand the restrictions on this subject. Will not address this issue any more here.

great job moderating and doing upkeep on this thread btw!
no problem and thanks, not much of a developer so trying to do what i can to help, not that im actually a moderator or anything, just trying to help where i can
Hello Guys,

First of all, gr8 plugin and gr8 job everyone here has been doing in making this addon work :-) ...

I've one query, I've noticed that sync of items is actually creating Watched Date set to the day I've synced the item instead of the day I marked the item as synced. For instance, I've watched a TV show episode on 12th-Jan-2015, but I just updated the addin from GitHub Dev branch on 25th Jan, and synced worked fine for Tv episodes, but all the TV episodes that I have watched over this month, were all synced to Trakt with watched date as 25th Jan ...
(2015-01-26, 07:56)jenn9376 Wrote: [ -> ]Sorry for not clarifying, I meant path exclusions. I always had trakt exclude my anime folder but with the -dev branch it synced that folder too.

Just check your settings xml to be sure its in there
Image
I'm a little confused. What are these six and requests modules? I'm still running xbmc 12.3. I can't find these add-ons anywhere and am getting the trakt script error on launch after installing the razze dev branch.
(2015-01-26, 17:19)mularj Wrote: [ -> ]I'm a little confused. What are these six and requests modules? I'm still running xbmc 12.3. I can't find these add-ons anywhere and am getting the trakt script error on launch after installing the razze dev branch.

You can find them under here:
Settings | Addon-ons | Get Add-ons | Kodi Add-on Repository | Add-on Libraries

Here you will find the two required entities "SIX" and "REQUESTS".
Hi guys...

Im trying to give the dev branch a go here, but when i copy the script.trakt into Kodi addon folder and start Kodi up i get trakt script failed :S

Is it skin dependent? or can i run it with any skin out there? Running it on a MacMini with OS X Yosemite dunno if that makes any difference either?