Kodi Community Forum
[RELEASE] trakt.tv tv/movie scrobbler - 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: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152)
+---- Thread: [RELEASE] trakt.tv tv/movie scrobbler (/showthread.php?tid=138745)



RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-01-25

deleted


RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-01-25

appreciate a little input:

has anyone seen a successful scrobble for a virtual library item added via add-on (.strm file)?

just trying to confirm something, thx

important note - when played from kodi library, not from within an add-on


RE: [RELEASE] trakt.tv tv/movie scrobbler - darzur - 2015-01-25

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



RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-01-25

(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.
was it an item added to your library via add-on (.strm file)?


RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-01-25

(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.
S7eele Wrote:was it an item added to your library via add-on (.strm file)?
sorry but i had trouble editing my last post, i ask if its a 'virtual' library item added via add-on (.strm file) because afaik the add-on is still not scrobbling them, works great when playing local media but doesnt scrobble .strm files, this is a known issue, i asked earlier but jic it was missed i will ask again:

has anyone using the razzee -dev branch seen a successful scrobble of a 'virtual' library item added via add-on (.strm file)?

appreciate any feedback, even if its to confirm u see the same thing


RE: [RELEASE] trakt.tv tv/movie scrobbler - komplex - 2015-01-25

Works fine for me

Code:
20:04:35 T:36752  NOTICE: [trakt] [Scrobbler] scrobble()
20:04:44 T:36752  NOTICE: [trakt] [Scrobbler] Scrobble response: {u'action': u'start', u'progress': 1.0, u'sharing': {u'tumblr': False, u'twitter': False, u'facebook': False}, u'episode': {u'season': 1, u'ids': {u'tvdb': 5028338, u'tmdb': 1021632, u'imdb': u'tt4135886', u'tvrage': 1065731380, u'trakt': 999572}, u'number': 2, u'title': u'Mentally Divergent'}, u'show': {u'year': 2015, u'ids': {u'tmdb': 60948, u'tvdb': 272644, u'trakt': 60485, u'imdb': u'tt3148266', u'tvrage': 36903, u'slug': u'12-monkeys'}, u'title': u'12 Monkeys'}}

It shows on trakt as being watched too
Image

EDIT:Just seen you edit S7eele, mine is a local file not a strm file


Odp: RE: [RELEASE] trakt.tv tv/movie scrobbler - darzur - 2015-01-25

(2015-01-25, 22:06)S7eele Wrote:
S7eele Wrote:was it an item added to your library via add-on (.strm file)?
sorry but i had trouble editing my last post, i ask if its a 'virtual' library item added via add-on (.strm file) because afaik the add-on is still not scrobbling them, works great when playing local media but doesnt scrobble .strm files, this is a known issue, i asked earlier but jic it was missed i will ask again:

has anyone using the razzee -dev branch seen a successful scrobble of a 'virtual' library item added via add-on (.strm file)?

appreciate any feedback, even if its to confirm u see the same thing

Hi S7eele,
I don't even know what is strm file. It was regular mkv file played from local (NFS share mounted in local fileystem) library. Maybe I'm doing something wrong, but in old addon scrobbling happened automatically after 70% of episode/movie.

P.S. Juast read about strm files. In my case it was local file.


RE: [RELEASE] trakt.tv tv/movie scrobbler - Razze - 2015-01-25

(2015-01-25, 22:29)darzur Wrote:
(2015-01-25, 22:06)S7eele Wrote:
S7eele Wrote:was it an item added to your library via add-on (.strm file)?
sorry but i had trouble editing my last post, i ask if its a 'virtual' library item added via add-on (.strm file) because afaik the add-on is still not scrobbling them, works great when playing local media but doesnt scrobble .strm files, this is a known issue, i asked earlier but jic it was missed i will ask again:

has anyone using the razzee -dev branch seen a successful scrobble of a 'virtual' library item added via add-on (.strm file)?

appreciate any feedback, even if its to confirm u see the same thing

Hi S7eele,
I don't even know what is strm file. It was regular mkv file played from local (NFS share mounted in local fileystem) library. Maybe I'm doing something wrong, but in old addon scrobbling happened automatically after 70% of episode/movie.

Are you mixing up scrobble and watched?
You start to scrobble when your watching anything in the best case from the first minute.
It automatically gets marked as watched by trakt if you watch 80% (changed in v2)


RE: [RELEASE] trakt.tv tv/movie scrobbler - YippeeKaiay - 2015-01-25

Great work on getting sync back up and running. I also get trakt error when I start watching a .strm file but with sync back up at least it will mark it then. I don't think the exclusion list is working tho as I have has a load of tv show in my excluded usb drive show up in recently watched on the trakt website. Thanks again Wink


Odp: RE: [RELEASE] trakt.tv tv/movie scrobbler - darzur - 2015-01-25

(2015-01-25, 22:32)Razze Wrote: Are you mixing up scrobble and watched?
You start to scrobble when your watching anything in the best case from the first minute.
It automatically gets marked as watched by trakt if you watch 80% (changed in v2)

Didn't know that. So in my case it wasn't scrobbled (see my log) nor marked as watched. I've changed threshold to 70% so maybe thats a problem.


RE: [RELEASE] trakt.tv tv/movie scrobbler - spencems - 2015-01-25

Hello, ive been watching this thread, and the trakt VIP forum, since trakt updated the website and the trakt addon broke.

i've downloaded the latest dev branch and im currently getting this error when running a manual sync.

http://pastebin.com/mJLZx0hm

this is running on a raspberry pi, when i run this, then the progress bar is stuck on 20%

can you advise - let me know if you need any more info.

btw, Razzee, great work picking this up.


RE: [RELEASE] trakt.tv tv/movie scrobbler - S7eele - 2015-01-25

thats consistent with what ive seen, the virtual library items (.strm file) are neither being scrobbled or marked as watched when played, however things are being synced now so, hooray @Razze

@darzur many kodi add-ons provide the ability to add items to your kodi library, in many/most cases this is done by creating a file with a .strm extension in a directory generally specified in the add-ons settings, the .strm file contains the details regarding location of the media so kodi can play it, the directory is then added to those that are read by kodi when creating or updating the library, in this particular discussion the file u played from ur nfs mounted drive would b cosidered a 'local' file or library item

edit - obviously all of this is my understanding of it in very basic terms, i always reserve the right to be mistaken and welcome any oportunity to learn from these mistakes, in other words, if im wrong pls correct/clarify Wink


RE: [RELEASE] trakt.tv tv/movie scrobbler - Martijn - 2015-01-25

.strm are simply not seen as "proper" files in kodi so ignore them for now


RE: [RELEASE] trakt.tv tv/movie scrobbler - Hustler1337 - 2015-01-25

(2015-01-25, 22:06)S7eele Wrote:
(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.
S7eele Wrote:was it an item added to your library via add-on (.strm file)?
sorry but i had trouble editing my last post, i ask if its a 'virtual' library item added via add-on (.strm file) because afaik the add-on is still not scrobbling them, works great when playing local media but doesnt scrobble .strm files, this is a known issue, i asked earlier but jic it was missed i will ask again:

has anyone using the razzee -dev branch seen a successful scrobble of a 'virtual' library item added via add-on (.strm file)?

appreciate any feedback, even if its to confirm u see the same thing

I'm also running the razzee -dev branch from Git and my library consists of .strm files from Genesis. Can also confirm that it is not scrobbling or anything. My trakt account online is empty, so not working at all for me.


Re: RE: [RELEASE] trakt.tv tv/movie scrobbler - Martijn - 2015-01-25

(2015-01-25, 22:56)Hustler1337 Wrote:
(2015-01-25, 22:06)S7eele Wrote:
(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.
S7eele Wrote:was it an item added to your library via add-on (.strm file)?
sorry but i had trouble editing my last post, i ask if its a 'virtual' library item added via add-on (.strm file) because afaik the add-on is still not scrobbling them, works great when playing local media but doesnt scrobble .strm files, this is a known issue, i asked earlier but jic it was missed i will ask again:

has anyone using the razzee -dev branch seen a successful scrobble of a 'virtual' library item added via add-on (.strm file)?

appreciate any feedback, even if its to confirm u see the same thing

I'm also running the razzee -dev branch from Git and my library consists of .strm files from Genesis. Can also confirm that it is not scrobbling or anything. My trakt account online is empty, so not working at all for me.

Read the forum rules! Genesis is not supported here.