Giter Site home page Giter Site logo

plex2trakt's People

Contributors

mza921 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

plex2trakt's Issues

"Unknown agent for <movie title>. Skipping."

user@user:~/Applications/plex2trakt$ python plex2trakt.py plex_movie_collection

2022-01-03 14:01:36,732 - WARNING - plex2trakt - Unknown agent for 2 Guns. Skipping.
<i've redacted the other 3751 movies titles here>
2022-01-03 14:01:37,152 - WARNING - plex2trakt - Unknown agent for Zombie Land. Skipping.
2022-01-03 14:01:37,152 - INFO - plex2trakt - Plex items found: 3753
2022-01-03 14:01:37,152 - INFO - plex2trakt - Trakt items to add: 0
2022-01-03 14:01:37,802 - INFO - plex2trakt - plex_movie_collection: Adding items to list.
2022-01-03 14:01:38,081 - INFO - plex2trakt - plex_movie_collection: Updating privacy mode.
2022-01-03 14:01:38,750 - INFO - plex2trakt - plex_movie_collection: List creation complete (0 movie items).

Here's what the recipe file 'plex_movie_collection.yml', located in the root of the 'recipes' folder, reads like

name: plex_movie_collection
privacy: public
source_library: Movies
filter_source: plex

And for the 'config.yml' I followed all instructions exactly, and after running the above command the 'access_token' field was indeed populated as expected

access_token: # Automatically populated after successful first run

Final Result: a new list titled "plex_movie_collection" was added to my Trakt lists, but it's empty...

?

Python3

Would this be updated to work with python3 ?

Unable to create list

Backing off 2.0 seconds afters 6 tries calling function <function poll_for_access_token at 0x7f9aad4001b8> with args (<trakt.Trakt instance at 0x7f9aad397878>,) and kwargs {}
2018-11-20 11:06:50,870 - INFO - plex2trakt - plex_tv_kids: Gathering items from Plex.
2018-11-20 11:06:51,689 - DEBUG - plex2trakt - Queuing: The Adventures of Pete & Pete
2018-11-20 11:06:51,726 - DEBUG - plex2trakt - Queuing: Austin & Ally
2018-11-20 11:06:51,829 - DEBUG - plex2trakt - Queuing: Big Time Rush
2018-11-20 11:06:52,201 - DEBUG - plex2trakt - Queuing: Bizaardvark
2018-11-20 11:06:52,240 - DEBUG - plex2trakt - Queuing: Clarence (2014)
2018-11-20 11:06:52,371 - DEBUG - plex2trakt - Queuing: Dog with a Blog
2018-11-20 11:06:52,405 - DEBUG - plex2trakt - Queuing: Dora the Explorer
2018-11-20 11:06:52,454 - DEBUG - plex2trakt - Queuing: Drake and Josh
2018-11-20 11:06:52,531 - DEBUG - plex2trakt - Queuing: DuckTales
2018-11-20 11:06:52,563 - DEBUG - plex2trakt - Queuing: DuckTales (2017)
2018-11-20 11:06:52,613 - DEBUG - plex2trakt - Queuing: The Fairly OddParents
2018-11-20 11:06:52,653 - DEBUG - plex2trakt - Queuing: Full House
2018-11-20 11:06:52,687 - DEBUG - plex2trakt - Queuing: Girl Meets World
2018-11-20 11:06:52,877 - DEBUG - plex2trakt - Queuing: Good Luck Charlie
2018-11-20 11:06:52,945 - DEBUG - plex2trakt - Queuing: Gravity Falls
2018-11-20 11:06:53,205 - DEBUG - plex2trakt - Queuing: iCarly
2018-11-20 11:06:53,216 - DEBUG - plex2trakt - Queuing: Inspector Gadget (2015)
2018-11-20 11:06:53,245 - DEBUG - plex2trakt - Queuing: Jessie (2011)
2018-11-20 11:06:53,272 - DEBUG - plex2trakt - Queuing: Jonas
2018-11-20 11:06:53,305 - DEBUG - plex2trakt - Queuing: Liv and Maddie
2018-11-20 11:06:53,313 - DEBUG - plex2trakt - Queuing: Pair of Kings
2018-11-20 11:06:53,324 - DEBUG - plex2trakt - Queuing: Peppa Pig
2018-11-20 11:06:53,334 - DEBUG - plex2trakt - Queuing: Phineas and Ferb
2018-11-20 11:06:53,347 - DEBUG - plex2trakt - Queuing: Raven's Home
2018-11-20 11:06:53,358 - DEBUG - plex2trakt - Queuing: Sesame Street
2018-11-20 11:06:53,370 - DEBUG - plex2trakt - Queuing: SpongeBob SquarePants
2018-11-20 11:06:53,442 - DEBUG - plex2trakt - Queuing: Zoey 101
2018-11-20 11:06:53,442 - INFO - plex2trakt - Plex items found: 27
2018-11-20 11:06:53,442 - INFO - plex2trakt - Trakt items to add: 27
2018-11-20 11:06:53,518 - INFO - plex2trakt - plex_tv_kids: Creating list.
Backing off 0.9 seconds afters 1 tries calling function <function create_list at 0x7f9aad400500> with args (<trakt.Trakt instance at 0x7f9aad397878>, 'plex_tv_kids') and kwargs {}
Backing off 1.0 seconds afters 2 tries calling function <function create_list at 0x7f9aad400500> with args (<trakt.Trakt instance at 0x7f9aad397878>, 'plex_tv_kids') and kwargs {}
Backing off 1.6 seconds afters 3 tries calling function <function create_list at 0x7f9aad400500> with args (<trakt.Trakt instance at 0x7f9aad397878>, 'plex_tv_kids') and kwargs {}
Backing off 0.4 seconds afters 4 tries calling function <function create_list at 0x7f9aad400500> with args (<trakt.Trakt instance at 0x7f9aad397878>, 'plex_tv_kids') and kwargs {}
2018-11-20 11:06:57,963 - ERROR - _common - Giving up create_list(...) after 5 tries (None)
Traceback (most recent call last):
File "./plex2trakt.py", line 85, in
trakt_list_slug = t.create_list(list_name)['ids']['slug']
TypeError: 'NoneType' object has no attribute 'getitem'

Add support for more advanced filters

The plexapi module only seems to support "equals" (e.g. genre=Comedy). Add the ability to do more advanced filtering as described here. Use case: Foreign movies filter could use something like "country!=USA"

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.