[REL] Trakt.tv


#1

Trakt.tv (for Plex) - github, wiki

v1.3.3 - 5/03/2018 5:56 p.m. NZDT











trakt (for Plex) is a plugin for Plex Media Server to synchronize watched history, ratings, playback progress and lists to your Trakt.tv profile.



Key Features


  • Automatically track every TV show and movie you watch

  • Upload watched history, ratings and playback progress to your Trakt.tv profile

  • Synchronize data between supported applications (Kodi, MediaPortal, Emby, Infuse)

  • Link all your Plex users to individual Trakt.tv profiles


See https://trakt.tv/vip for an overview of other features available on the Trakt.tv website.



Navigation
























Install FAQ Settings Support KB Issues Credits


Recommendation / ranking system within your friends
#2

v1.3.3 (Stable)

Release Notes (v1.3.3)

Changed
 - Removed error reporter
 - Removed update checker

Libraries
 - Updated plex.py

Download

The latest universal distribution can be downloaded from trakt_for_plex-1.3.3-7f0f38e.zip, smaller platform-specific distributions are available on the release page here. Read the instructions here for steps on how to install plugin.

Configuration

The settings dialog at Channels -> Trakt.tv -> Settings (in Plex/Web) can only be used to setup a Trakt.tv account for the owner of the server. Additional users can be configured by the server owner with the configuration web-app at http://trakt-for-plex.github.io/configuration.

Frequently asked questions

  • Is the configuration web-app safe to use? - Yes, the configuration web-app is built as an entirely client-side website. Private data is sent directly to Plex Media Server, with no intermediate servers used for communication or storage.
  • Can the settings dialog in Plex/Web still be used? - Yes, the configuration web-app is only required to setup additional users. Settings between the two configuration methods are synchronized, so you can switch between them at any time.

#3

Great and amazing job! Thanks to you fuzeman!


#4

This is great news, I love this plug in!

Unfortunately, I don't seem to get the update via the unsupported app store. Is it live yet?


Sent from my Nexus 4 using Tapatalk


#5

First, how do you check what version of of a plugin you're using? I've noticed the plugin is not syncing everything. I checked the logs, and it looks like it only synced my movies and two of my shows (Archer and True Detective). For instance, there is currently an episode of Community that won't correctly update with the watched status. I've attached a log.


#6

nice job!

@liiight: i had to find the app in the appstore and click on update. it wasn't listed under updated apps.

@lockdown571: the channel has an about section with the version number. if you don't have an about section, you have an older version :)


#7

I think i found a bug. Using 0.8.1.1-master i chose to push a specific section to trakt. Got a pop up message that the push is in progress but when i returned to the sync view it shows that i used the "push all" button and not the specific section one...


#8

Thank you for the new update,

It still says "Error: Authentication Failed", although I'm definitely sure that the username/password are correct.

The credentials are there in the settings menu, but they do not appear in the .xml file. I can manually add the username/password in the xml file while PMS is shut down, but if I change the settings via web interface after starting the PMS they disappear. Even when I manually add the credentials in the preferences file, the error is still there. Is there anything else to try?


#9

Excellent. I've been loving the beta plug-in for a while and it's great to see a stable version at last. Keep up the great work.


#10

First, how do you check what version of of a plugin you're using? I've noticed the plugin is not syncing everything. I checked the logs, and it looks like it only synced my movies and two of my shows (Archer and True Detective). For instance, there is currently an episode of Community that won't correctly update with the watched status. I've attached a log.

Ok, now I've updated to the latest version (8.1.1-master). It still doesn't seem to update all my TV shows.


#11

Great update. 

Still looking forward to automatic bidirectional sync. 

Keep up the good work buddy. 


#12

I think i found a bug. Using 0.8.1.1-master i chose to push a specific section to trakt. Got a pop up message that the push is in progress but when i returned to the sync view it shows that i used the "push all" button and not the specific section one...

I'll look into this later today, it might just be a bug in how that status is displayed.

Thank you for the new update,

It still says "Error: Authentication Failed", although I'm definitely sure that the username/password are correct.

The credentials are there in the settings menu, but they do not appear in the .xml file. I can manually add the username/password in the xml file while PMS is shut down, but if I change the settings via web interface after starting the PMS they disappear. Even when I manually add the credentials in the preferences file, the error is still there. Is there anything else to try?

Could you send me your latest plugin log file, I've made some changes to give more

details in the log file over what's happening with authentication errors.

It's hard to know why your username/password would be disappearing from the XML file

and the interface, this is all handled by plex itself but it does seem to have some issues..

Ok, now I've updated to the latest version (8.1.1-master). It still doesn't seem to update all my TV shows.

Wonder if this is a result of having a private profile? I'll look into this and see if this could

be causing the problem..

Also, which metadata agents are you using? you could be having issues if you are using

agents that aren't supported.


#13

What do you mean by a private profile? Also, I'm using the xbmc nfo reporter as my metadata agent, so maybe that's the issue.


#14

What do you mean by a private profile? Also, I'm using the xbmc nfo reporter as my metadata agent, so maybe that's the issue.

This option in trakt (Settings -> Account):

EfYxEgR.png

This just means the plugin has to send authorized requests to fetch your data, I thought

this was supported but maybe there is a bug in it.

Could you link me to the metadata agent you are using? there is an XBMC agent supported

but maybe this isn't the one you are using.


#15

Thanks for the info! I'm nearly positive I'm using this XBMC agent: https://forums.plex.tv/topic/38402-metadata-agents-for-exported-xbmc-library/

If not this one, which XBMC agent is supported?


#16

Could you send me your latest plugin log file, I've made some changes to give more

details in the log file over what's happening with authentication errors.

It's hard to know why your username/password would be disappearing from the XML file

and the interface, this is all handled by plex itself but it does seem to have some issues..

Here's the log file.

com.plexapp.plugins.trakttv.log (144 KB)

I tried to do all the actions that seem to cause the problem (editing the xml file, saving through the web interface, syncing, etc.) during this log.

Thanks.


#17

Thanks for the info! I'm nearly positive I'm using this XBMC agent: https://forums.plex.tv/topic/38402-metadata-agents-for-exported-xbmc-library/

If not this one, which XBMC agent is supported?

Yeah, that agent is supported.

Have some time now, so will be looking at this issue now.

Here's the log file.

attachicon.gifcom.plexapp.plugins.trakttv.log

I tried to do all the actions that seem to cause the problem (editing the xml file, saving through the web interface, syncing, etc.) during this log.

Thanks.

The log file shows this:

 Exception loading user preferences from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Preferences/com.plexapp.plugins.trakttv.xml (most recent call last):
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/preferences.py", line 168, in _load_user_file
    prefs_xml = self._core.data.xml.from_string(prefs_xml_str)
  File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 161, in from_string
    return etree.fromstring(markup)
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Opening and ending tag mismatch: password line 13 and PluginPreferences, line 16, column 21

Looks like the preferences file isn't valid so the plugin is failing to receive any username and password.


#18

Thanks for the info! I'm nearly positive I'm using this XBMC agent: https://forums.plex.tv/topic/38402-metadata-agents-for-exported-xbmc-library/

If not this one, which XBMC agent is supported?

Private trakt profiles are supported, so the issue must be somewhere else..

Could you provide a 'tvshow.nfo' file from your collection, looking at the metadata agent I can

see a possible case that would cause the scrobbler to fail but will need to confirm this.

Something else what would help is the file at

C:\Users\\AppData\Local\Plex Media Server\Plug-in Support\Data\com.plexapp.plugins.trakttv\DataItems\last_library.show.plex.json

This contains all the shows in your library discovered by the plugin and will help to identify any

matching issues, you can PM me this if you don't want it public.


#19

Let me know if you need anything else! Btw, plex forums wouldn't let me upload an nfo file, so I changed the extension to txt. I've also made sure I updated the NFO importer to the latest version.


#20

I've attached an additional trakttv log. The difference with this one is that my trakt account is set to public. Maybe that's helpful.