#Help with radarr_tag for Movie Collections File

1 messages Β· Page 1 of 1 (latest)

remote meteor
#

Trying to add

templates: radarr: radarr_add_missing: true radarr_tag: universes

To the top of a movie file, but seem to be making a rookie mistake somewhere

solemn nebulaBOT
#

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.

remote meteor
random hill
#

Config Warning: template: radarr_tag must be a dictionary

remote meteor
#

Yeah

#

Just noticed

#

At the bottom of this one

random hill
#

send a copy of this file
config/movies-universes.yml

remote meteor
#

Is the templates bit, happy to send the whole file if needed πŸ™‚

random hill
#

yeah send the whole thing please

remote meteor
#

Sure thing, one sec

random hill
#

so you aren't calling that template against your collections

remote meteor
#

Ok, newbie question... What does that mean πŸ™‚

#

Those collections in the file, aren't being told to use that template, right?

random hill
#

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
remote meteor
#

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.

random hill
#

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

remote meteor
#

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?

random hill
#

the simplest approach is to add
template: {name: radarr}
to each of your collections

#

Dynamic Collections aren't a very great option for this

remote meteor
random hill
#

Sure you could

remote meteor
#

But I'm trying to avoid that if possible πŸ˜„

random hill
#

You can't really

#

PMM does not assume you want a template applied

remote meteor
#

So templates can't apply to whole files, just individual collections?

random hill
#

Correct

remote meteor
#

Balls.

#

Asking for curiosities sake to learn, not to be antagonistic, is there a reason why?

random hill
#

Because often people have multiple templates in one file

remote meteor
#

And call each one as needed.

random hill
#

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

remote meteor
#

That's why this one is called movies-universes

random hill
#
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."
    
remote meteor
#

I had them in one file originally, but then decided to split it up πŸ™‚

random hill
#

put as much as possible into the template

#

then you only need to specify what is "different"

remote meteor
#

That works.

#

So I understand most of the stuff in that template, but mind answering some newbie questions on bits of it?

random hill
#

of course

remote meteor
#

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?

random hill
#

Yes

#

You can also override things in the template if you call it out within the collection

remote meteor
#

Ok, and if I include something under the collection...

random hill
#

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
remote meteor
#

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.

random hill
#

🀣

#

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
remote meteor
#

Rigggghhhhttttt

random hill
#

it will still apply the rest of the template, like the radarr stuff

remote meteor
#

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.

random hill
#

yes

remote meteor
#

Smart

#

I feel like I'm learning so much and then some simple issue pops up and makes me realise I know nothing.

random hill
#

🀣

#

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

remote meteor
#

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.

random hill
#

It's how we do Editions stuff for users who don't have Plex Pass

remote meteor
#

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.

random hill
#

mhm πŸ™‚

remote meteor
#

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.

peak cape
#

Questions are awesome

random hill
#

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

remote meteor
#

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.

remote meteor
remote meteor
random hill
#

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

remote meteor
# random hill I use these to force refreshes of items added in the last X days so that casting...

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.

random hill
#

Ah good old Plex πŸ˜„

#

FYI Carrot has some useful scripts for rebuilding servers (things like grabbing and reapplying your watch history)

remote meteor
#

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.

remote meteor
random hill
#

🀣 πŸ˜„

remote meteor
#

I had to learn how to use some python because of Carrot.

random hill
#

Carrot enforcing wisdom upon the masses!

remote meteor
#

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.

random hill
#

Take as much power away from Plex as possible, the only way to win!

remote meteor
#

I miss Kodi 😦

random hill
#

Let PMM and Media Scripts do everything πŸ˜„

remote meteor
#

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.

boreal parrot
random hill
#

TIL

boreal parrot
#

always learning something new with PMM lol

remote meteor
#

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/}

boreal parrot
#

Shouldn’t matter as it’s the end of the url

remote meteor
#

Cool, thanks πŸ™‚

solemn nebulaBOT
#

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.

leaden dagger
remote meteor
# leaden dagger 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.

leaden dagger
remote meteor
#

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.

leaden dagger
remote meteor
# leaden dagger 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 πŸ™‚

leaden dagger