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.
Don't know if I'm the only one, but I'm getting incorrect user and/or password when I start an episode of a series. Even more specifically: this only happens with series when there is an ampersand in the title of the series. Two examples: Mike & Molly and Young & Hungry.
Any other series works perfectly fine. Couldn't find any similar issues in the issues list.

17:24:40 T:140282469848832 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'item': {u'type': u'episode', u'id': 1516, u'label': u'The World According To Peggy'}}
17:24:40 T:140282469848832 NOTICE: [trakt] checkScrobblingExclusion(): Checking exclusion settings for 'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E12.The.World.According.To.Peggy.HD.TV.mkv'.
17:24:40 T:140282469848832 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - Doing multi-part episode check.
17:24:40 T:140282469848832 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'episodedetails': {u'season': 5, u'tvshowid': 119, u'episode': 12, u'episodeid': 1516, u'label': u'The World According To Peggy'}}
17:24:40 T:140282469848832 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'episodes': [{u'episode': 1, u'episodeid': 1064, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E01.The.Book.of.Molly.HD.TV.mkv', u'label': u'5x01. The Book of Molly'}, {u'episode': 2, u'episodeid': 1074, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E02.To.Have.and.Withhold.HD.TV.mkv', u'label': u'5x02. To Have and Withhold'}, {u'episode': 3, u'episodeid': 1175, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E03.Tis.the.Season.to.Be.Molly.HD.TV.mkv', u'label': u"5x03. 'Tis the Season to Be Molly"}, {u'episode': 4, u'episodeid': 1235, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E04.Gone.Cheatin.HD.TV.mkv', u'label': u"5x04. Gone Cheatin'"}, {u'episode': 5, u'episodeid': 1298, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E05.Mollys.Neverending.Story.HD.TV.mkv', u'label': u"5x05. Molly's Neverending Story"}, {u'episode': 6, u'episodeid': 1315, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E06.The.Last.Temptation.of.Mike.HD.TV.mkv', u'label': u'5x06. The Last Temptation of Mike'}, {u'episode': 7, u'episodeid': 1363, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E07.Support.Your.Local.Samuel.HD.TV.mkv', u'label': u'5x07. Support Your Local Samuel'}, {u'episode': 8, u'episodeid': 1419, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E08.Mike.Check.HD.TV.mkv', u'label': u'5x08. Mike Check'}, {u'episode': 9, u'episodeid': 1444, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E09.Hack.to.the.Future.1080p.HD.TV.mkv', u'label': u'5x09. Hack to the Future'}, {u'episode': 10, u'episodeid': 1471, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E10.Checkpoint.Joyce.HD.TV.mkv', u'label': u'5x10. Checkpoint Joyce'}, {u'episode': 11, u'episodeid': 1487, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E11.Immaculate.Deception.HD.TV.mkv', u'label': u'5x11. Immaculate Deception'}, {u'episode': 12, u'episodeid': 1516, u'file': u'smb://SYNSTOR/DATA/SERIES/Mike & Molly/Season 5/Mike.and.Molly.S05E12.The.World.According.To.Peggy.HD.TV.mkv', u'label': u'5x12. The World According To Peggy'}], u'limits': {u'start': 0, u'total': 12, u'end': 12}}
17:24:40 T:140282469848832 NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - This is a single episode.
17:24:40 T:140282469848832 NOTICE: [trakt] Queuing for dispatch: {'action': 'started', 'type': u'episode', 'id': 1516}
17:24:40 T:140282469848832 NOTICE: [trakt] Queued dispatch: {u'action': u'started', u'type': u'episode', u'id': 1516}
17:24:40 T:140282469848832 NOTICE: [trakt] Dispatch: {u'action': u'started', u'type': u'episode', u'id': 1516}
17:24:40 T:140282469848832 NOTICE: [trakt] [Scrobbler] playbackStarted(data: {u'type': u'episode', u'id': 1516})
17:24:40 T:140282469848832 NOTICE: [trakt] [Scrobbler] Watching: episode
17:24:41 T:140282469848832 NOTICE: [trakt] getEpisodeDetailsFromXbmc(): {u'episodedetails': {u'tvshowid': 119, u'episode': 12, u'season': 5, u'episodeid': 1516, u'label': u'The World According To Peggy', u'uniqueid': {u'unknown': u'5115404'}, u'showtitle': u'Mike & Molly'}}
17:24:41 T:140282469848832 NOTICE: [trakt] getShowDetailsFromXBMC(): {u'tvshowdetails': {u'imdbnumber': u'164501', u'tvshowid': 119, u'year': 2010, u'label': u'Mike & Molly'}}
17:24:41 T:140282469848832 NOTICE: [trakt] [Scrobbler] watching()
17:24:41 T:140282469848832 NOTICE: [trakt] [traktAPI] watching(url: https://api.trakt.tv/show/watching/XXXAPIXXX, data: {'episode': 12, 'title': u'Mike & Molly', 'season': 5, 'tvdb_id': u'164501', 'episode_tvdb_id': u'5115404', 'year': 2010, 'duration': 20.0, 'progress': 1.0})
17:24:41 T:140282469848832 NOTICE: [trakt] [traktAPI] traktRequest(): Request data: '{"episode": 12, "title": "Mike & Molly", "season": 5, "tvdb_id": "164501", "episode_tvdb_id": "5115404", "year": 2010, "duration": 20.0, "progress": 1.0}'.
17:24:41 T:140282469848832 NOTICE: [trakt] [traktAPI] traktRequest(): Starting retry loop, maximum 5 retries.
17:24:41 T:140282469848832 NOTICE: [trakt] [traktAPI] traktRequest(): (0) Request URL 'https://api.trakt.tv/show/watching/XXXAPIXXX'
17:24:41 T:140282469848832 NOTICE: [trakt] [traktAPI] __getData(): urllib2.Request(https://api.trakt.tv/show/watching/XXXAPIXXX)
17:24:41 T:140282469848832 NOTICE: [trakt] [traktAPI] __getData(): urllib2.urlopen()
17:24:43 T:140282469848832 NOTICE: [trakt] [traktAPI] traktRequest(): (0) Authentication Failure ( )
17:24:43 T:140282469848832 NOTICE: [trakt] Queuing for dispatch: {'action': 'settingsChanged'}
17:24:43 T:140282469848832 NOTICE: [trakt] Queued dispatch: {u'action': u'settingsChanged'}
17:24:43 T:140282469848832 NOTICE: [trakt] Dispatch: {u'action': u'settingsChanged'}
17:24:43 T:140282469848832 NOTICE: [trakt] Settings changed, reloading.
Edit your posto and use pastebin for logs
That logfile is from the old version. No support for that one, sorry.
(2015-02-13, 11:34)Razze Wrote: [ -> ]is anybody using the addon with facebook scrobble activated? anyone having problems? had a report about it doing multiple posts, but there is no reason it should do that and I'm not sure how reliable the user reporting this is.

I can confirm that this behaviour happens with v3, naver happened before in the old version (even after the website update)
I, for now, switched my facebook sharing options to "Share when I finish watching (scrobble) in a media center" so it wouldn't spam other people's timelines
It's weird because it creates like 10 duplicates for the same item

My guess would be that each time the user (pauses/forwards/rewinds) whatever he's watching, when the playback resumes it's treated as a new scrobble, hence the multiple triggering of the sharing function of Trakt. I say this because I have notifications activated and each time I do one of the aforementionned actions a notification pops up saying "*** has been successfully scrobbled to trakt", a behaviour which I thought meant that the addon simply checked if Trakt has been notified that i'm watching *** then proceeds accordingly...

just a guess.
It has to update the percentage when you skip/rewind and change the status when you pause. So yes each one is send to trakt, have to reach out to the guys then, probably a server side problem.
No problem in installing. Thank you S7eele and Razze. I will tell you if everything works OK after testing.
(2015-03-04, 02:37)DonLK Wrote: [ -> ]
(2015-02-13, 11:34)Razze Wrote: [ -> ]is anybody using the addon with facebook scrobble activated? anyone having problems? had a report about it doing multiple posts, but there is no reason it should do that and I'm not sure how reliable the user reporting this is.

I can confirm that this behaviour happens with v3, naver happened before in the old version (even after the website update)
I, for now, switched my facebook sharing options to "Share when I finish watching (scrobble) in a media center" so it wouldn't spam other people's timelines
It's weird because it creates like 10 duplicates for the same item

My guess would be that each time the user (pauses/forwards/rewinds) whatever he's watching, when the playback resumes it's treated as a new scrobble, hence the multiple triggering of the sharing function of Trakt. I say this because I have notifications activated and each time I do one of the aforementionned actions a notification pops up saying "*** has been successfully scrobbled to trakt", a behaviour which I thought meant that the addon simply checked if Trakt has been notified that i'm watching *** then proceeds accordingly...

just a guess.

Did this happen only in facebook or do you have two watches on trakt also?
Just updated the Swedish translation to 100%.

What is the difference between "playcount(s)" and "playbacks" in the translation strings? Are not both inidicating the number of times a movie or episode has been played back?
(2015-03-04, 11:32)M0dj0 Wrote: [ -> ]Just updated the Swedish translation to 100%.

What is the difference between "playcount(s)" and "playbacks" in the translation strings? Are not both inidicating the number of times a movie or episode has been played back?

Playbacks should always be with progress. So it should in all strings should be "Playback progress" (hoping that I didn't miss some strings)
We're talking about the resume points in that context
There are a bunch of strings that contain the term "playbacks";

"Kodi movie playbacks are up to date"
"%i movie playbacks will be updated in Kodi"
"Updating %i of %i movie playbacks in Kodi"
"Playbacks updated for %i movie(s) in Kodi"
"Kodi episode playbacks are up to date"
"Updating %i of %i episode playbacks in Kodi"
"Playbacks updated for %i show(s) in Kodi"

For example,

"Kodi episode playbacks are up to date"

Should this be that the "playback progress" or the "playcount" of all episodes are up to date?

Please note! I'm not trying to be some kind of language police. English is not my native language. It could mean two different things in my case when translating. I am just trying to clarify to get the best translation.
(2015-03-04, 13:30)M0dj0 Wrote: [ -> ]There are a bunch of strings that contain the term "playbacks";

"Kodi movie playbacks are up to date"
"%i movie playbacks will be updated in Kodi"
"Updating %i of %i movie playbacks in Kodi"
"Playbacks updated for %i movie(s) in Kodi"
"Kodi episode playbacks are up to date"
"Updating %i of %i episode playbacks in Kodi"
"Playbacks updated for %i show(s) in Kodi"

For example,

"Kodi episode playbacks are up to date"

Should this be that the "playback progress" or the "playcount" of all episodes are up to date?

Please note! I'm not trying to be some kind of language police. English is not my native language. It could mean two different things in my case when translating. I am just trying to clarify to get the best translation.

It should be "playback progress" for all those cases I might have screwed these strings up. Probably thought they would be too long for the ui to handle :/
Will have a look later.
(2015-03-04, 10:15)Razze Wrote: [ -> ]Did this happen only in facebook or do you have two watches on trakt also?

I don't have my Trakt linked to notify on facebook, but I see the same scrobble duplicate activity on Trakt when Pausing/Unpausing.There's nothing to distinguish the status as pasused/unpaused. It just displays as "watched" multiple times, from the same time I initially started watching.

Happens for both Movies and Tv Shows. As you can see in my profile: http://trakt.tv/users/sweer_jesus

I just assumed it was an issue with Trakt's transistion.

I can check with MediaBrowser 3 and Plex later to see if the same occurs again.
(2015-03-04, 16:16)Dravokivich Wrote: [ -> ]
(2015-03-04, 10:15)Razze Wrote: [ -> ]Did this happen only in facebook or do you have two watches on trakt also?

I don't have my Trakt linked to notify on facebook, but I see the same scrobble duplicate activity on Trakt when Pausing/Unpausing.There's nothing to distinguish the status as pasused/unpaused. It just displays as "watched" multiple times, from the same time I initially started watching.

Happens for both Movies and Tv Shows. As you can see in my profile: http://trakt.tv/users/sweer_jesus

I just assumed it was an issue with Trakt's transistion.

I can check with MediaBrowser 3 and Plex later to see if the same occurs again.

Just to be clear, your the latest 3.0.0 version?
(2015-03-04, 16:29)Razze Wrote: [ -> ]Just to be clear, your the latest 3.0.0 version?

I'm not using any test builds of the addon, only what is in the standard kodi repository. I'll double check the version when I get home later as well.
(2015-03-04, 16:58)Dravokivich Wrote: [ -> ]
(2015-03-04, 16:29)Razze Wrote: [ -> ]Just to be clear, your the latest 3.0.0 version?

I'm not using any test builds of the addon, only what is in the standard kodi repository. I'll double check the version when I get home later as well.
the version currently in the kodi repository is no longer supported

it is my understanding that the new version (3.0.0) is close to being submitted for inclusion in official kodi repository so you may want to wait just a little longer and it should autoupdate

if you do want to try the beta version of 3.0.0 it can be found on github, link follows:

https://github.com/Razzeee/script.trakt/tree/dev

before trying beta version you should look at the details on github and the first post in this thread at least