Giter Club home page Giter Club logo

plex-trakt-syncer's People

Contributors

jone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dmaxwell351

plex-trakt-syncer's Issues

TV-shows are added twice

It seems like there is an error when parsing Tv-Shows in plex.

All episodes are added twice once with season and once without. This causes all specials to be marked as seen on trakt, see:

2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 1 (Days Gone Bye) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 2 (Guts) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 3 (Tell It to the Frogs) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 4 (Vatos) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 5 (Wildfire) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 6 (TS-19) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 1 (What Lies Ahead) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 2 (Bloodletting) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 3 (Save the Last One) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 4 (Cherokee Rose) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season , episode 5 (Chupacabra) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 1 (Days Gone Bye) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 2 (Guts) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 3 (Tell It to the Frogs) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 4 (Vatos) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 5 (Wildfire) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 1, episode 6 (TS-19) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 1 (What Lies Ahead) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 2 (Bloodletting) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 3 (Save the Last One) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 4 (Cherokee Rose) as seen
2012-03-26T11:55:34 DEBUG [plex-trakt-syncer] Mark episode "The Walking Dead", season 2, episode 5 (Chupacabra) as seen
2012-03-26T11:55:34 INFO [plex-trakt-syncer] Mark "22" episodes of the show The Walking Dead as seen in trakt.tv

%d format: a number is required, not str

When running the crivt I get the following :

%d format: a number is required, not str
Traceback (most recent call last):
File "plex-trakt-sync.py", line 259, in
Syncer()()
File "plex-trakt-sync.py", line 55, in call
movie_nodes = tuple(self.plex_get_watched_movies())
File "plex-trakt-sync.py", line 139, in plex_get_watched_movies
for node in self._plex_request('library/sections/1/all'):
File "plex-trakt-sync.py", line 205, in _plex_request
path)
TypeError: %d format: a number is required, not str

This is using Python 2.7.2+ on Ubuntu 11.04.

Two way sync

It would be awesome if there was another script that would mark things watched/unwatched in plex based on what is watched in trakt. I also use mediabrowser (which does two way syncing) so keeping them both in step with trakt would be ideal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.