Plex Media Server scrobbler for trakt.tv



No, if you look in the url above it said progress=34.0 so it works.
The timeout is from the trakt api and the reason if failes is that there isn't any real error handeling when talking to trakt. I have an idea how to solve it in the real plugin see (https://github.com/tester22/Plex-Trakt-Scrobbler/commit/133ca4ceccbc19dcec639b12a752737316f28327#L0R114) but untill that is fixed I won't make any changes to script.py since this works for most users.

Hello all.



i am wondering if anyone has gotten this to work with unraid?



i am trying to run this on my unraid box and i am getting the error below.





“Plex Log file not found”



i have created the config.ini file with my logpath.





[Optional]

plexlog_path =/mnt/cache/.data/plex/Logs/Plex\ Media\ Server.log



No worries. I'll keep my eyes peeled for the plugin version. Thanks for the response.


Is that the standard path for the plex logfile?
Could you send me the output from the terminal when you run the script?


That's the message I get from running the script in the terminal. That it's not found.


What permissions is it on the logfile?
Can you get output if you tail it with the same user that launched the script?

No output with a tail the file has rw-rw and I tried running the script as root.

Installed this last night. Very good job!



Now I’ve just got to convert it to run as a job on startup :slight_smile:

By no means a novice with this stuff, but Python is totally alien to me…



Any ETA on the plug-in? Love Trakt - can’t wait to get back to it! Thanks for your efforts!




There are some good instructions here on how to run it on startup.
http://www.jotlab.com/2012/01/03/plex-trakt-a-scrobbling-love-story/


Getting there (http://dl.dropbox.com/u/114669/Photo%202012-01-10%2021%2049%2001.png), but havn't had that much time. Managed to scrobble the first item from the plugin yesterday but that was manually.
Anyway if python isn't your cup of tea, you could help out with other stuff.
- The graphics need some love: https://github.com/tester22/Plex-Trakt-Scrobbler/tree/develop/Trakttv.bundle/Contents/Resources
- I think we need a small static homepage (just html hosted on github) with decent design.
- We need a manual on how to install it on all different systems that support PMS.

Let me know what you wan't to help out with.

First of all, let me say that this is probably the script that I was missing the most in Plex! I love trakt, and it is so dull to manually mark every thing that I watch on my ATV2.




Hum... I'm wondering... the plugin is for PMS, right? Or is it to be installed on each client?
Since you uploaded a screnshots of the iOS app, I was confused. I don't know how one installs plex-plugins on Plex/PMS or even how they work, so that's maybe why I'm not getting there :)

About the script that does exist now, how would go to unistall that? I'm running PMS on my Synology NAS and I really don't like messing with the system files, I'd love to know if it's reversible for when the plugin comes out:)

Working for me so far! PMS on Linux with multiple ATV2 clients. Awesimo!



EDIT: Simultaneous viewing has some bizarre results but I wouldnt say it doesnt work. It’s really a limitation of trak.tv having signons for single users and not households. Whatever updates last shows up in my widget. They should really looked at household logins because I’m pretty sure we’re all in the same boat as far as all that goes. Even when I toyed with Boxee no one bothered logging out so everything just got watched under my name. I hope the Plex devs keep this in mind as they work on the social features of Plex.



Great work all around though.



Great, but it is a problem if multiple users are watching items on the same time. But don't know how that should be solved.


It is installed once on the server it will only need to have access to the PMS logfile to get the current playing item. But you need one client to configure the basic settings like username and password.
You install the plugin by copying it to the plugin folder, the path to that folder varies depending on OS but on a mac it is: ~/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/

I didn’t see anyone else posting this error. Working fine in 2 shows out of the three I tried, third throws this error:



Traceback (most recent call last):

File “script.py”, line 188, in

duration = int(element.attrib.get(“duration”))

TypeError: int() argument must be a string or a number, not ‘NoneType’



Just had this error as well:



Traceback (most recent call last):

File “script.py”, line 193, in

add_to_trakt(type, title, year, int(float(duration)/60000), percent, guid)

File “script.py”, line 126, in add_to_trakt

imdb_id = m.group(1)

AttributeError: ‘NoneType’ object has no attribute ‘group’








  • Ubuntu 11.10 64 bit

What os? And what are you whatching?


What did you watch? Seems like it was a movie that didn't have a imdb id. Thats a known bug and fixed in the plugin version. (see https://github.com/tester22/Plex-Trakt-Scrobbler/issues/8)



- Ubuntu 11.10 64 bit - I was watching The Fades, which shows up in IMDB right now, but I didn't think to look yesterday



I was watching The Fades. Do you want to receive any more error reports for this version?