#Use PMM to create trakt list
1 messages · Page 1 of 1 (latest)
Welcome @zinc zinc!
It looks like you have not yet completed #938455615741775902, this will allow us to help you quicker.
Someone from <@&938443185347244033> will assist when they're available.
Including the meta.log from the beginning is a huge help, type !logs for more information.
You can press the "Close Post" button above or type /close at any time to close this post.
Reference to wiki page please?
What is the method to take a plex collection that I manually created and turn it into a pmm collection?
Depends entirely on what criteria you used to add things to it. There's no one right answer for how to do this.
I have a script that will create a PMM YAML based on a Plex collection, but it's completely naive, and just generates a collection definition that lists the things in the collection. Maybe that's useful.
If your plex collection is a smart collection, just create a PMM collection definition with that same filter or search.
Perhaps whatever other criteria you used can be duplicated in PMM [comedy movies from before 1980 or the like].
The collection was made before I used pmm. I just manually added a tag to each movie.
the tag was the name of the collection.
OK
I think I could use that script you mentioned that generates a collection definition that lists the things in the collection. That should be perfect for turning my collection into a pmm collection.
Link in my profile
Can this be closed? If so, type close and hit enter.
Still struggling with it.
in what way?
Tried to run script and failed. I did not have much time. I will give it a go tonight or tomorrow. My issue is more poor knowledge of python.
You don’t need to know anything about python
The issue I am having is I downloaded the file extract_collections. It is a python file correct? I double-click and it seems cmd opens and closes. I am not sure what to do with the file. Sorry.
At Plex-Meta-Manager/extract_collections.py, it says file not url. My limited knowledge of clone repo (#1 above) requires a url not a file.
I have no idea what that means.
open a terminal window.
clone the repo:
git clone https://github.com/chazlarson/Media-Scripts.git
go into the directory:
cd Media-Scripts
create a virtual environment:
python3 -m pip venv my-venv
activate the virtual environment:
linux or OS X:
source my-venv/bin/activate
Windows:
.\my-venv\Scripts\activate
Install the requirements:
python -m pip install -r requirements
Go into the Plex-Meta-Manager directory:
cd Plex-Meta-Manager
Copy .env.example to .env
Edit .env
You need to fill in these two things:
PLEX_URL=https://plex.domain.tld # URL for Plex; can be a domain or IP:PORT
PLEX_TOKEN=PLEX-TOKEN
Then run the script with:
python extract_collections.py
Thanks so much for the detailed instructions. When creating virtual environment I receive an error "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." I just installed an updated python3 and checked the creat PATH but still received the same error - "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases."
No idea; I don't use windows. I did the windows walkthrough in a windows 10 VM and don't have one around to test with. Perhaps a windows user can chime in.
Essentially, I had this happen on one of my machines. I had completely uninstall anything and everything related to python on my machine. This included all versions of the windows store apps for python AND the downloaded versions
Once that was done and a fresh reboot, I downloaded the latest version of python (not windows store) and installed it.
On the very first part of the install there is a little checkbox at the bottom of the installer that mentions something about the path. You want to tick that box.
After that I was golden
I gave it a good try and uninstalled two versions of python. Rebooted the computer then downloaded python3 from the python website - checked the box to add PATH. Still an error. So let me go about my situation from a different angle. I want to be able to add shows and remove shows to collections that have multiple url adding the shows. In summary I have 3 urls forming my Survival Collection. There are a few movies I do not feel belong in the collection and there some movies I want to add that the three URLs missed. If I manually add them by adding Survival tag to them the next day after I run PMM they are removed. Any ideas how I should try to customize my collection?
Do the above with PMM. It sounds like you’re still trying to do manual, what could be done with PMM
How do I add the movie love and monsters in survival collection of the attached .yml ? How do I exclude the movie The last of the Mohicans in survival collection of the attached .yml ?
as far as love and monsters,
Survival:
sort_title: 600_1surv
imdb_list:
- url: https://www.imdb.com/list/ls051804359
- url: https://www.imdb.com/list/ls021287483
trakt_list: https://trakt.tv/users/majeed_pk/lists/the-best-survival-movies?sort=rank,asc
sync_mode: sync
imdb_id: tt2222042 #Love and Monsters
radarr_add_missing: false
summary: A survival movie is a film that depicts the struggle of one or more characters to survive in a hostile environment. The environment can be anything from a deserted island to a post-apocalyptic wasteland.
the above will add Love and Monsters... The only way to exclude Last of the Mohicans is to either find or create a list that doesn't include that movie. If you exclude globally, it will be exluded from all collections
@zinc zinc 
You could filter this collection on title.not
Survival:
sort_title: 600_1surv
imdb_list:
- url: https://www.imdb.com/list/ls051804359
- url: https://www.imdb.com/list/ls021287483
trakt_list: https://trakt.tv/users/majeed_pk/lists/the-best-survival-movies?sort=rank,asc
sync_mode: sync
imdb_id: tt2222042 #Love and Monsters
filters:
tmdb_title.not: The Last of the Mohicans
radarr_add_missing: false
summary: A survival movie is a film that depicts the struggle of one or more characters to survive in a hostile environment. The environment can be anything from a deserted island to a post-apocalyptic wasteland.
Ohhh. I saw title.not was not listed as an option in IMDb builders, but didn’t think to check tmdb
It's a filter, not a builder option.
I used tmdb_title instead of title to insulate against someone renaming it in Plex.
Sounds great. I will give it a shot.
oh yeah, duh. thanks carrot
/close
Hello @zinc zinc, a user has suggested that this thread has been resolved and can be closed.
Please confirm that you are happy to close this thread by typing /close or by pressing the Close Post button which is pinned to this thread.
Quick question: I have the following that does not seem to remove the titles. Is it incorrect to separate by commas? tmdb_title.not: The Last of the Mohicans, The Beach, Grizzly Man
Thanks. OK to close.
Hello @zinc zinc, a user has suggested that this thread has been resolved and can be closed.
Please confirm that you are happy to close this thread by typing /close or by pressing the Close Post button which is pinned to this thread.