#PMM is creating duplicate automated TV collections for me
1 messages · Page 1 of 1 (latest)
Welcome @rich widget!
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.
📝 If you want to review this again, drunkencolumbus:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝
Author of Linked Message: DrunkenColumbus
Person who Invoked the Command: DrunkenColumbus
File Name: meta.log
Table of Contents:
Page 01: User Info
Page 02: PMM Info
Page 03: PMM Summary Info
Page 04: PMM Config.yml YAML Validation ✅
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Rec 01 - ❌ [ERROR]
Page 09: Rec 02 - ❌ METADATA ATTRIBUTE ERRORS
Page 10: Rec 03 - ❌ METADATA LOAD ERRORS
Page 11: Rec 04 - ❌ TO BE CONFIGURED ERROR
Page 12: Rec 05 - ⚠️ [WARNING]
That's normally some form of Plex database corruption
not sure if related but the logs show 3 different hulu folders now too
Plex doesn't let two collections exist with the same name
I'd try running DBRepair tool or something
Operations were running fine before? Any tips on running DBRepair tool on Unraid or where to find it?
shouldn't the PMM be replacing the collections as it runs too? I thought that's what it was doing pretty well up until recently
I'm really bad/new at Unraid/commands, trying to figure out how to use the DBRepair tool for Unraid right now.
I've run a few checks and the databse seems fine
everything else on plex seems to work fine too. Maybe it's a PMM config error?
Unfortunately no
Plex does not allow two collections to exist with the same name
If that's happening, there is an issue with Plex
It should never create that second and third collection
All PMM does is make API calls, Plex is responsible for saying "Hey, I already have a Hulu collection so I'll update that one"
Instead it's saying "cool let me create a Hulu collection", bypassing the check to see if one already exists
ughhhhhhhh
you have some issues with files/collections being called twice
but that's not causing this
I tried to manually fix the database but came up with no errors
brain too small to figure out how to use this with Unraid
I can try Optimizing Database?
You can try it
ran it, duplicate collections are still around
It wouldn't automatically delete them
you'd have to delete them and see if they're recreated
alright I'm gonna delete the duplicates > Optimize Database > run PMM
then we'll see what happens
no issues for the Movie collections i've had it automate for me either, only the Network related collections
unfortunately, it did not work
original still shows up as blank, updated one without a poster is created again
i think this needs the DBRepair to see if that works
If that fails, I would look to recreate the library
I know it's a lot to ask, but do you think you could help walk me through how to use DBRepair with Unraid?
Someone from the team might know how to set up DBRepair in Unraid
@flat cliff maybe?
He's a busy guy, might take him a little bit to respond
my question is, why is it only for a few Network TV collections and not ALL of them? my IMDB Popular collection is updated but not duplicated
Database corruption is a fickle thing 🙂
when I ran this in the console, it came back with an "ok", so idk
Wazzup
Bonjour
Unraid stuff?

its 1 file that you need to put into 1 folder
then run it from within the container
so where do you wanna start?
start from the beginning I guess lol
so I was born in 1992
did you download the file?
say I'm on a windows PC running things
ok got it
a bit more into the files than yours but it should be here right?
ok done
perfect...
you know how to console into a container in unraid?
In docker tab left-click on plex icon, choose >_Console
should I stop Plex while we do this or can it run?
alright console open
select 1 and it will stop the PMS process ithint the container
get a confirmation that it is STOPPED
then choose 2
okay gimme a sec to let someone know that it's gonna stop
alright stopping
alright
it's doing its thing
2
yeah I did 2, it's running
ok it's Started
type exit
and then exit again to exit the console to the PLEX container
Y/N?
Y
ok exited
back over to you @wintry harness
hahaha
It says it made repairs
So now delete the collections
and run PMM a couple times
see if Plex is still being a little sh*t
yes
says 21 items but nothing shows up when I open it
alight, I'll delete all the TV PMM collections
wtf
I'm suffering
are you getting the Busy DB Sleeping 200ms
the console in the plex server settings.
it would also show in the log they shared
but id also look at the logs in PMS server as other stuff might be posted there
I've never seen that in the docker logs.
Huh.
hmmm
situation has gone from bad to worse 😭
most of this is not making much sense to be honest
playing media works tho
how do you currently play media that is in TV Shows?
from the Home page
your previous statements seem contradictory
I can switch between Home and Movies with no issue, but get slapped with the Something Went Wrong as soon as I try opening TV Shows
you may need to recreate your TV Shows library

ok
we're getting there
it's loading in the shows right now
would rolling back the database be a solution?
gonna lose a lot of work if I create the TV Shows library from scratch again
but yeah @flat cliff, creating TV Shows2 works and TV Shows (original) doesn't
stopping TV Shows2, taking up a lot of CPU for a troubleshooting step
UPDATE: Restarting the Plex container fixes it, but it immediately reverts to not being able to load as soon as I try to delete a single one of the misbehaving collections
Collections that are causing Plex to crash now are identifiable via Mobile btw. They have a square shape instead of the standard poster size
christ, this is maddening
Ok. Is there a way to delete this broken collections without doing it from the Plex UI (which crashes every time I attempt it)?
the only affected collections are ones that PMM manages.
never ever seen this before
square icons
phone works but not elsewhere
delete teh collections by manually selecting them in plex and deleting them
but if you cannot get to TV SHows, not sure how you can select the collection tab
to then select the collections to delete
pmm run with -dc will delete all collections
ALL
Opening up the context menu for the corrupted collections immediately crashes the instance
you can try and restore a backup
not sure how you ended up here and in this state
restore seems like the proper course
or try using pMM to delete those collections
is there a way to delete ONLY the TV Network collections and not ALL the collections? (Via PMM?)
Others may know
To delete collections
So what I did was restore from a database backup from a few days ago
and immediately delete all my PMM collections for TV
this worked immediately
running PMM again to see if the problem occurs again
if it does, then it's 100% a PMM issue
all Network and TMDB collections deleted
now running again to see if duplicates pop up
actually not sure why posters are not popping up for a lot of them
not just a TPDB issue, it's a "these were the same collections that got corrupted last time" issue
okay, it's replicable @flat estuary @flat cliff
it's definitely something in my config that's corrupting the database every time
How do we know db is not corrupted before you start?
because the only issue are the hyper specific PMM collections and every time I delete everything and run PMM again, they're the same collections that get created and corrupted all over again
The following was shared by @rich widget and was automatically redacted by Luma as it may have contained sensitive information.
If you feel this message should not have been redacted, resend it with !noredact in your message to avoid redaction.
The following was shared by @rich widget and was automatically redacted by Luma as it may have contained sensitive information.
So if we take your tv.yml and use it in our Plex, corruption will happen?
"corruption" is a strong word, but it definitely causes an error that makes it difficult to delete collections without a "Something went wrong" error
every time
until the culprit is specificly identified, I've restored from an older database and disabled PMM
Version of Plex ?
4.116.1
1.32.8.7639
You have been asked to provide your config file, which will allow us to support you further.
Please DO NOT share your config.yml file as is without redacting it. It contains information that you do not want the public to have, nor do we need it to troubleshoot your scenario in MOST cases.
We will use a regex parser to redact the file for you.
:one: Goto https://regex101.com/r/DMo1DQ/latest
:two: Copy the contents of your config.yml to the TEST STRING box in that page
:three: The results will be immediate and found in the SUBSTITUTION box below
:four: From the SUBSTITUTION box, select all, then copy and paste the redacted text into the channel where you want to share your config. (You will see (redacted) where confidential information was replaced)
Consider using Discord code blocks when sharing small parts of your config file. Check out !code for more info on code blocks
explain
the file name is already shown above
How are you running this file within your config.yml file.
You gave me the file but I want to replicate how you run it
Hence my request for a redacted config.yml
I will just run it as is with my test library
There's a redacted config above
I'll be glad to run PMM again once I/we can figure out what kind of redundancy or error is written into the config files here
just too frustrating to keep restoring my database over and over again to pinpoint it
I'm still running
Can you share what I should look for once it completes or the repro steps?
(1) run PMM at least twice or three times in a row
above screenshot shows broken collections for me
(2) See if duplicate collections show up. Try to open collections that show up as square in the screenshot below(they won't be square for you, but these are the ones that gave me issue)
(3) attempt to delete the problematic collections
(4) crash with "Something went wrong" as soon as the context menu opens up for a problematic collection
luckily I have lots of database backups so I didn't lose much to fix things. But I lost literal hours trying to troubleshoot. For now I'm happy with PMM disabled until the problem can be pinpointed,.
📝 If you want to review this again, bullmoose20:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝
Using Asset Directory: \NZWHS01\appdata\Plex-Meta-Manager\assets
Connected to server NZWHS01 version 1.32.6.7557-1cf77d501
Running on Linux version 6.1.64-Unraid
Plex DB cache setting: 2048 MB
PlexPass: True on Public update channel.
Scheduled maintenance running between 2:00 and 5:00
Connected to library TestTV Shows
Type: Show
Agent: tv.plex.agents.series
Scanner: Plex TV Series
Ratings Source: N/A
TestTV Shows Library Connection Successful
collections that got borked for me were: Apple TV+, Disney+, FX, HBO, HULU, NETFLIX, and PRIME
I am actually on a slightly earlier version of Plex... just noticed

Ok. So run 1 is done. Now I need to run it again
So I understand, can you take a screenshot of what your Plex looks like now after the restore? If it's somewhere in this thread, please link it?
As well the message here states to look for duplicates... #1193991180615172348 message. It the image has no duplicates showing, correct?
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
TPDB
which means that they won't have icons when you run it on your end
these are the collections to expect no posters for
So all those poster images are coming from tpdb?
not just square icons tho right? Failure to open/delete certain collections?
At this rate you’ll have the same number of HBO collections as HBO streaming services attempts in the last 10 years lmao
Now phone images
Somehow on mobile it KNOWS which ones are broken and they show as square
After six runs I have no duplicates.
Interesting how the web client does not seem to show the square icons
Chaz, version of Plex for you is 1.29 or are you testing on something else?
This server running 1.32.8.7639
Ok so same as DrunkenColumbus
hove now run a few more times with no problems.
Gonna try and delete the strange collections via Plex web client
Unraid issue maybe?
What's the minimum config to reproduce this? I can do a couple quick runs on my end
As soon as I clicked on the first Disney one, top left, immediate crash. Plex is ded
I just referenced the linked TV.yml into my regular pmm-test-config.
ty
hotio container?
Yes
FYI, my test library already had my kitchen sink config applied.... then I ran DrunkenColumbus tv.yml
And I already had the collections that then became dupes
did a run with -dc, then two without after that, still fine.
So I'm in no ways trying to skirt around this issue
But if you aren't doing any Sonarr things, wouldn't it be quicker for you to use smart filters on the network? And they would auto-update as you add new media.
rather than having to parse network lists from tmdb?
For sure, it just seems wildly inefficient to use tmdb networks
OK, so not correlated with a specific image.
So Plex recovered
Both users are on unraid? are you?
I am not. This is ubuntu.
So maybe an ubuntu web server issue?
I went back, deleted two with the 4 posters images and that worked
Initially/ideally I wanted it for Streaming services, but I couldn't get it to work so I settled on Network instead
We can come back to this after 🙂
If I click on the select for the other square logo ones... immediate crash
Generally speaking square logos are reserved for playlists, so that is wild behaviour
I'm not totally upset about it either since by Network seems more reliably categorized
We can discuss moving over to smart filters once we iron this out 🙂
plus I want the IMDB popular and trending collections too
I would actually be interested in seeing if a Smart Filter version of this produces the same crash
I actually highly doubt it
besides, I'd rather have PMM be the automator of these things than have to do a Smart Collection for every. single. network.
that's the whole point of PMM
you can choose what networks you want and have PMM make them🙂
after I disabled PMM, they all show as Smart Filters now. Interesting.
lost my IMDB collection for TV tho
The ones that PMM created for me from your YML are all smart collections from the get-go.
they're Smart Label collections
they had a gray gear icon before, now they're purple
idk if that makes sense
you can scroll up and compare
That file you provided doesn't have an IMDB collection in it, so I'm not sure what this means.
They have - pmm: imdb
OK so that seems totally expected.
I also don't get the talk about switching to smart labels; the existing TV.yml is all smart labels.
I meant switching away from smart labels
I have a notably much smaller library than most, and have mine set to ignore any networks for which there are not a minimum of 3 items
and doing
smart_filter:
all:
network: <<network>>
so that you don't have to reach out to TMDb at all
Ah.
avoids all of this parsing malarky
if y'all can troubleshoot my configs, maybe you can make that adjustment?
would be much obliged
Yeah we want to work this out first I think
I, for one, can't reproduce any problems.
also I really miss TPDB, hope they get their site fixed soon
I'm sure they'll find a solution 🙂
Maybe it means its an Unraid issue? but yet also not bound by which Plex image is used?
makes no sense
Both plex images (hotio/plexinc) would use the same/similar underlying "base" image, right?
perhaps
Same tags in docker
I really don't know if the image is to blame since the config files reproduced the issue
but anything's possible I guess
The only common denominator right now we're aware of is that both of you are on unraid
I have been using the kitchen sink config forever and never saw this until I ran your tv.yml against it
there's not even a lot of stuff in the TV.yml either
maybe it's the config.yml?
is the Sync Mode right?
I don't like being defensive but I don't see any way right now how this can be a PMM issue
all PMM is doing is making API calls
If the API call is invalid, Plex would reject it
Plex is accepting those API calls, and something internal to Plex is then causing it to start causing these issues
That's my take on it anyway
yeah not attacking PMM in any way, just think I might've made some kind of error in the config files by doing things myself
Web client goes dumb dumb until you hit f5 to refresh, log back in and try to delete and it will crash
This isn't something you've "done" from what I'm seeing
You've likely discovered a bug
The exact reproduction steps right now are unclear
I would be interested in chopping down that TV.yml to see if it happens if you have say 2 networks
I will attempt a run with -dc to try and kill the offending collections
first run is done
keep it rolling, run it 3 times to be sure
you don't think the TPDB going down affects the way the config is set up do you?
this issue is shockingly very recent
No, I don't see that having any involvement
PMM will just say "I can't find that image"
run 2 complete
seeing these collections with 1 item in them, I see you're trying it without the config.yml
None of your collections have 0 items
Same with Chaz
Yeah... until you end up with collections with 0 items, I don't think the repro happens
I think that's part of the problem - you're not "meant" to have 0 item collections
when you say "collections with 0 items" could you elaborate?
the only collection 0 items I have is this one and it's a "divider" or something as part of the config
Look at the square icons in my photos and yours... how many items in them?
I've run separator_award to force 0 items
ran it 3 times
no issues
I can't open the award separator because it has 0 items in it
but it doesn't cause any other issues
Try to navigate to other pages without hitting F5
the Network Collections separator didn't seem to give me an issues when I was experiencing things
I was able to freely switch between Home and Movies though
Again... did you see my images and yours... the square icons have 0 items
was that with or without the config file? just the TV.yml?
if I open the 0 items collection via the Plex Web client:
if I open it via my server URL:
You cannot run PMM without a config file
on the server URL, does it crash when you click the 3 dots?
I don't think it's related but yeah
no
not saying he ran it entirely without one, just whether it was the one I provided
No
I used my own config.yml

That's after two runs.
Now that I deleted all collections and reran, I cannot repro
And those have items in them so I was able to delete in Plex web client
I think having duplicates to begin with was part of what made it crash when trying to delete
without the duplicates might be a different behvaior
I used mine and cannot repro again... trying to repro after I ran with -dc
A web client crash is not the same as a server crash
I have not seen the server crash
that might be why it's not repro for you
My uptime is good on the container
my web client always crashed, I don't think my server crashed either tbh
Ok. So this is not the same type of critical issue that I thought
I am on my third run
replacing the database file with an older backup always fixed it for me too. Whether that's directly related or not idk
I will them make my config look a little more like yours to try and repro
I did not have to restore any db
I simply deleted the collections and let pmm finish what it did and that's what you saw above in my second video
So after three runs, I cannot repro from a fresh -dc run
I will now add what you have in your config to mine and test again
also
please try to open the collections to verify the shows are actually inside
had the Netflix one say it had 22 items but opening it was a blank box
tho that was again an instance where it had a duplicate made
I need to repro the issue again...
I'm running with similar configuration to yours
- file: config/metadata/TV.yml
- pmm: network
- pmm: imdb
template_variables:
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
I cannot repro
Notice how duplicates won't get created...
Gonna. Or try to repro with my full config and your tv.yml
Against my test library
You keep referring to a "similar" config, did you copy all the settings too?
The following was shared by @rich widget and was automatically redacted by Luma as it may have contained sensitive information.
If you feel this message should not have been redacted, resend it with !noredact in your message to avoid redaction.
The following was shared by @rich widget and was automatically redacted by Luma as it may have contained sensitive information.
after Music and before Webhooks*
I still cant repro it again
Can you offload those 9 or make them PMM managed so that you can perform a -dc on TV Shows and fix this issue for you?
What’s the best way to “offload” 9 collections?
Need some cool scripts? Check out chazlarson's repo at: https://github.com/chazlarson/Media-Scripts
See the repo for current offerings, which may vary from this list.
Plex scripts:
:one: user-emails.py - extract user emails from your shares
:two: reset-posters-tmdb.py - reset all artwork in a library to TMDB default
:three: reset-posters-plex.py - reset all artwork in a library to Plex default
:four: grab-all-posters.py - grab some or all of the artwork for a library from plex
:five: grab-all-status.py - grab watch status for all users all libraries from plex
:six: apply-all-status.py - apply watch status for all users all libraries to plex from the file emitted by the previous script
:seven: show-all-playlists.py - Show contents of all user playlists
:eight: delete-collections.py - delete most or all collections from one or more libraries
:nine: refresh-metadata.py - Refresh metadata individually on items in a library
Plex-Meta Manager scripts
:one: extract_collections.py - extract collections from a library
:two: pmm_trakt_auth.py - generate trakt auth block for PMM config.yml
:three: pmm_mal_auth.py - generate mal auth block for PMM config.yml
TMDB scripts
:one: tmdb-people.py - retrieve TMDB images for a list of people
It's only typing... :tm: chazlarson
He has lots of stuff that might help
Ah shit, I’m bad with python. I’m not sure how to install the scripts
the readme gives a step by step.
modified my config to match yours [except for radarr and sonarr since they aren't being used, and I didn't add the two libraries that aren't being used]. Will see if that has any effect.
clone repo
Install requirements with pip install -r requirements.txt [I'd suggest doing this in a virtual environment]
cd to desired directory
Copy .env.example to .env
Edit .env to suit
These are instructions for someone who fully understands how to use python
What does -dc do again?
it deletes all collections at the start of the run. ALL collections, not just PMM-created collections. Every last one.
What platform are you on?
Unraid
Oh, that's right. I could give you instructions for any other platform but unraid makes simple things like "run a python script" way more painful. Can you run it on another computer?
Let me ask you, does exporting the collections export their poster images too or only the names of the shows that belong in each collection?
Yes or no?
I really really don't want to delete my collections (i.e. lose all their custom posters) to fix an issue that only occurs with PMM, especially with TPDB being down indefinitely
It will generate something like this for each collection:
collections:
ABC:
sort_title: +++_ABC
url_poster: ./config/TV Shows - 4K-artwork/ABC.png
summary: A collection of ABC content
collection_order: release
plex_search:
any:
title:
- Twin Peaks
- Strange World
- Designated Survivor
- The Good Doctor
There is other information in the docs that you may find valuable which is why I'm pointing to it.
Run what on another computer, the Collection extraction?
I maybe could?
I access my server via my windows PC
on windows:
Install Python
Install git
Those two steps are covered in the PMM local walkthrough
then, using Powershell:
clone repo
cd ~
git clone https://github.com/chazlarson/Media-Scripts.git
cd Media-Scripts
Install requirements with pip install -r requirements.txt [I'd suggest doing this in a virtual environment]
Create the virtual environment:
python -m venv pmm-venv
Install requirements:
python -m pip install -r requirements.txt
cd to desired directory
cd Plex-Meta-Manager
Copy .env.example to .env
copy .env.example .env
Edit .env to suit
notepad .env
Refer to the readme for required settings.
For this script, all that should matter are:
PLEX_URL=https://plex.domain.tld # URL for Plex; can be a domain or IP:PORT
PLEX_TOKEN=PLEX-TOKEN
Save the file, then
python extract_collections.py
I gotta install python on windows right?
wait who was our Unraid expert? was it @flat cliff
gotcha, installing Python and GIT now
and Chaz has scripts that will pull selected posters for ALL of your libraries so you have a copy of those.
i was never able to repro the issue again last night or this morning. I must have run pmm 40 times
First run with your config [or as close as I can come]:
yup... no dupes and no 0 item collections other than the separators
since my -dc run last night, i was unable to repro and get the same as you
which is why the recommendation is to export out his collections (non-PMM created at a minimum) and then do a -dc run
second run no change
how do I know if it worked after python extract_collections.py
It should have created a bunch of new files and downloaded a bunch of images.
not sure if that last part is right
ModuleNOtFoundError: No module named 'helpers'
Have you installed all your python requirements?
Did you remember to do that with your python virtual environment if applicable?
If you followed our walkthough guides, then its within your pmm-venv.
Generally the following works after you activate your python venv:
python -m pip install -r requirements.txt
Alternatively, if you see this:
ModuleNotFoundError: No module named 'pkg_resources'
You will also likely need to perform the following command under the activated python venv:
python -m pip install setuptools
The script is making a request to download the image based on information that Plex gave it; Plex is responding "Don't have one of those"
Try leaving the slash off the end of your Plex URL
That's another flavor of the same thing.
script: "Hey Plex, what's the URL to the image for this collection?"
Plex: "It's /whatever/whatever/1234"
script: "OK can I have /whatever/whatever/1234 please?"
Plex: "I don't have such a thing."
There's nothing you can do to address it.

What would be reasonable/expected in this case in your opinion?
Should the script just continue without an image?
I don't understand what you mean by that.
it's in the screenshot
That error is not saying that utils.py is not found.
It's saying that on line 440 of utils.py, the server returned a "not found" response to a request.
why did it work for Movies but not TV Shows?
You'd have to ask the Plex Server. The script is just asking Plex for a thing.
Does the relevant collection in Plex have a poster?
that might be it
i think that script should continue CHaz
IMDB Popular collection lost its poster when I disabled PMM
log the error and continue as there culd be others that are valid
Then that's the source of the error.
Should it export the YAML without the image? or skip the collection entirely?
btw, is grab_all_posters.py a better option here? I forget if you do collections in GAP.py
we got 4% further!
It will grab the art but not the collection definition.
just gonna delete all these Network collections, I think them not having actual poster files is breaking the thing
That's exactly what's breaking it.
As a dumb analogy:
"Hey, mom, do you have a measuring cup?"
"yes, it's in the first cupboard"
"Can I have the measuring cup from the first cupboard?"
"There's no measuring cup in the first cupboard"
You can't ask any differently to get that measuring cup.
That did it
The script doesn't deal with that currently.
i forgot that he was looking for yml defs
alright so everything is done, what's the next move?
Have you taken a look to verify that what fell out is what you expect?
before you delete anything from plex?
what fell out? you mean the collections that were causing issues?
yeah, deleting all the Network collections i.e. 99% of the PMM's TV collections fixed the extraction process
we're 100% 100%
I mean the yaml files and images that were produced by that script.
Do you have a library named "Movies 4K"? If not, that's what's happening there.
dumb question but how do I see these?
The script creates a config directory next to itself that contains them.
Everything is as expected
maybe one or two like this
Are those referenced in the relevante YAML?
yea
where? Trying to sort out where these no-extension files are coming from.
Ah, I have to escape special characters.
you mean I should delete all colons and run the extraction again?
I should deal with it in the script, but that would be one way.
it worked for about 99% of everything
just one poster that isn't cooperating but I can live with that
Let's move past it
ok adding a fresh poster to that collection fixed it
we're good
How do I run the -dc command and finish out this fix attempt?
add -dc to the end of the command you're using to run PMM.
python plex_meta_manager.py -r -dc look alright?
ok running
running again and again, no dupes so far! @boreal arch
how do I restore the extracted collections from earlier?
You'd add those generated file[s] to your config.
Copy the contents of config over to your PMM config dir, then add:
libraries:
Movies:
collection_files:
- file: config/Movies-existing.yml
...
and run PMM.
also is there a reason why the last half of those collections aren't alphabetical with the rest of them?
I didn't notice before but they seem to have their own organization label that's different
Last half of what collections?
my screenshot?
Apple TV+ was traditionally to the right after Adult Swim
The collections that the defaults create have a sort-title pattern that puts them in that order.
The ones below aren't using that same pattern, and so are sorting elsewhere.
You may find this useful, which demonstrates the concepts:
https://docs.google.com/document/d/1lv5wjmPoM7g5HIo2oXnb04-D-7S_dJB6GSUZppX8sC4/edit?usp=drive_link
Comparing the sort_titles on those two will reveal what's going on.
There you go. ABC is showing the PMM defaults pattern; if you want to insert your own into that you'll need to follwo that pattern.
can't offer anything based on that. What's in your config?
Can you provide the log?
is this how you wanted me to add collection_files?
those three dots were supposed to indicate "and so on for the rest of the files the script created"
they don't go in your config.
LOL whoops I didn't see I copied those over
If you haven't switched to collection_files then just put the file references under metadata_path
I can't edit it for you since you've provided a screenshot and not the log.
The following was shared by @rich widget and was automatically redacted by Luma as it may have contained sensitive information.
If you feel this message should not have been redacted, resend it with !noredact in your message to avoid redaction.
The following was shared by @rich widget and was automatically redacted by Luma as it may have contained sensitive information.
libraries:
Movies:
metadata_path:
- file: config/Movies.yml
- file: config/Movies-existing.yml
- pmm: imdb
template_variables:
item_radarr_tag_popular: popular
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
TV Shows:
metadata_path:
- file: config/TV.yml
- file: config/TV Shows-existing.yml
- pmm: network
- pmm: imdb
template_variables:
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
got it, made the modifications and running PMM now
how do I change that in the config?
You'd set it in the collection definition or template.
details are in that article I linked to, with a bunch of examples.
this was suggested yesterday too
That's got nothing to do with the sorting.
You are correct
it's a separate suggestion
UPDATE: PMM is taking a very long time for each collection but getting an Unknown Error after each single collection
Oh, that appears to be a problem with the script, which obviously you are one of the first people to use.
Open those YAML files in an editor and change all url_poster to file_poster
Or git pull and run v0.0.5
replaced url_poster with file_poster
That should address it
ok running
Good News: the collections have returned!
Bad News: It can't find the poster image files
Ah, dang slashes
I should rewrite that to use assets.
I don't suppose there's anything I can do to fix that other than go in manually poster-by-poster?
It's probably two search-replaces.
find ./config\Movies-Artwork\ replace with config/Movies-Artwork/
The again for the TV one.
in which file?
the two YAML files the script produced.
got it
it did not work
FIXED: The config looks for the path Movies-Artwork when the default folder names spit out by the extractor are Movies-artwork. The uppercase/lowercase makes all the difference.
also for some reason, it searches Movie Collections all over again while running the TV Collections YAML
it seems like all the Movie collection data is copied into TV Shows-existing.yml too
Thanks, will address those.
running the existing-movies all over again while running existing-shows makes PMM take twice as long
If I remove the -existing metadata path for Movies and TV shows to make PMM run faster, will it remove the Collections I brought back?
PMM does not remove anything unless told to specifically, so no.
perfect
You did it
you helped fixed this entire case
I've run PMM multiple multiple times now and no dupes
Huge thank you to all the Mods who hopped into here and helped me with my issue
this is looking like one of the lengthiest posts in #1006644783743258635
Can you show me how to implement this part that you mentioned yesterday?
just the top of TV.yml?
the wiki is unavailable for the Network page
remove .html
gotcha, still can't see anything mention of smart collections on that page
It won't; that's the page describing the default network collections.
trying to circle back to this
Smart collection builders found here:
https://metamanager.wiki/en/latest/files/builders/smart/
YAML checked and is NOT valid. Error message:
while scanning a tag
in "<unicode string>", line 9, column 17:
sort_title: !050_<<collection_name>>
^
expected ' ', but found '<'
in "<unicode string>", line 9, column 22:
sort_title: !050_<<collection_name>>
^
and then like this?
templates:
network:
sort_title: "!050_<<collection_name>>"
sync_mode: sync
smart_filter:
all:
network: <<network_list>>
collections:
HBO:
template: { name: network, network_list: "HBO, HBO Family, HBO Max" }
Cinemax:
template: { name: network, network_list: "Cinemax" }
...
something like that
Seems like these would be covered by the default network collections, though.
Also
So we know -dc seems to fix the problem, but we have no idea how the whole creating duplicate TV collection issue started?
The following was shared by @rich widget and was automatically redacted by Luma as it may have contained sensitive information.
can't seem to figure out why Country collection isn't working for TV but I can get it working for Movies no problem
You will want to stop sharing your config only as the answers lie in the meta.lig. 😉
That config seems fine, so the reason for failure will be in the log.
believe it or not, the answer was that for Movies you use the full name of the country, for TV Shows you use the two letter abbreviation
shoutout to the wiki for explaining things well
except for how to order the Country before the Networks in TV Shows collections
I've been stabbing at it and it's not taking
What do you mean?
IMDB = 020
Networks = 050
Country = 30
Renaming country to 030 in the config is not working so it's always listing after Networks
sort titles*
Logs showing that please
How are you trying to do that?
is there a log file other than the config.yml?
!ligs
metadata_path:
- file: config/TV.yml
- pmm: network
template_variables:
collection_section: 050
- pmm: imdb
template_variables:
collection_section: 020
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
collection_files:
- pmm: country
template_variables:
collection_section: 030
use_other: false
use_separator: false
style: white
include:
- cn
- jp
- kr
sort_by: release.desc
📝 If you want to review this again, drunkencolumbus:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝
Author of Linked Message: Drunken
Person who Invoked the Command: bullmoose
File Name: meta.log
Table of Contents:
Page 01: User Info
Page 02: PMM Info
Page 03: PMM Summary Info
Page 04: PMM Config.yml YAML Validation ✅
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Rec 01 - ❌ [ERROR]
Page 09: Rec 02 - ❌ METADATA ATTRIBUTE ERRORS
Page 10: Rec 03 - ❌ METADATA LOAD ERRORS
Page 11: Rec 04 - ⚠️ [WARNING]
Why do you have both metadata_path: and collection_files:? Pick one or the other.
I didn't know they were the same thing
if I remove them it breaks
They aren't
In that log, you don't have collection_section specfied in the movie library, and it's in correct in the TV library.
That's because I'm okay with the defaults in the Movie library, but I added the collection_section manually in the TV library in an attempt to move Country before Network
(it did not work)
You have:
libraries: # Library mappings must have a colon (:) placed after them
Movies:
metadata_path:
- file: config/Movies.yml
- pmm: imdb
template_variables:
item_radarr_tag_popular: popular
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
collection_files:
- pmm: country
template_variables:
use_other: false
use_separator: false
style: color
include:
- China
- Japan
- South Korea
sort_by: release.desc
TV Shows:
metadata_path:
- file: config/TV.yml
- pmm: network
template_variables:
collection_section: 050
- pmm: imdb
template_variables:
collection_section: 020
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
collection_files:
- pmm: country
template_variables:
collection_section: 030_ # Why the underscore
use_other: false
use_separator: false
style: white
include:
- cn
- jp
- kr
sort_by: release.desc
This should be:
libraries: # Library mappings must have a colon (:) placed after them
Movies:
metadata_path:
- file: config/Movies.yml
- pmm: imdb
template_variables:
item_radarr_tag_popular: popular
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
- pmm: country
template_variables:
use_other: false
use_separator: false
style: color
include:
- China
- Japan
- South Korea
sort_by: release.desc
TV Shows:
metadata_path:
- file: config/TV.yml
- pmm: network
template_variables:
collection_section: 050
- pmm: imdb
template_variables:
collection_section: 020
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
- pmm: country
template_variables:
collection_section: 030 # note that it matches the one just above
use_other: false
use_separator: false
style: white
include:
- cn
- jp
- kr
sort_by: release.desc
note that changing it from 030_ to 030 does not fix it
the underscore was another attempt to trick the system
I am afraid my mind-reader is broken. I have no idea what you've tried if you do not tell us.
Note the remark about leading zeros.
Yes... it's in the wiki...
Can't cover every detail on every page.
What page of the wiki is that on? I'll read it
The shared template variable page, which is linked from every default collection page.
Thank you, I'm learning.
When using PMM defaults. You are best to go to the defaults pages. they are very thorough
This is a good jump point
on the path vs files thing.
Either:
libraries:
Movies:
metadata_path: # pre 1.20
- file: config/Movies.yml
- pmm: imdb
or
libraries:
Movies:
collection_files: # 1.20
- file: config/Movies.yml
- pmm: imdb
are fine, but pick one. the wiki examples will contain the latter.
DON'T DO THIS:
libraries:
Movies:
metadata_path: # pre 1.20
- file: config/Movies.yml
collection_files: # 1.20
- pmm: imdb
gooooot it thank you, I had no idea
A lot of configs shared use path instead of files so I didn't know they were mutually exclusive variables
This was just release with 1.20 which happened a couple of days ago
So there is a lot of catching up for everyone
say I want to add the golden globes to my library, how do I exclude Best Directors and/or Best Picture Winners?
not by year, but overall Best Picture Winners + Best Director Winners
Generally speaking,
use_<<key>>: false
where hte <<key>> is from the table on the page.
Under the shared template variable is something called use_<<key>>
In this specific case:
libraries:
Movies:
collection_files:
- pmm: golden
template_variables:
use_best_picture: false
use_best_director: false
Nearly all the defaults use this same mechanism
thanks again guys, I gotta brush up on the Variable Lists
Those are generally specific to the defaults; you can't use them with random collections of your own.
@flat cliff Can you share elements of your config for connecting PMM to Radarr/Sonarr? That's one last element I haven't been able to get on my own
Root folder path and radarr_path, I'm surely putting in the wrong pathway but not sure of the right one
Also it'd be really cool to have the Golden Globes one temporarily show up every year for a month around this time, and have PMM talk to Radarr to have the winners automatically downloaded.
that's extra tho, not necessary
there's a picture in the wiki showing where the first one comes from.
These things are both simple with template variables.
I think I have it setup for Holiday collections but yeah I'll get to that part later
plex_path and radarr_path are only used for add_existing, which you probably aren't doing so you can leave them blank.
so for root folder it would just be /media/ ?
In your case:
plex_path: /data/MOVIES # since Plex sees /data/MOVIES/Rebel Moon
radarr_path: /media # since Radarr sees /media/Rebel Moon
BUT AGAIN if you are not adding things that are ALREADY IN PLEX to Radarr these are not used for anything.
This nonsense is why on my setups these are always the same path. Everybody looks at /mnt/unionfs/Media or whatever.
No translation between plex sees it here and radarr sees it there and on the host its this other place
it's a riffraff for sure
I was able to change the root_folder_path to the aforementioned and it definitely helped. I don't get that error anymore
I guess no PMM run is without Errors, but it looks better
where are those 49, 359, etc coming from?
I bet you didn't change them in your network file.
This:
templates:
network:
optional:
- network
tmdb_network: <<network>>
sort_title: +2_<<collection_name>>
sync_mode: sync
smart_label: episode_added.desc
collections:
HBO:
template: { name: network, network: "49, 2593, 3186, 3308" }
Cinemax:
template: { name: network, network: 359 }
...
needs to become:
templates:
network:
sort_title: "!050_<<collection_name>>"
sync_mode: sync
smart_filter:
all:
network: <<network_list>>
collections:
HBO:
template: { name: network, network_list: "HBO, HBO Family, HBO Max" }
Cinemax:
template: { name: network, network_list: "Cinemax" }
...
Note that the TMDB IDs have been changed to the names of the networks as Plex knows them.
As I showed above.
Plex has no idea what "network 49" is.
this is what I've setup for Golden Globes, hopefully it checks out
this:
tmdb_network: <<network>>
is "hey TMDB give me shows on the networks with these TMDB IDs"
this:
smart_filter:
all:
network: <<network_list>>
is "Hey Plex give me everything where the network is set to one of these values"
you don't need that exclude.
whoops, leftover
if I delete everything below the smart_filter section (i.e. all in the screenshot) will it still work as intended?
or do I have to adjust the names
If you want to use this:
smart_filter:
all:
network: <<network_list>>
You will have to convert all those numbers to names.
If you want to keep using the numbers, you have to go back to this:
templates:
network:
optional:
- network
tmdb_network: <<network>>
sort_title: !050_<<collection_name>>
sync_mode: sync
smart_label: episode_added.desc
You can't mix and match or delete random stuff.
You may want to try the default network/streaming collections to see if they meet your needs with a single line in the config.
is that possible to just have the default and just exclude whatever I don't like that pops up? Without this long list of collections?
of course.
what would the TV.yml look like then? delete the bulk majority of stuff in the file?
there's an example on the page:
libraries:
Movies:
collection_files:
- pmm: network
template_variables:
style: white
append_exclude:
- BBC
sort_by: title.asc
collection_mode: show_items
sep_style: gray
This example gets rid of BBC
TV.yml would go away.
You would add a reference to the network and/or streaming defaults to your config.
like so?
Wait, you have it there already:
libraries:
TV Shows:
metadata_path:
- pmm: network ## right here
template_variables:
collection_section: 050
- pmm: imdb
template_variables:
collection_section: 020
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
- pmm: country
template_variables:
collection_section: 030
use_other: false
use_separator: false
style: white
include:
- cn
- jp
- kr
sort_by: release.desc
Maybe what you want to add is streaming:
libraries:
TV Shows:
metadata_path:
- pmm: network
template_variables:
collection_section: 050
- pmm: imdb
template_variables:
collection_section: 020
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
- pmm: country
template_variables:
collection_section: 030
use_other: false
use_separator: false
style: white
include:
- cn
- jp
- kr
sort_by: release.desc
- pmm: streaming ## here
template_variables:
sep_style: amethyst
visible_library_disney: true
visible_home_disney: true
visible_shared_disney: true
sonarr_add_missing_hulu: true
radarr_add_missing_amazon: true
sort_by: random
with whatever template variables you want or need.
thjere's also studio
https://metamanager.wiki/en/latest/defaults/both/studio/
I'll give streaming a chance, studio definitely wasn't what I was looking for (mostly)
adding schedule: range(01/01-02/31) to Golden Globes only added the 2020 Winners, so i'll have to try something different I guess
That has nothing to do with what ends up in the collection.
idk why that popped up then
template_variables:
radarr_add_missing: true
use_best_picture: false
use_best_director: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
schedule: range(01/01-02/31)```
Would need to see the log.
📝 If you want to review this again, drunkencolumbus:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝
The years are controlled by the data template variable.
And I think the default is the last 5 years.
starting to regret adding Streaming as it checks for eveeeeery single show on the streaming services
There's no other way it could work.
yeesh, alright. I'll let it continue to do its thing and see if the results look OK when its done
This log shows PMM trying to create 5 golden globes collections:
| Keys (Title):
| - 2024
| - 2023
| - 2022
| - 2021
| - 2020
Touches 2024:
|============================== Adding to Golden Globe 2024 Collection ==============================|
|
| 1/3 | Golden Globe 2024 Collection | = | Oppenheimer (2023)
| 2/3 | Golden Globe 2024 Collection | = | Barbie (2023)
| 3/3 | Golden Globe 2024 Collection | = | Killers of the Flower Moon (2023)
You don't have enough of the movies from 2023-2021 to create a collection:
| Collection Minimum: 3 not met for Golden Globe 2023 Collection
| Collection Minimum: 3 not met for Golden Globe 2022 Collection
| Collection Minimum: 3 not met for Golden Globe 2021 Collection
then touches 2020:
|============================== Adding to Golden Globe 2020 Collection ==============================|
|
| 1/3 | Golden Globe 2020 Collection | = | 1917 (2020)
| 2/3 | Golden Globe 2020 Collection | = | Once Upon a Time in Hollywood (2019)
| 3/3 | Golden Globe 2020 Collection | = | Parasite (2019)
Seems to be doing what you have told it to do.
ahhh that makes sense
so would I want it to look more like this?
template_variables:
radarr_add_missing: true
use_best_picture: false
use_best_director: false
data:
starting: latest-1
ending: latest
to what end?
yes, if what you want is for it to create collections for the last two years instead of the last 5
If you want just the latest year, make them both latest
You've also removed all the schedule stuff you had before. If you want that to happen, then yes.
template_variables:
radarr_add_missing: true
use_best_picture: false
use_best_director: false
data:
starting: latest
ending: latest
schedule: range(01/01-02/31)```
how's that?
yeah, really wishing there was a way to skip PMM from listing all Missing Shows from Library
there is.
shows only the latest GG winners, only visible for the first two months of the year, send missing stuff to radarr. Prior to January 10 or whatever, it will show the previous year's winners, I think.
If that's what you want, carry on.
I don't know if the imaginary end date will cause problems.
All shared online. Click my avatar and hit link
This already would work
Every time I try to run it with the new settings, the whole goddamn power goes out
Unrelated ofc, major rainstorms rn
UPS was a good investment tho
ok the new settings worked perfectly, PMM ran like a racecar this time around
but the Golden Globes schedule is seemingly not working
Maybe you need latest and latest-1.
no...
not again...
dunno why a dupe showed up but it didn't cause any issues and I was able to delete it easily
also, there's not any way to have Streaming Services collections but with no overlap is there?
the overlapping media is pushing me back towards Networks
By "overlap" you mean things that are on two streaming services? No, because how would you choose which one included the thing?
yeah makes sense, looks like I'll go back to Networks for now
that seemed to work 👍👍
Tautulli PMM collection doesn't seem to be working for my movies either
template_variables:
use_watched: false
list_days_popular: 7
list_size_popular: 10
visible_library_popular: true
visible_home_popular: true
visible_shared_popular: true ```
I have the URL and API key set up further down the config file too
📝 If you want to review this again, drunkencolumbus:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝
Author of Linked Message: Drunken
Person who Invoked the Command: Luma
File Name: meta.log
Table of Contents:
Page 01: User Info
Page 02: PMM Info
Page 03: PMM Summary Info
Page 04: PMM Config.yml YAML Validation ✅
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Rec 01 - ❌ [ERROR]
Page 09: Rec 02 - ⚠️ [WARNING]
Without me opening up the meta.lig, please share why you believe there is a Tautulli issue?
The image does not seem to have any reference to Tautulli
Luma does not seem to mention something failing around apikey either...
Movies:
collection_files:
- file: config/Movies.yml
- pmm: imdb
template_variables:
item_radarr_tag_popular: popular
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
- pmm: golden
template_variables:
radarr_add_missing: true
use_best_picture: false
use_best_director: false
data:
starting: latest-1
ending: latest
schedule: range(01/01-02/31)
visible_home_popular: true
visible_library: true
visible_shared_popular: true
- pmm: country
template_variables:
use_other: false
use_separator: false
style: white
include:
- China
- Japan
- South Korea
sort_by: release.desc
- pmm: tautulli
template_variables:
use_watched: false
list_days_popular: 7
list_size_popular: 10
visible_library_popular: true
visible_home_popular: true
visible_shared_popular: true
TV Shows:
collection_files:
- pmm: network
template_variables:
use_separator: false
collection_section: "050"
exclude:
- The WB
- CBS
- ABC
- FOX
- pmm: imdb
template_variables:
collection_section: "020"
name_popular: Popular
order_popular: 0
summary_popular: ''
use_popular: true
use_top: false
use_lowest: false
visible_home_popular: true
visible_library: true
visible_shared_popular: true
- pmm: country
template_variables:
collection_section: "030" # note that it matches the one just above
use_other: false
use_separator: false
style: white
include:
- cn
- jp
- kr
sort_by: release.desc
- pmm: tautulli
template_variables:
use_watched: false
list_days_popular: 7
list_size_popular: 10
visible_library_popular: true
visible_home_popular: true
visible_shared_popular: true ```
not an error per say but trying to figure out why Tautulli + PMM aren't creating a Plex Popular collection
been somewhat hard to troubleshoot with the power going out constantly with these storms
actually, it works for TV Shows but not movies?
"Unknown Error" 
We require more low-level logs from your PMM run in order to be able to assist your further; we call these "trace logs" and they give us a more in-depth look at what is happening behind-the-scenes when PMM is running.
in order to get trace logs, you need to run PMM again using the --trace environment variable.
Once you have completed your run with Trace enabled, you can find your meta.log file within the logs folder of your Plex Meta Manager config folder [typically where you would find your config.yml]
Drag-and-drop your meta.log file directly into the Discord support thread. If the file is larger than 50mb, we suggest zipping it or uploading it to another file-sharing website.
Please DO NOT manually extract, copy and paste text from your log files directly into Discord as the formatting can be difficult to read and can often redact parts of the log file that are important for full context.
📝 If you want to review this again, drunkencolumbus:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝
Author of Linked Message: Drunken
Person who Invoked the Command: Drunken
File Name: meta.log
Table of Contents:
Page 01: User Info
Page 02: PMM Info
Page 03: PMM Summary Info
Page 04: PMM Config.yml YAML Validation ✅
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Rec 01 - ❌ [ERROR]
Page 09: Rec 02 - ⚠️ [WARNING]
If you look at them in context both those errors have clear causes.
Trying to figure out why the Plex Popular collection isn't working for Movies but works for TV Shows
if the errors in context have an obvious reason for why Plex Popular it's not working for Movies, please help me understand it.
Config Error: collection_files attribute is blank
In your Music library, you have no collections files specified:
| Music: |
| collection_files: |
| # see the wiki for how to use local files, folders, URLs, or files from git |
| settings: |
The other:
|================================= Running Plex Popular Collection ==================================|
| |
| Sync Mode: sync |
| |
| Builder: tautulli_popular: {'list_type': 'popular', 'list_days': 7, 'list_size': 10, 'list_minimum': 0, 'list_buffer': 0} |
| |
| Processing Tautulli Most Popular: 10 Movies |
| Tautulli CMD: get_home_stats |
| Tautulli Params: {'time_range': 7, 'stats_count': 10, 'section_id': 1} |
| Traceback (most recent call last): |
| File "//plex_meta_manager.py", line 764, in run_collection |
| builder.filter_and_save_items(builder.gather_ids(method, value)) |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "/modules/builder.py", line 2069, in gather_ids |
| ids = self.library.Tautulli.get_rating_keys(value, self.playlist) |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| File "/modules/tautulli.py", line 54, in get_rating_keys |
| raise BadRequest |
| plexapi.exceptions.BadRequest |
| |
| Unknown Error: |
Plex Popular isn't being created because Tautulli returned an error when asked for the top ten movies. I don't know offhand what might be causing that, but it's likely on the Tautulli side. Perhaps it doesn't have enough data?
definitely not lacking data on Tautulli, practically drowning in data. Strange.
That was just a guess. PMM's making the request and Tautulli is saying GAH I DON'T LIKE THAT QUESTION
answer my questions Tautulli
if i leave it as pmm: tautulli with no additional settings it still doesn't grab the data
sure hope you meant - pmm: tautulli and NOT - pmm: Tautulli
yes, the lowercase as shown in the config snippet I shared much further up
Inexplicably it is working now
Cheers gents
This is a looooong support thread so feel free to mark this case as closed
I really appreciate all the help everyone has given me with fixing the dupes (that we still don’t know why it happened) and for getting my PMM config off the ground.
I’m indebted to you all.
Hello @rich widget, 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.



