#Help with radarr_tag for Movie Collections File
1 messages Β· Page 1 of 1 (latest)
Please complete #938455615741775902 and someone from the community or one of our <@&938443185347244033> members will respond when they're available.
Including the meta.log from the beginning is a huge help use !logs for more information.
Config Warning: template: radarr_tag must be a dictionary
send a copy of this file
config/movies-universes.yml
Is the templates bit, happy to send the whole file if needed π
yeah send the whole thing please
so you aren't calling that template against your collections
Ok, newbie question... What does that mean π
Those collections in the file, aren't being told to use that template, right?
Exactly
collections:
Marvel Cinematic Universe:
sort_title: "!040_MCU"
letterboxd_list: https://letterboxd.com/lt3dave/list/mcu-in-release-order
collection_order: custom
sync_mode: sync
filters:
has_edition: false
should be
collections:
Marvel Cinematic Universe:
template: {name: radarr} # HERE
sort_title: "!040_MCU"
letterboxd_list: https://letterboxd.com/lt3dave/list/mcu-in-release-order
collection_order: custom
sync_mode: sync
filters:
has_edition: false
Is there any way, to make that top template change, somewhere else, or modify how it's written, so it's applied to the whole file. So I don't have to add that line for each collection?
If no, that's fine, I'm just wondering about simplicity.
Because I want it to apply to the whole file, regardless of how many collections there are.
Your only way to do that would be to turn your file into dynamic collections
But that's a pretty extreme approach to it and would effectively be a rewrite of the entire file
Ok, let's fast forward, and say I turn them all in to dynamic collections (Because I'm willing to do that depending on the answer). How would I then get it to apply to the whole file?
the simplest approach is to add
template: {name: radarr}
to each of your collections
Dynamic Collections aren't a very great option for this
But I mean, if I'm doing that, I could just add radarr_tag to each collection.
Sure you could
But I'm trying to avoid that if possible π
So templates can't apply to whole files, just individual collections?
Correct
Balls.
Asking for curiosities sake to learn, not to be antagonistic, is there a reason why?
Because often people have multiple templates in one file
And call each one as needed.
Nobody has asked for templates to automatically apply to all collections in the file
It's one line of code per collection
you could actually make your life much simpler using templates
I actually broke it in to separate files to essentially make them "templates", I sort my collections in to groups, Genre, Charts, Universes, Lists, etc. So that when I'm adding things or tweaking things, I can hash out the other files and shorten the run time.
That's why this one is called movies-universes
templates:
lt3dave:
optional:
- letterboxd_list
letterboxd_list: https://letterboxd.com/lt3dave/list/<<list>>
collection_order: custom
sync_mode: sync
radarr_add_missing: true
radarr_tag: universes
sort_title: "!040_<<collection_name>>"
collections:
Marvel Cinematic Universe:
template: {name: lt3dave, list: mcu-in-release-order}
filters:
has_edition: false
Jurassic Park:
template: {name: lt3dave, list: jurassic-park-world-in-release-order}
summary: "A cautionary tale about genetic engineering, Jurassic Park presents the collapse of an amusement park showcasing genetically re-created dinosaurs to illustrate the mathematical concept of chaos theory and its real-world implications. The sequels? Not so much."
Star Wars:
template: {name: lt3dave, list: star-wars-collection-in-release-order}
Star Trek:
template: {name: lt3dave, list: star-trek-collection-in-release-order}
summary: "Space, the final frontier. These are the voyages of the Starship Enterprise. Its five year mission. To explore strange new worlds. To seek out new life, and new civilizations. To boldly go where no man has gone before."
I had them in one file originally, but then decided to split it up π
put as much as possible into the template
then you only need to specify what is "different"
That works.
So I understand most of the stuff in that template, but mind answering some newbie questions on bits of it?
of course
I think typing it out my question helped me understand, but just to confirm.
using MCU as an example, we're calling the template lt3dave, and then where it's requesting the key <<list>>, under the optional, we're supplying it with the ending of the url so it has the complete list. it's then running all of the other extras under the template for each collection. And under certain collections where we want additions, like has_edition, we're just including them.
Correct?
Yes
You can also override things in the template if you call it out within the collection
Ok, and if I include something under the collection...
so the template has sync_mode: sync, you can override that at the collection level
collections:
Marvel Cinematic Universe:
template: {name: lt3dave, list: mcu-in-release-order}
sync_mode: append
Stop doing that π Like 5 times now you answer my question as I'm typing it dude π
You're too smart.
I was just about to ask that, in regards to sorting.
π€£
letterboxd_list is optional in case you have a collection and it's a Trakt List instead
collections:
Marvel Cinematic Universe - TRAKT VERSION:
template: {name: lt3dave}
trakt_list: something
sync_mode: append
Rigggghhhhttttt
it will still apply the rest of the template, like the radarr stuff
We set the optional to be letterboxd so if we choose to use something else, it's not going to be expecting a letterboxd list.
yes
Smart
I feel like I'm learning so much and then some simple issue pops up and makes me realise I know nothing.
π€£
PMM has a lot of branches that people aren't aware of
There's normally more than one way to achieve the same end-goal
Oh for sure, especially when you can start messing with things regarding file names and regex and stuff, I was looking through old help tickets the other day just to get more knowledge and saw one about pulling info from file names and was like Ohhhh, never thought of doing that.
It's how we do Editions stuff for users who don't have Plex Pass
Because I only have a few editions, I just manually labelled them, and then used the label.not filter... But I could have also used the file thing and made it automatically label them as well.
mhm π
Sorry I'm asking so many questions btw, I'm trying to learn the ins and outs of this thing, but it's so... deep.
Questions are awesome
It's better to know why things work than just have me give you things that work and not know why π
That way if something doesn't work there is a chance you'll maybe understand why
I had an issue the other day where I had it set all my episode critic ratings, but then messing around with audience, some episodes didn't have the TMdb icon. Turns out it was because those files hadn't had their metadata refreshed by Plex yet, which it has to run initially to give it that icon by the looks of it.
So I had to go rummaging on the wiki to find the command to unlock the field, so plex could edit it, because even after I removed the data, Plex couldn't edit a locked field.
That was a fun one.
Yes, exactly! I know you could just be like "Oh, put this here", But I'm trying to figure out WHY that goes there, and HOW it does what it's doing, so I know for the future where else I can use it. Especially with something as handy as PMM and all it can do.
Thanks to you as well for putting up with my stupid Carrot π I'm trying to learn, honest.
I use these to force refreshes of items added in the last X days so that casting information etc is updated quicker:
Movies
collections:
Refresh Metadata:
plex_search:
all:
release: 7
item_refresh: true
build_collection: false
Shows
collections:
Refresh Metadata:
plex_search:
all:
episode_air_date: 7
item_refresh: true
build_collection: false
When new movies get added to Plex, they often don't have the casting information or ratings, so I use the above to try and push it quicker because Plex can be slow AF at updating the metadata for items
Oh, handy.
I had an issue where Plex basically stopped multi-tasking, so if it was scanning, or updating or refreshing metadata or anything, you couldn't browse a library. If you were playing a file, that was fine, but browsing, nope, it would stall and time out.
So I wiped everything and I'm rebuilding it. PMM has been a godsend for backing up all the metadata changes I made in plex I would have lost otherwise. That's actually why I started using PMM in the first place.
Ah good old Plex π
FYI Carrot has some useful scripts for rebuilding servers (things like grabbing and reapplying your watch history)
I think the original cause, was it getting stuck in intro detection on some weird anime file like, 9 months ago,and since then it got slower and slower.
Oh does he, I know all about Carrots scripts π I pulled all my posters using them.
π€£ π
I had to learn how to use some python because of Carrot.
Carrot enforcing wisdom upon the masses!
I'm now at a point where I have a PMM Config file I'll run every week/month, that backs up all the metadata on Plex, and Carrots script to store a backup of all the posters. And I'm setting up these PMM files so that all the collections are built, and have asset folders. So if Plex has any issues in the future, I can kill the whole thing, and then just, Boop Beep Boop, and everything is back.
Take as much power away from Plex as possible, the only way to win!
I miss Kodi π¦
Let PMM and Media Scripts do everything π
Before, I was like, all my changes in Plex, are fine, because I always have the database file... Yeah, not when Plex shits itself. π
Because I do things like, clean up the genre tags, and (because I can't edit networks manually in Plex) clean up the networks entry and put it in Studio.
for sort_title instead of <<collection_name>> use <<collection_sort>> and itll sort correctly ie ignores The and A
TIL
always learning something new with PMM lol
So sort_title: "!040_<<collection_sort>>"?
Handy to know π
For the lists in template, does it matter if I leave the / on the end?
template: {name: lt3dave, list: star-wars-in-release-order} Vs template: {name: lt3dave, list: star-wars-in-release-order/}
Shouldnβt matter as itβs the end of the url
Cool, thanks π
This post has been marked as Resolved and will be closed in one hour.
If you require further assistance on this issue, you can send another message in this post to re-open it.
If you require further support that is unrelated to this post, please start a new post and do not re-open this one.
Thanks for using Plex Meta Manager.
How do you go about restoring all your posters to the new Plex server?
(Hilariously I'm doing this right now, but have lost the backup, so this is the plan)
I used one of Mr. Carrots fantastic scripts to pull all the posters from Plex, they are then stored in a folder structure that is exactly the same as my movies.
Then when it comes time to restore them, ATM I would do it manually, because it's just a simple case of drag and drop a single folder, and it puts all the posters in the correct place as they are in the correct sub-folders. The step after this would be to create a bat file and leave it with the movies, so I can run that and it'll just dump a copy where the movies are.
alright, possible to share that script? I might have more questions later on if that's okay.
Carrots Scripts are available from: https://github.com/chazlarson/Media-Scripts
Fairly easy to use, I had zero knowledge of Python when I used them, the readme and knowledge of PMM gave me enough to know how to set the things I needed to set, and learning how to run python was easy enough as it required me to do 2 lines of stuff, the first to update requirements, and then the second was just running the script.
Thank you! You make it sound so easy, I will give it a shot!
It can be intimidating, but don't stress. It doesn't require you to learn a whole new language, and like I said, commands it wants you to run are easy.
Just make sure you set things correctly. If you're unsure, remember it's best to create a small test library first, and run it on that and see if it behaves how you want it to, so you don't accidentally break something π
Will do, thanks again!π