[RELEASED] scrobble only plugin for XBMC Eden

  • Announcement
  • Updated 3 years ago
Update: the plugin is available in the official Eden add-on repository now!

I've created a new scrobble only plugin for XBMC Eden. I'm sure most of you are using trakt utilities and that is likely working just fine for you. No need to use this plugin if you have TU up and running. This new plugin is a stripped down version of TU so we can add it to the official XBMC add-on repository.

It's working quite well for me, but I'd like to have you guys beta test and see how it works for you. The baseline is TU, but I've also tweaked a few things. Pausing/resuming when watching will work properly and pick up the correct location.

A bigger update is most remote streaming content will now scrobble. If the media is correctly identified (i.e. a show has the title/season/episode and a movie has the title/year) it will scrobble as a name based match on trakt.

Further instructions on the github page. Please let me know how it works in your setup. Thanks!

https://github.com/rectifyer/script.t...
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
  • happy

Posted 3 years ago

  • 1
Photo of leonsmy

leonsmy

  • 16 Posts
  • 0 Likes
I guess the proof is in the title - but this cannot be Beta tested on Frodo builds no?
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
I haven't tried it, but I would assume it works fine on frodo as well. It's pretty basic in what its doing.
Photo of ricardoflores2323

ricardoflores2323

  • 12 Posts
  • 3 Likes
What about xxx streams?
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
trakt blocks those on the API level
Photo of hjordenH

hjorden

  • 144 Posts
  • 5 Likes
TU has never worked properly for me.
I used the old official plugin, and it worked perfect for Eden.
But today it updated to this, and stopped working - and will not work if i try to go back.
I reinstalled the new version, but sill no luck.

I get two erroes in the log:

ERROR: ...\Roaming\XBMC\addons\script.trakt\nbhttpconnection.py:14: DeprecationWarning: the sha module is deprecated; use the hashlib module instead except ImportError: import sha # Python 2.5 and earlier

and

ERROR: Python script "...\Roaming\XBMC\addons\script.trakt\default.py" does not exist

and then it just says:
NOTICE: [trakt] [Notification Service] Waiting~
Photo of hjordenH

hjorden

  • 144 Posts
  • 5 Likes
You wrote 'It should show a notification message as soon as you play something' - maybe you meant the log xD

But yeah, it's working now! :-)
Photo of hjordenH

hjorden

  • 144 Posts
  • 5 Likes
I said that to early.. It's not working today, i haven't changed anything, it just stopped working.
Nothing new in the log :-/
Photo of hjordenH

hjorden

  • 144 Posts
  • 5 Likes
I think figured it out! Both why the TU never worked for me, and why this new official didn't work.
The JSON server is using port 9090, and i have another app using that port.
I shut down the app and now its working.
When i tried yesterday, i had just restarted and apperently not startet the app.
My other XBMC box have nothing on port 9090.

I don't know much about it, but the JSON thing was something new in Eden, right? Then the old plugin didn't use it.

For me it all make sence now xD
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
Ah thanks for investigating and figuring this out, now I remember the port thing coming up for trakt utilities as well. The JSON API is newer in Eden yes and the new plugin uses that for everything. The nicest thing is it fires events when you start, pause, stop and that makes the plugin much easier than having to loop and wait to see what is happening.
Photo of hjordenH

hjorden

  • 144 Posts
  • 5 Likes
It was actually a bit of a coincidence i found the solution. I was searching for another bug i had in XBMC :)

Is it TU or this addon that makes movies/episodes marked as seen on the web immediately after marking them in XBMC?
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
Update: this plugin is in the official repo as of today.
Photo of ansonmatthewA

ansonmatthew

  • 5 Posts
  • 0 Likes
hi I have a question about the plugin. will it work for anime that is named in absolute order rather than season order? TU requires that they are in season naming which has forced me to rename my anime (which I would love to be able to return to absolute ordering).
cheers
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
No it doesn't support absolute ordering. That is a great feature request though, can you add it on the github project so it's easier to track?
Photo of ansonmatthewA

ansonmatthew

  • 5 Posts
  • 0 Likes
just added it to github, hopefully I did it right :P https://github.com/rectifyer/script.t...
Photo of ansonmatthewA

ansonmatthew

  • 5 Posts
  • 0 Likes
Cheers Justin working a treat :)
Photo of Alex

Alex

  • 3 Posts
  • 0 Likes
Silly question but what's it called? When I search for Trakt in the addons section only the installed old one shows up, not this new one.
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
It is just called trakt. It should be under Services. If you had the dharma one already installed, maybe that is causing it to not show up?
Photo of Alex

Alex

  • 3 Posts
  • 0 Likes
I've got 0.65 from the site that I manually had to install. I'll remove it and see if the repo version shows.
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
trakt utilities is a differently named plugin, so it can technically allow both to be install at the same time. You can also try just downloading it manually from github, but I confirmed it shows up under Services to download for me.
Photo of Alex

Alex

  • 3 Posts
  • 0 Likes
Checked again. Not showing. I'm using OpenELEC if that makes any difference (not that I think it should)
Photo of hjordenH

hjorden

  • 144 Posts
  • 5 Likes
Why is the plugin marking some episodes as 'seen' and not as 'watched'?
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
This plugin doesn't have that functionality, but TU does. Do you have that installed also?
Photo of hjordenH

hjorden

  • 144 Posts
  • 5 Likes
Yea, but it did at the same time it is supposed to mark it at watched.
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
TU has functionality that instantly toggles things as seen on trakt when xbmc marks them as seen. So, it's probably that. You should be able to see things in the log when using the official trakt plugin and where it scrobbles.
Photo of hjordenH

hjorden

  • 144 Posts
  • 5 Likes
Ah okay, Thats acutally nice.

Then Trakt official didn't scrobble.
I will add a log if it happens again.
Photo of Homer Jr

Homer Jr

  • 2 Posts
  • 0 Likes
@Justin, this is working great for movies, but it's not scrobbling TV shows. Is there an option to enable TV shows as well as movies?
Photo of Homer Jr

Homer Jr

  • 2 Posts
  • 0 Likes
[EDIT] TU + trakt 1.0.0 can run together, just disable scrobbling in TU.

Didn't know that I can run them together. I'll just disable scrobbling of movies in TU but keep scrobbling of TV shows in TU to get around this.
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
Also check out 1.0.1 in github, it fixes some issues with TV scrobbling. You can definitely run trakt + TU at the same time though, just disable scrobbling in TU like you said.
Photo of Justin

Justin, Founder

  • 2141 Posts
  • 212 Likes
xbmc thread to discuss this plugin too:
http://forum.xbmc.org/showthread.php?...