mza921 / plex2trakt Goto Github PK
View Code? Open in Web Editor NEWCreate Trakt lists from Plex libraries
License: GNU General Public License v3.0
Create Trakt lists from Plex libraries
License: GNU General Public License v3.0
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...
?
Would this be updated to work with python3 ?
It's entirely possible I just don't know how to use Terminal, or I set up my YML incorrectly. But I could use some help here.
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'
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.