Plex Media Server scrobbler for trakt.tv

Thanks Tester.



Do you think it is an easy task to implement 2 way sync and trakt.tv recommendations in Plex’s client ?

I have seen that xbmc plugin already implements this feature and firecore player will soon.



I hope that plex devs will soon implement a recommendation system like trakt.tv in order to bring more life and social to plex’s client.



Hi 2-way sync is not impossible but takes some work to be able to figure out the relation between plex items and trakt items.
I am not sure what you expect from "Rekommendations". The plan I have is that there will be a section to edit your watchlist (add/remove). But that will only be when the user is inside the plugin beacause there is no way to show that information if the user is somewere else in the client like playing an item or similar.


By "Rekommendations", I mean displaying http://trakt.tv/recommendations/movies page. That's all.


Yeah, but how?
The user will need to enter the plugin to see that list so to me it is far from social.

i’m using Mac OS X Lion as my Plex Server. I downloaded the trakt .bundle and pasted it in Applications -> Plex Media Server (show package contents) -> Contents ->Resources -> Plug-ins.



Next in my plex client, ( i tried on my client on windows and on mac) I went to channel directory -> More… -> Installed Plugins. And trakt doesnt show up there.



Can someone help me?



That is not the correct path and you might have messed up your Plex server. I think the easiest way to install the plugin is to open a terminal and paste:
cd ~/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/ and hit enter.

To make sure you havn't messed up anything in your plex server I would sugget that you download the latest client from here: http://www.plexapp.com/download/mac-download-new.php and replace the one you currently have in your applications folder.

I re-instlled my plex media server, and followed your instructions. I now get Trakt.tv in Applications.



I added my username and pass. I then synced Movies and TV shows. Syncing worked. Scrobbling sadly isnt working. Can you tell me what the problem is? Where can I find the log file?




What client/os/version are you using? What type of content?
Your log is here: ~/Library/Logs/PMS\ Plugin\ Logs/ and is named com.plexapp.plugins.trakttv.log

I was about to post asking for help getting the plugin to scrobble (installs fine, shows up in applications in the media client) but tried one last thing and found the answer - PMS on unRaid used a non default user (unraid-plex) rather than root (normal default), so the pluging bundle needs to have it’s owner changed before it actually works,




wait, the plugin allows syncing? I can't see that option anywhere. be great if it did, as I won't need to maintain an xbmc library it's trakt plugin just to keep new movies and episodes appearing in trakt...

Yes. It allows syncing. Its in preferences. :slight_smile: . Heres my log for when i started watching Almost Famous,



http://pastie.org/4261658



It says “success”. But my trakt profile hasnt been updated.



Client: Plex.app on the same machine as server

Server: PMS on Mac OS Lion 10.7





If i have to downgrade my client or server to a specific version, please let me know.



Yea, you're right. I think it's an issue with PMS and 10.8. Glad to see you'll fix scrobbling though! Thanks and sorry about the false alarm.

It seems I have the same problem so wondering if trakt.tv has a problem? There is definitely a positive response from trakt but nothing shows up on the webpage!



The important part of my log is here. I get the same positive response for watching events as well!



2012-07-16 18:49:07,296 (7f587e470700) :  DEBUG (networking:153) - Requesting 'http://api.trakt.tv/sh<br />
ow/scrobble/ba5aa61249c02dc5406232da20f6e768f3c82b28'<br />
2012-07-16 18:49:08,514 (7f587e470700) :  INFO (__init__:369) - {u'status': u'success', u'episode': {<br />
u'number': u'4', u'title': u'Young Bloods'}, u'show': {u'tvdb_id': u'205281', u'year': u'2011', u'imd<br />
b_id': u'tt1462059', u'title': u'Falling Skies'}, u'season': u'2', u'twitter': False, u'tumblr': Fals<br />
e, u'facebook': False, u'message': u'scrobbled Falling Skies 2x04'}



I’m trying to install this on my ReadyNAS Pro 6 but somehow i’m not getting it to work. The settings don’t show up in my Plex Client and i see no log files or anything that can tell me that the plugin is actually running. I also restarted the PMS, this didn’t help. What am i doing wrong here?



I installed the .bundle in /root/Library/Application Support/Plex Media Server/Plug-ins



It is trakt that respondes with success so there is nothgin wrong with the plugin. But from the log you only played 2 % you need to play more to get it scrobbled.


Since you are on a Linux box have you given the plugin the right permissions?


That's interesting. I'm not sure how Traktoid works, then, because I do a check-in and it doesn't expire. I guess maybe it has a job running in the background of my Android device to keep it active (or maybe Trakt doesn't prune the Traktoid checkins).


I've set the folder owner and group both to root, but somehow i can't get the permissions to drwxr-xr-x, no matter what i do it still shows drwxr-sr-x (the 's' tells something about SGID right?) I have no idea how to change this. I also restarted the PMS after changing the ownership of the bundle (and all the files within), it seems to have no effect


Yeah, that is different methods:
http://trakt.tv/api-docs/movie-checkin

vs. what you should use for mediacentres:
http://trakt.tv/api-docs/movie-watching and http://trakt.tv/api-docs/show-watching

I cannot use that method. But if you use a recent version of the plugin it makes a watching request every 10 minutes while you are playing.


Cannot help you any more since I don't have any linuxbox with PMS.


seems i spoke too soon, for some reason the plugin appears to have restarted itself whilst i was watching something, and then stopped scrobbling...
logs here: http://ge.tt/6ACSdaK?c