#Plex Meta Manager hangs when using overlay
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.
- pmm: resolution
template_variables:
use_dv: false
use_hdr: true
use_4k: true
use_1080p: false
use_720p: false
use_576p: false
use_480p: false```
[2022-11-11 01:07:33,685] [builder.py:2297] [INFO] | |
[2022-11-11 01:07:33,685] [builder.py:2299] [INFO] | Collection Filter edition: ['Director'] |
[2022-11-11 01:07:33,685] [builder.py:2297] [INFO] | |
[2022-11-11 01:07:33,685] [builder.py:2299] [INFO] | Collection Filter filepath.regex: ['edition-(?i)\\b(4k )?Director(s|ed)?\\b', '(?<=[0-9]{4}[)}>\\]]\\s)\\b(4k )?Director(s|ed)?\\b'] |
[2022-11-11 01:07:33,685] [overlays.py:388] [DEBUG] | |
[2022-11-11 01:07:33,685] [overlays.py:389] [DEBUG] | Builder: plex_all: movie |
[2022-11-11 01:07:33,685] [overlays.py:390] [INFO] | ```
[2022-11-11 01:07:33,685] [overlays.py:390] [INFO] | |
[2022-11-11 01:07:33,686] [plex.py:910] [INFO] | Processing Plex All Movies |
[2022-11-11 01:07:33,686] [plex.py:517] [INFO] | Loading All Movies from Library: Filme |
[2022-11-11 01:07:52,017] [plex.py:526] [INFO] | Loaded 5552 Movies |
[2022-11-11 01:07:52,027] [builder.py:1574] [DEBUG] | |
[2022-11-11 01:07:52,028] [builder.py:1575] [DEBUG] | 5552 IDs Found |
[2022-11-11 01:07:52,031] [builder.py:1577] [DEBUG] | |```
Here is a "top" of the Docker container
I just restarted the container once and now it runs longer.... I'll keep an eye on it...
Pmm does have memory issues this is probably about that I haven’t figured out anyways to mitigate that
basically the only thing you can try to make it run smoother and without hanging is split up the work it does into smaller separate runs, do one run for operations for tv, then operations for movies, etc, then do collections for tv, collections movies, then do overlays tv, etc etc
you can either use schedule for it or use the launch parameters like -rl "MOVIES" -ov for example
Interestingly, it always hangs at "Gathering Items for Directors-Cut-Dovetail Overlay" - no other step.
Note: Overlay Files cannot be individually Scheduled.
So I can't schedule the overlay at all?
Or can it be because I have "Director Cut" files where there is a ' in the filename? So "Director's Cut"? That it then hangs?
You can schedule overlays, but you can't schedule them individually [resolution on Monday, audo_codec on Tuesday]. The overlay system has no knowledge of history, so on Tuesday PMM would remove the resolution overlay and apply only the audio_codec overlay.
I don't think it is stored by PMM.
If I now specify "daily" but have several runs a day, it must know that it already ran today?
Nope.
A scheduler should always make sure that it runs at least within the interval.
PMM would run that daily thing every time PMM runs.
Ahh Ok
If something is scheduled for "Monday" it will run every time PMM runs on a Monday.
This requires a bit of rethinking to other applications/programming. If I set the scheduler to 5pm, but I don't have a run at 5pm, then the scheduler will never run. Unfortunately, it is not possible to have the PMM check every minute which schedules are due and which it is now processing, as is otherwise known from schedulers.
If you know and understand this... you can adjust to it... then I have to completely rebuild my construct once to a structure that fits the run times. 🙂
If you want to be sure something runs at 4PM on Monday, the simplest way would be to schedule that thing for Monday [as a preventative against it running on other days] and then manually run PMM [with flags to narrow it down if wanted] at 4 PM on Monday.
I personally don't use the built-in scheduler much; I just schedule manual runs using cron.
So you work more via parameters where you specify exactly what should happen?
In itself, I feel the point of centralized control over configuration is very, ... but the concept of the scheduler contradicts me, so I'll probably handle it the same way you do.
This sort of thing, running only overlays on only the 4K movies:
docker run --rm -ti --user 1000:1000 --rm -it -v /opt/Plex-Meta-Manager/config:/config meisnate12/plex-meta-manager:nightly -c /config/config.yml -rl "Movies - 4K" -ov -ca --run
@fading iron is this ready to be closed?