FAQ  •  Register  •  Login

Serviio 1.8: trakt not scrobbling TV episodes

<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Sat Dec 17, 2016 11:06 pm

Serviio 1.8: trakt not scrobbling TV episodes

Hi Zip

I am having problems with getting serviio to scrobble TV show episodes to trakt. I am using XMBC .nfo files as the source of the metadata. The metadata in the .nfo files seems to be valid. Example of an episode.nfo below:
  Code:
...
<episodedetails>
  <title>Leviathan</title>
  <showtitle>DC's Legends of Tomorrow</showtitle>
  <season>1</season>
  <episode>13</episode>
  <uniqueid>5519151</uniqueid>
...

I would have thought serviio would use <uniqueid>5519151</uniqueid> which is the tvdb id of the episode to scrobble but this doesn't seem to be the case. Any ideas of what is missing?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 18, 2016 11:01 am

Re: Serviio 1.8: trakt not scrobbling TV episodes

Serviio looks for the <id> element, and if it includes ttXXXXXXX value it assumes it's the IMDB id.

Are you sure the uniqueId is supposed to be present and it's always tvdb id? Any link to XBMC docs on this?
<<

paul33

Serviio newbie

Posts: 9

Joined: Tue Nov 08, 2016 7:23 pm

Post Sun Dec 18, 2016 4:22 pm

Re: Serviio 1.8: trakt not scrobbling TV episodes

I have the same thing with xbmc nfo files, i use ember media manager to create them

<id> element is shown in the tvshow.nfo file

  Code:
<title>The Simpsons</title>
  <id>71663</id>
  <imdb>tt0096697</imdb>
  <tmdb>456</tmdb>
  <language>en-US</language>
  <rating>8.9</rating>
  <votes>815</votes>
  <genre>Animation</genre>


In the episode nfo it only has tvdb uniqueid field for the episode

  Code:
 <title>Simpsons Christmas Stories</title>
  <runtime>25</runtime>
  <aired>2005-12-18</aired>
  <rating>7.2</rating>
  <votes>29</votes>
  <season>17</season>
  <episode>9</episode>
 <dateadded>2016-12-18 16:02:06</dateadded>
  <uniqueid>302870</uniqueid>
<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Mon Dec 19, 2016 8:24 am

Re: Serviio 1.8: trakt not scrobbling TV episodes

zip wrote:Are you sure the uniqueId is supposed to be present and it's always tvdb id? Any link to XBMC docs on this?

Unfortunately I cannot find any documentation on XMBC/KODI's site about whether this is always supposed to be the TVDB for TV Shows or Episodes. However both Ember Media Manager and Sickrage seem to populate the uniqueid tag. To verify that the unqiueid tag is populated in the first place I am guessing that the Sickrage/EmberMM developers have exported their XBMC library to NFO files then trawled through those to find what is going on. I did find NFO files/TV shows
Filename should be tvshow.nfo (Exact, NOT the name of the TV show) in the root folder of the TV Show that points to a show on TheTVDB.com.
It seems that the uniqueid is put in by the TVDB scraper.

I wouldn't reinvent the wheel. However Serviio currently obtains and posts id's to trakt.tv would seem to be easiest. Another approach could be the traktAPI allows you to scrobble an episode object which does not have episode ids, but have show info.
  Code:
Episode checkin if you don't have episode ids, but have show info. Send show and episode objects.
...
Entity payload = Entity.json("{  'show': {    'title': 'Breaking Bad'  },  'episode': {    'season': 1,    'number': 1  },  'sharing': {    'facebook': true,    'twitter': true,    'tumblr': false  },  'message': 'I'm the one who knocks!',  'app_version': '1.0',  'app_date': '2014-09-22'}");

So whatever works the best and that seems to be the best way is what I would go for.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Dec 19, 2016 12:06 pm

Re: Serviio 1.8: trakt not scrobbling TV episodes

<<

norm

Serviio lover

Posts: 72

Joined: Tue Apr 09, 2013 3:18 pm

Post Mon Dec 19, 2016 12:22 pm

Re: Serviio 1.8: trakt not scrobbling TV episodes

No problem. Thanks!

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 51 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.