#streaming.yml modification - filename regex

1 messages ยท Page 2 of 1

ancient ice
#

their image doesn't work right

#

!lsio for more info ๐Ÿ™‚

modest dove
#

i trust you guys

distant needle
#

last 2 recommendations should be addressed, but looks good to actually start troubleshooting the runs

#

and yes... _> Console into the PMM container

#

Run Command: plex_meta_manager.py

#

so that you can actually run the trace

#

and specify the config

glass spire
distant needle
#

someone lurking.... lol

modest dove
#

here's the culprit

jovial thornBOT
#

The Linuxserver.io image [linuxserver/plex-meta-manager] Is different to the official image [meisnate12/plex-meta-manager] in a few ways that cause problems.

The LSIO image only has latest, no develop or nightly. If you want to switch to develop or nightly to try a new feature, you can't with LSIO image.

It keeps the PMM files in a different place inside the image compared to official, so when you exec into it you can't just run PMM, you need to cd into another dir first.

It also resets ownership of the entire config dir every run. In tests, the ownership of the config dir and its contents was set to 911:911 with each run. The official image runs as root by default, and will set the ownership of the files it creates during that run to root if you don't specify a user, but lsio appears to reset the entire config tree rather than just a log file or two with every run.

Generally speaking, we suggest you use the official image instead of lsio. type !repo for more info

modest dove
#

there you go

distant needle
#

when you console i, your command will be something like: python plex_meta_manager.py -r -tr -ov

modest dove
#

yea

distant needle
#

which will focus on your overlays, and trace

#

if you want it only overlays for your test library, you could do something like: python plex_meta_manager.py -r -tr -ov -rl "TestMovies"

modest dove
vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**Rec 02** - โŒ **MASS_*_UPDATE ERROR**

โŒ MASS_*_UPDATE ERROR
You have specified a mass_*_update operation in your config file however you have not configured the corresponding service so this will never work.
Review each of the lines mentioned in this message to understand what all the config issues are.
In the PMM discord thread, type !wiki for more information and search.
For more information on mass_*_update operations, [https://www.metamanager.wiki/en/latest/config/operations.html]
9 line(s) with mass_*_update config errors. Line number(s): 532-534, 561-563, 696-698

modest dove
#

i guess i have to use enviromenal variables?

#

for trakt?

#

its in my config

distant needle
#

unraid can be janky at time

jovial thornBOT
#

In some circumstances [typically NAS], it can be difficult to run PMM in the interactive mode required for authenticating against MyAnimeList and Trakt.

chazlarson has a scripts that can do this authentication outside of PMM in his repo, but that requires you to be able to run a Python script on your computer or NAS, which may not be possible for whatever reason.

You can run those scripts online [on any OS] here:
https://replit.com/@chazlarson/MALAuth
https://replit.com/@chazlarson/TraktAuth

Click the green play button, wait a little bit, then follow the prompts.

distant needle
#

use the second link

modest dove
#

i have oauth tokens already

#

can i just put them in the config?

distant needle
#

yes.. in the correct section

modest dove
#

yea i have it for a project i wrote

#

so i can just refresh the token and put a fresh one in

distant needle
#

oh wait

#

chaz is typing

modest dove
#

shit worked on lsio though

#

๐Ÿ˜›

distant needle
#

trakt probably thinks its a new machine

#

so needs a new token

modest dove
#

oh that might be

#

delete the tokens then and let it run?

snow wren
#

There's an interactive component to the trakt setup. You can:

  1. run the container in an interactive fashion so you can get the pin and enter it at PMM runtime; this is tricky with unraid
  2. put a PIN in the config to skip that interactive bit
  3. use the script linked above to do it out of band and generate the config block to copy-paste into the config.
distant needle
#

queue up the unraid you scamp giphy

modest dove
#

have my own oauth script

#

wont be linked to a device either

snow wren
#

if it generates the bits required in the config, then go ahead. Can't guarantee it will work, however.

modest dove
#

i mean it gets the token and the refresh

#

that's all i needed for what i was doing

snow wren
#

There is no way for anyone here to guarantee what you have there will work. It might, it might not. The three methods above will.

modest dove
#

ok ill do #2

#

seems easiest

#

๐Ÿคทโ€โ™‚๏ธ

snow wren
#

This discussion has already consumed far more time than any of those would have taken. ๐Ÿ˜‰

modest dove
#

just put the pin in there right?

#

k

#

i have a token now

#

i have a feeling this is gonna be repetitive

vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฌ LEGACY SCHEMA DETECTED
Page 08: Rec 02 - โŒ MASS_*_UPDATE ERROR

modest dove
#

k

vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฌ LEGACY SCHEMA DETECTED

modest dove
#

weird placement for sure, not sure how that happened

#

movies doesnt seem to have added them though

distant needle
#

ok. lets peek at the last log

modest dove
vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฌ LEGACY SCHEMA DETECTED

modest dove
#

i checked my offsets, i dont understand where this is ending up there

#

and movies isnt doing streaming at all

#

and i know they have the streaming service

distant needle
#

strange that 0 overlays were processed

#

i don't see anything in that last log that indicates that ANY overlays are being applied

modest dove
#

i dont know why that would be the case

#

you can see my config right, there's overlays...

distant needle
#

well... that could have been from another run

modest dove
#

noi mean the bot

#

shows my config

distant needle
#

yes... i see your config

#

and i see the meta.log

modest dove
#

there's overlays

distant needle
#

buti dont see that overlays were applied

#

meta.log would have that

#

let me check for other possible errors

thorn thistle
#

Overlays are not applied every run

#

So we'd need the log from that specific run

distant needle
#

can you look at the logs?

thorn thistle
#

Me?

distant needle
#

its like its not even reading the yml files

#

yeah anaon please

#

extra set of eyes

thorn thistle
#

I'm on mobile rn walking

#

I can when I get home

distant needle
#

ok... so just so you know...

thorn thistle
#

Like 20 minutes or so

distant needle
#

its not that he is getting hte overlay update not needed nessage

#

he is not getting anything... no ERROR or CRITICAL

modest dove
#

i mean it has to be

distant needle
#

its like the file is not being read or seen

modest dove
#

cuz i put the mdblist and trakt api keys

#

and those errors went away

#

and it updated the tokens

distant needle
#

I agree zakary which is why I am confused

modest dove
#

:/

distant needle
#

this is your test lib, right?

modest dove
#

yea

#

like ~10 items

distant needle
#

can you make a copy of your config and we are gonna trim it down

modest dove
#

you want the source.yml too?

#

that i include with -file

distant needle
#

then we can use the -c "/config/temp-config.yml"

#

pmm should be readin those in

#

i wonder if its a perms issue again

modest dove
#

i mean it wouldnt be able to read anything then

distant needle
#

can you go and see what the perms are like in that pmm config dir

modest dove
#

its connecting to plex....

distant needle
#

no... the config.yml is fine... its the sub directories

#

there is something not right

#

before we fiddle with perms

modest dove
#

drwxrwxr-x 1 nobody users 88 Nov 20 10:27 plex-meta-manager/

#

rwxrwxr-x 1 nobody users 88 Nov 20 10:27 ./
drwxrwxrwx 1 nobody users 474 Nov 19 19:14 ../
-rwxrwxr-x 1 nobody users 36 Nov 19 16:27 UUID*
drwxrwxr-x 1 nobody users 94486 Nov 20 02:40 assets/
-rwxrwxr-x 1 nobody users 11452416 Nov 20 10:27 config.cache*
-rwxrwxr-x 1 nobody users 18292 Nov 20 11:12 config.yml*
drwxrwxr-x 1 nobody users 226 Nov 20 11:31 logs/
drwxrwxr-x 1 nobody users 338 Nov 20 10:27 overlays/

distant needle
#

lets not fiddle there... let me write up a simple config

#

where is source.yml

thorn thistle
#

I can't even download the log on mobile

#

0 bytes when I dl

vocal turtleBOT
#

The following was shared by @modest dove 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.

modest dove
#

it did not Luma

#

๐Ÿ˜›

distant needle
#

sorry zakary... I mean the actual dir path to source.yml

#

where are you putting that

modest dove
#

root@PLEXARY:/mnt/user/appdata/plex-meta-manager/overlays# ls -al|grep sources
-rwxrw-rw- 1 nobody users 3791 Nov 20 11:22 sources.yml*

distant needle
#

argh... lol it always amazes me

#

that directiiry is a directory that is used by pmm to backup posters and a working fdir for overlays

#

do not put any yml files in there

modest dove
#

lol

#

its named overlays :/

#

i was just like oh a dir

#

named exactly what it is

#

moved to /config

#

there's other overlays

#

why wouldnt those apply and just not the file

#

ya that didnt fix anything

#

also removed file and still nothing

vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฌ LEGACY SCHEMA DETECTED

distant needle
#

one sec as I create you a new config file to test with

thorn thistle
#

Yea I see what you meant bull

#

It's not even pre loading any ymls

distant needle
thorn thistle
#

I'm almost home though and I'll be able to dig a little deepet

distant needle
#

@modest dove if you can use this new file

#

and through all the plex tokens and stuff after the last line in the attached, that would be great

thorn thistle
#

But I gotta go to sleep soon. Worked all night 9pm to 530am and it's now 1pm and I haven't slept yet ugh

distant needle
#

i saw you jump in so wanted to bring you up to speed

thorn thistle
#

It's all good. I probably won't sleep until after kids get home from school anyway

#

You'll likely figure it out before I get home too ๐Ÿ˜›

modest dove
#

ran instantly again, nothing done

#

should i try a new config dir

distant needle
#

can you again share teh meta.log from that run

modest dove
#

new config dir

vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: No Recommendations

modest dove
#

wait

distant needle
modest dove
#

i might have figured it out

#

i dont think so but maybe

#

dont hate me.

vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฅ NO ITEMS FOUND IN PLEX
Page 08: Rec 02 - โŒ PLEX REGEX ERROR

distant needle
#

what was it...

#

this file is 5MB now

modest dove
#

im aware

distant needle
#

instead of 61kb

modest dove
#

i dont want to tell you what the problem was

#

lol

distant needle
#

LSIO!!!!!!

modest dove
#

no

#

nothing to do with that

#

so, when i was fixing my config after switching to the new cntainer, i set operations only

#

and then forgot to unset it

distant needle
#

env variables on the template

modest dove
#

yea.

#

i unset them all now

distant needle
#

i saw that and was gonna say... hmmm... thats wiered

modest dove
#

and boom

distant needle
#

this is why we try to avoid that in the template... but al;l; good

#

lets move on

modest dove
#

im sorry, i'm on like 3 hours of sleep in the last 40 hours

distant needle
#

there are certain env vars that cannot be used together

modest dove
#

i didnt think about it because i was running it from console

distant needle
#

its not obvious from the wiki IMO

modest dove
#

so like, i didnt think to even look at env variables

distant needle
#

ok.. so now lets look a the logs

modest dove
#

but i got desperate and noticed when i went to change the mount

distant needle
modest dove
#

oh

#

yea cuz i changed the mount

#

hold on

vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฌ LEGACY SCHEMA DETECTED
Page 08: Rec 02 - ๐Ÿ’ฅ NO ITEMS FOUND IN PLEX
Page 09: Rec 03 - โŒ PLEX REGEX ERROR

modest dove
#

ugh

#

my bad.

distant needle
#

now you changed the config again

#

lol

modest dove
#

i copied the *.yml

#

cuz im lazy

distant needle
#

lmao

#

the logs dont lie... lol

modest dove
#

shhhhh im sorry!

distant needle
#

hahahahaha

modest dove
vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

modest dove
#

i'm getting my moneys worth outa luma

vocal turtleBOT
#
**User Info**

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: Rec 01 - ๐Ÿ’ฅ NO ITEMS FOUND IN PLEX
Page 08: Rec 02 - โŒ PLEX REGEX ERROR

modest dove
#

same thing though

#

my yml is tripping

distant needle
#

progress

#

and yes it is...

#

can you provide source.yml please

modest dove
#

had it ready

distant needle
#

ok small stuff first.... use 15 instead of 10

#

left top is going to be a problem with resolution the way you wrote this

#

i dont fully know why its tripping up based on the logs

#

i have not fiddled with queues in a very long time

modest dove
#

so lets jut do static for the moment

#

and see if its the queues?

distant needle
#

Overlay Error: template sub-attribute name is required

#

i think this is saying that there is a template name that is missing so it doe snot know which template to go to

modest dove
#

i mean

#

its on every one

#

and its there...

thorn thistle
#

i got you

#

give me one minute

modest dove
#

also i didnt apply overlays for web-dl and all that

#

i just made the template

#

cuz i figured it would need troubleshooting, but not like....that i'd have broken everything

thorn thistle
#
queues:
  sources:
    - horizontal_offset: 10 # This is the first position
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
    - horizontal_offset: 10 # This is the second position
      horizontal_align: left
      vertical_offset: 130
      vertical_align: top

templates:
  rip_source:
    optional:
      - overlay_level
    default:
      overlay: <<overlay_name>>
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
    builder_level: <<overlay_level>>
    overlay:
      name: <<overlay_name>>
      file: /config/overlays/streaming/<<overlay>>.png
      queue: sources
      group: rip_source
      horizontal_offset: <<hor_offset>>
      horizontal_align: <<hor_align>>
      vertical_offset: <<ver_offset>>
      vertical_align: <<ver_align>>
      plex_all: true
      filters:
        filepath.regex: <<regex>>
  source_type:
    default:
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      regex_<<key>>: <<regex>>
    conditionals:
      regex:
        conditions:
          - key: webdl
            value: "(?i)web[ ._-]?dl"
          - key: webrip
            value: "(?i)web[ ._-]?rip"
    ignore_blank_results: true
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>
###################################################################
overlays:
  BluRay:
    template:
      - name: rip_source
        regex: '(?i)\b(BluRay|BDRip|Blu-Ray)\b'
  DVD:
    template:
      - name: rip_source
        regex: '(?i)\bDVD\b'
  Amazon:
    template:
      - name: rip_source
        regex: '(?i)\b(amzn|amazon)\b'
  AppleTV:
    template:
      - name: rip_source
        regex: '(?i)\b(atvp|aptv|Apple TV\+)\b'
  Canal+:
    template:
      - name: rip_source
        regex: '(?i)\b(C(ANAL)?[ .]?(\+|Plus))\b'
  Comedy Central:
    template:
      - name: rip_source
        regex: '(?i)\b(CC)\b[ ._-]web[ ._-]?(dl|rip)?\b'
  CW:
    template:
      - name: rip_source
        regex: '(?i)\b(CW)\b'
  discovery+:
    template:
      - name: rip_source
        regex: '(?i)\b(DISC|DSC)\b'
  Disney+:
    template:
      - name: rip_source
        regex: '(?i)\b(dsnp|dsny|disney|Disney\+)\b'
  HBO:
    template:
      - name: rip_source
        regex: '(?i)\b(hbo)(?![ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  HBO-Max:
    template:
      - name: rip_source
        regex: '(?i)\b(hmax|hbom|hbo[ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  MoviesAnywhere:
    template:
      - name: rip_source
        regex: '(?i)(?<!dts[ .-]?hd[ .-]?)ma\b(?=.*\bweb[ ._-]?(dl|rip)\b)'
  Max:
    template:
      - name: rip_source
        regex: '(?i)\b((?<!hbo[ ._-])max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  Netflix:
    template:
      - name: rip_source
        regex: '(?i)\b(nf|netflix)\b'
  Peacock:
    template:
      - name: rip_source
        regex: '(?i)\b(pcok|Peacock TV)\b'
  Paramount+:
    template:
      - name: rip_source
        regex: '(?i)\b(pmtp|Paramount\+)\b'
  Showtime:
    template:
      - name: rip_source
        regex: '(?i)\b(sho|showtime)\b'
  STAN:
    template:
      - name: rip_source
        regex: '(?i)\b(stan)\b[ ._-]web[ ._-]?(dl|rip)?\b'
#

try that

#

you dont need queue: sources for everyone

#

you just add it under the template

modest dove
#

| 36 | Overlay Error: overlay attribute's group requires the weight attribute

thorn thistle
#

I think that was throwing the sub-attribute error

#

ah yea if you group you need to weight

modest dove
#

each service ?

thorn thistle
#

I dont really see a reason to group tbh

modest dove
#

yea theyll be exclusive

#

| 36 | Overlay Error: overlay horizontal_align attribute <<hor_align>> must be in left, center, right |

#

do you want the full log for this

thorn thistle
#
queues:
  sources:
    - horizontal_offset: 10 # This is the first position
      horizontal_align: top
      vertical_offset: 10
      vertical_align: left
    - horizontal_offset: 10 # This is the second position
      horizontal_align: top
      vertical_offset: 130
      vertical_align: left

templates:
  rip_source:
    optional:
      - overlay_level
    default:
      overlay: <<overlay_name>>
      horizontal_offset: 10
      horizontal_align: top
      vertical_offset: 10
      vertical_align: left
    builder_level: <<overlay_level>>
    overlay:
      name: <<overlay_name>>
      file: /config/overlays/streaming/<<overlay>>.png
      queue: sources
      group: rip_source
      horizontal_offset: <<hor_offset>>
      horizontal_align: <<hor_align>>
      vertical_offset: <<ver_offset>>
      vertical_align: <<ver_align>>
      plex_all: true
      filters:
        filepath.regex: <<regex>>
  source_type:
    default:
      horizontal_offset: 10
      horizontal_align: top
      vertical_offset: 10
      vertical_align: left
      regex_<<key>>: <<regex>>
    conditionals:
      regex:
        conditions:
          - key: webdl
            value: "(?i)web[ ._-]?dl"
          - key: webrip
            value: "(?i)web[ ._-]?rip"
    ignore_blank_results: true
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>
###################################################################
overlays:
  BluRay:
    template:
      - name: rip_source
        regex: '(?i)\b(BluRay|BDRip|Blu-Ray)\b'
  DVD:
    template:
      - name: rip_source
        regex: '(?i)\bDVD\b'
  Amazon:
    template:
      - name: rip_source
        regex: '(?i)\b(amzn|amazon)\b'
  AppleTV:
    template:
      - name: rip_source
        regex: '(?i)\b(atvp|aptv|Apple TV\+)\b'
  Canal+:
    template:
      - name: rip_source
        regex: '(?i)\b(C(ANAL)?[ .]?(\+|Plus))\b'
  Comedy Central:
    template:
      - name: rip_source
        regex: '(?i)\b(CC)\b[ ._-]web[ ._-]?(dl|rip)?\b'
  CW:
    template:
      - name: rip_source
        regex: '(?i)\b(CW)\b'
  discovery+:
    template:
      - name: rip_source
        regex: '(?i)\b(DISC|DSC)\b'
  Disney+:
    template:
      - name: rip_source
        regex: '(?i)\b(dsnp|dsny|disney|Disney\+)\b'
  HBO:
    template:
      - name: rip_source
        regex: '(?i)\b(hbo)(?![ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  HBO-Max:
    template:
      - name: rip_source
        regex: '(?i)\b(hmax|hbom|hbo[ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  MoviesAnywhere:
    template:
      - name: rip_source
        regex: '(?i)(?<!dts[ .-]?hd[ .-]?)ma\b(?=.*\bweb[ ._-]?(dl|rip)\b)'
  Max:
    template:
      - name: rip_source
        regex: '(?i)\b((?<!hbo[ ._-])max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  Netflix:
    template:
      - name: rip_source
        regex: '(?i)\b(nf|netflix)\b'
  Peacock:
    template:
      - name: rip_source
        regex: '(?i)\b(pcok|Peacock TV)\b'
  Paramount+:
    template:
      - name: rip_source
        regex: '(?i)\b(pmtp|Paramount\+)\b'
  Showtime:
    template:
      - name: rip_source
        regex: '(?i)\b(sho|showtime)\b'
  STAN:
    template:
      - name: rip_source
        regex: '(?i)\b(stan)\b[ ._-]web[ ._-]?(dl|rip)?\b'
modest dove
#

i think i can fix this

#

now this

thorn thistle
#

im confused now

modest dove
#

i removed group

#

cuz it was error'ing

#

do i need that?

thorn thistle
#

it complained about | 36 | Overlay Error: overlay horizontal_align attribute <<hor_align>> must be in left, center, right | but then said that horizonatl_align has to be left, center or right

modest dove
#

yea you had hor and ver switched

#

in the queue

#

hor was top

#

ver was left

#

or i had it like that and you didnt change it

#

either way, it was wrong

#

it was probably me

thorn thistle
#

ok whats the yml look like now?

modest dove
vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฅ NO ITEMS FOUND IN PLEX
Page 08: Rec 02 - โŒ PLEX REGEX ERROR

thorn thistle
#
queues:
  sources:
    - horizontal_offset: 10 # This is the first position
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
    - horizontal_offset: 10 # This is the second position
      horizontal_align: left
      vertical_offset: 130
      vertical_align: top

templates:
  rip_source:
    optional:
      - overlay_level
    default:
      overlay: <<overlay_name>>
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      weight_<<key>>: <<weight>>
    builder_level: <<overlay_level>>
    overlay:
      name: <<overlay_name>>
      file: /config/streaming/<<overlay>>.png
      queue: sources
      horizontal_offset: <<horizontal_offset>>
      horizontal_align: <<horizontal_align>>
      vertical_offset: <<vertical_offset>>
      vertical_align: <<vertical_align>>
      weight: <<weight_<<key>>>>
      plex_all: true
      filters:
        filepath.regex: <<regex>>
  source_type:
    default:
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      weight: <<weight_<<key>>>>
      regex_<<key>>: <<regex>>
    conditionals:
      regex:
        conditions:
          - key: webdl
            value: "(?i)web[ ._-]?dl"
          - key: webrip
            value: "(?i)web[ ._-]?rip"
    ignore_blank_results: true
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>
###################################################################
overlays:
  BluRay:
    template:
      - name: rip_source
        weight: 1800
        regex: '(?i)\b(BluRay|BDRip|Blu-Ray)\b'
  DVD:
    template:
      - name: rip_source
        weight: 1700
        regex: '(?i)\bDVD\b'
  Amazon:
    template:
      - name: rip_source
        weight: 1600
        regex: '(?i)\b(amzn|amazon)\b'
  AppleTV:
    template:
      - name: rip_source
        weight: 1500
        regex: '(?i)\b(atvp|aptv|Apple TV\+)\b'
  Canal+:
    template:
      - name: rip_source
        weight: 1400
        regex: '(?i)\b(C(ANAL)?[ .]?(\+|Plus))\b'
  Comedy Central:
    template:
      - name: rip_source
        weight: 1300
        regex: '(?i)\b(CC)\b[ ._-]web[ ._-]?(dl|rip)?\b'
  CW:
    template:
      - name: rip_source
        weight: 1200
        regex: '(?i)\b(CW)\b'
  discovery+:
    template:
      - name: rip_source
        weight: 1100
        regex: '(?i)\b(DISC|DSC)\b'
  Disney+:
    template:
      - name: rip_source
        weight: 1000
        regex: '(?i)\b(dsnp|dsny|disney|Disney\+)\b'
  HBO:
    template:
      - name: rip_source
        weight: 900
        regex: '(?i)\b(hbo)(?![ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  HBO-Max:
    template:
      - name: rip_source
        weight: 800
        regex: '(?i)\b(hmax|hbom|hbo[ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  MoviesAnywhere:
    template:
      - name: rip_source
        weight: 700
        regex: '(?i)(?<!dts[ .-]?hd[ .-]?)ma\b(?=.*\bweb[ ._-]?(dl|rip)\b)'
  Max:
    template:
      - name: rip_source
        weight: 600
        regex: '(?i)\b((?<!hbo[ ._-])max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  Netflix:
    template:
      - name: rip_source
        weight: 500
        regex: '(?i)\b(nf|netflix)\b'
  Peacock:
    template:
      - name: rip_source
        weight: 400
        regex: '(?i)\b(pcok|Peacock TV)\b'
  Paramount+:
    template:
      - name: rip_source
        weight: 300
        regex: '(?i)\b(pmtp|Paramount\+)\b'
  Showtime:
    template:
      - name: rip_source
        weight: 200
        regex: '(?i)\b(sho|showtime)\b'
  STAN:
    template:
      - name: rip_source
        weight: 100
        regex: '(?i)\b(stan)\b[ ._-]web[ ._-]?(dl|rip)?\b'
#

i added wieghts and I think I fixed the horizontal_align issue also

modest dove
#

32 | Overlay Error: No builders were found

thorn thistle
#

well were further now but there is a builder

#
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>
#

wait i see it

modest dove
#

the other errors are just cuz i dont hae bluray or dvd .png yet

thorn thistle
#

fix these lines here

#

the plex_all, filters and filepath so it lines up with the overlay:

#

line 33 34 and 35

modest dove
#

yea i did it in both

#

no bulders still

thorn thistle
#

the second one was fine

#

let me try some stuff and Ill run it againest my test library

modest dove
vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฅ NO ITEMS FOUND IN PLEX
Page 08: Rec 02 - โŒ PLEX REGEX ERROR

modest dove
thorn thistle
#

adding some shows that have the correct filenames. will take a minute

ancient ice
#

your indentation is wrong here

#

move that along to the right

#
plex_all: true
filters:
  filepath.regex: blah
modest dove
#

you two

#

lets get on the same page

ancient ice
#

example from the wiki:

modest dove
#

?

thorn thistle
#

no

ancient ice
#

move filepath.regex along two spaces

modest dove
thorn thistle
#
queues:
  sources:
    - horizontal_offset: 10 # This is the first position
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
    - horizontal_offset: 10 # This is the second position
      horizontal_align: left
      vertical_offset: 130
      vertical_align: top

templates:
  rip_source:
    optional:
      - overlay_level
    default:
      overlay: <<overlay_name>>
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      weight_<<key>>: <<weight>>
    builder_level: <<overlay_level>>
    ignore_blank_results: true
    plex_all: true
    filters:
      filepath.regex: <<regex>>
    overlay:
      name: <<overlay_name>>
      file: /config/streaming/<<overlay>>.png
      queue: sources
      horizontal_offset: <<horizontal_offset>>
      horizontal_align: <<horizontal_align>>
      vertical_offset: <<vertical_offset>>
      vertical_align: <<vertical_align>>
      weight: <<weight_<<key>>>>
  source_type:
    default:
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      weight: <<weight_<<key>>>>
      regex_<<key>>: <<regex>>
    conditionals:
      regex:
        conditions:
          - key: webdl
            value: "(?i)web[ ._-]?dl"
          - key: webrip
            value: "(?i)web[ ._-]?rip"
    ignore_blank_results: true
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>
###################################################################
overlays:
  BluRay:
    template:
      - name: rip_source
        weight: 1800
        regex: '(?i)\b(BluRay|BDRip|Blu-Ray)\b'
  DVD:
    template:
      - name: rip_source
        weight: 1700
        regex: '(?i)\bDVD\b'
  Amazon:
    template:
      - name: rip_source
        weight: 1600
        regex: '(?i)\b(amzn|amazon)\b'
  AppleTV:
    template:
      - name: rip_source
        weight: 1500
        regex: '(?i)\b(atvp|aptv|Apple TV\+)\b'
  Canal+:
    template:
      - name: rip_source
        weight: 1400
        regex: '(?i)\b(C(ANAL)?[ .]?(\+|Plus))\b'
  Comedy Central:
    template:
      - name: rip_source
        weight: 1300
        regex: '(?i)\b(CC)\b[ ._-]web[ ._-]?(dl|rip)?\b'
  CW:
    template:
      - name: rip_source
        weight: 1200
        regex: '(?i)\b(CW)\b'
  discovery+:
    template:
      - name: rip_source
        weight: 1100
        regex: '(?i)\b(DISC|DSC)\b'
  Disney+:
    template:
      - name: rip_source
        weight: 1000
        regex: '(?i)\b(dsnp|dsny|disney|Disney\+)\b'
  HBO:
    template:
      - name: rip_source
        weight: 900
        regex: '(?i)\b(hbo)(?![ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  HBO-Max:
    template:
      - name: rip_source
        weight: 800
        regex: '(?i)\b(hmax|hbom|hbo[ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  MoviesAnywhere:
    template:
      - name: rip_source
        weight: 700
        regex: '(?i)(?<!dts[ .-]?hd[ .-]?)ma\b(?=.*\bweb[ ._-]?(dl|rip)\b)'
  Max:
    template:
      - name: rip_source
        weight: 600
        regex: '(?i)\b((?<!hbo[ ._-])max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b)'
  Netflix:
    template:
      - name: rip_source
        weight: 500
        regex: '(?i)\b(nf|netflix)\b'
  Peacock:
    template:
      - name: rip_source
        weight: 400
        regex: '(?i)\b(pcok|Peacock TV)\b'
  Paramount+:
    template:
      - name: rip_source
        weight: 300
        regex: '(?i)\b(pmtp|Paramount\+)\b'
  Showtime:
    template:
      - name: rip_source
        weight: 200
        regex: '(?i)\b(sho|showtime)\b'
  STAN:
    template:
      - name: rip_source
        weight: 100
        regex: '(?i)\b(stan)\b[ ._-]web[ ._-]?(dl|rip)?\b'
#

this is what I have now

modest dove
#

does it error

#

or am i testing it lol

thorn thistle
#

you can test if you want. im waiting for the shows to scan in still

modest dove
#

oh ok

#

thats what i mean

#

2 | Overlay Error: Regular Expression Invalid: (?i)(?<!dts[ .-]?hd[ .-]?)ma\b(?=.*\bweb[ ._-]?(dl

#

thats progress

thorn thistle
#

sonarr had already imported stuff while I was adding shows to my test library

modest dove
#

i need to comment out the mising png's

thorn thistle
#

i would comment out that and

  source_type:
    default:
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      weight: <<weight_<<key>>>>
      regex_<<key>>: <<regex>>
    conditionals:
      regex:
        conditions:
          - key: webdl
            value: "(?i)web[ ._-]?dl"
          - key: webrip
            value: "(?i)web[ ._-]?rip"
    ignore_blank_results: true
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>
#

this is not used right now anyway

modest dove
#

yea

#

regex: '(?i)(?<!dts[ .-]?hd[ .-]?)ma\b(?=.*\bweb[ ._-]?(dl|rip)\b)'

#

trash's moiesanywhere regex

#

| 2 | Overlay Error: Regular Expression Invalid: (?i)(?<!dts[ .-]?hd[ .-]?)ma\b(?=.*\bweb[ ._-]?(dl |

glass spire
#

I think itโ€™s the negative lookbehind to blame here

modest dove
#

should just tag \bma\bweb\b

#

or something

#

its not a release title, its formatted

#

fixed it

#

negative lookbehinds for the win

thorn thistle
#

and it placed the overlays?

ancient ice
modest dove
#

not the way i thought/wanted they would

ancient ice
#

unless you have those resolutions lol

modest dove
thorn thistle
#

need to adjust offsets

ancient ice
#

the incorrect spelling of Cancelled kills me every time ๐Ÿ™‚

#

Americans!!!

thorn thistle
#

its 1 L damn it

modest dove
#

blame @glass spire

#

he wrote that

ancient ice
#

๐Ÿ˜„

#

I don't know who that is but I'll blame them anyway

glass spire
#

blame @coarse void ๐Ÿ‘€

modest dove
#

no text though yet

distant needle
#

you need to move them

modest dove
#

web-dl/web-rip

distant needle
#

still off

modest dove
#

im more concerned about the overlays appearing

#

then i can adjust this shit

#

lol

#

this has taken like 10 hours so far

distant needle
#

and moving resolution down there is typically problematic

modest dove
#

im just pleased as a pig in shit that its working

distant needle
#

well... i blame the lsio image

modest dove
#

you blame @glass spire

#

tag him repeatively

#

he loves it

thorn thistle
#

nah the person to tag is @empty orchid I blame him

distant needle
#

so you have things showing... great... i would move them to their best location next

thorn thistle
#

@empty orchid and @ancient ice they LOVE being tagged

modest dove
#

need a drag and drop squarespace type of thing

#

that would be so dope

distant needle
#

did you just volutneer to write teh GUI for PMM?

modest dove
#

chatgpt is usually so optimistic and like SURE!

#

buuutttt

#

its like nah bro

#

lolol

distant needle
#

your name is not ChatGPT

#

you can do it

modest dove
#

hah

#

i have 3 repo's i'm already active on and currently ignoring

distant needle
#

that says it all

modest dove
#

yeaaaaaaaa

distant needle
#

kidding around of course

modest dove
#

@ancient ice

#

!!!!

ancient ice
#

hi

modest dove
#

i'm writing a gui now

#

bull's orders

#

๐Ÿ˜›

distant needle
#

order? pffft... you volunteered

modest dove
#

indentured servitude

ancient ice
#

yay

#

waiting

#

is it done yet

coarse void
ancient ice
#

hiss

modest dove
#

i need web-dl/rip stuff

#

lol 1400 msg in this thread

ancient ice
modest dove
#

its not showing text

glass spire
#

Both spellings are correct ๐Ÿ‘€

modest dove
#
    default:
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      weight: <<weight_<<key>>>>
      regex_<<key>>: <<regex>>
    conditionals:
      regex:
        conditions:
          - key: webdl
            value: "(?i)web[ ._-]?dl"
          - key: webrip
            value: "(?i)web[ ._-]?rip"
    ignore_blank_results: true
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>```
#

not doing this

coarse void
#

its the same thing as movie vs film

thorn thistle
#

you have it in a second template

ancient ice
#

oh I thought he meant he needed more media

thorn thistle
#

and your not calling it anywhere

ancient ice
#

I was gonna offer him my test pack ๐Ÿคฃ

modest dove
#

oh like use_webdl

thorn thistle
#

nah

ancient ice
modest dove
#

๐Ÿ˜ฆ

thorn thistle
#

your calling the first template here like this

  STAN:
    template:
      - name: rip_source
        regex: '(?i)\b(stan)\b[ ._-]web[ ._-]?(dl|rip)?\b'
#

the - name

modest dove
#

oooh

ancient ice
#

the condition confuses me here

#

actually I think I get it

modest dove
#

WEBDL:
template:
-name: source_type
weight: 150

#

so what do i put....

#

webdl lowercase?

thorn thistle
#

he also needs to add the text: text(whatever) to write the text as an overlay also @ancient ice

ancient ice
#

gotcha

thorn thistle
#

im going to bed now.

ancient ice
#

oh no

thorn thistle
#

been up like 30 hours

ancient ice
#

what's 1 more ๐Ÿ˜‰

#

๐Ÿคฃ

thorn thistle
#

i gotta work tonight too

#

im not off until friday

modest dove
#

i cant thank you enough

#

@thorn thistle

ancient ice
#

you can

jovial thornBOT
#

Plex Meta Manager would not be a success if it wasn't for all the people that spend hours and hours of their personal time to help others out with:

:one: creating/updating/maintaining the PMM code
:two: creating/updating/maintaining all of the posters
:three: creating/updating/maintaining all the yml files to create the overlays and collections
:four: creating/updating/maintaining all the wiki documentation
:five: handling all the support and installation requests
:six: moderating the discord community server for PMM

As such, if ever you have used any of the above over here, why not consider a small donation (one time or monthly) to help the cause?

Click here to help us out with a donation: https://github.com/sponsors/meisnate12

thorn thistle
#

i worked the past 6 days and work like 5 more in a row

ancient ice
#

๐Ÿ‘€

#

๐Ÿคฃ

modest dove
#

i can do that

thorn thistle
ancient ice
#

I was jesting dw

modest dove
#

i donate everywhere

ancient ice
#

WHERES MY DONATION THEN

#

I DONT HAVE ANYWHERE TO RECEIVE THEM BUT IDC

modest dove
#

bitcoin addresses are free

ancient ice
#

true

modest dove
#

i mean, might be hard to cash out if you dont have bank accounts or anything

ancient ice
#

i do lol

#

I don't need donations anyway ๐Ÿ˜„

thorn thistle
#

soh probably should setup a crypto wallet for pmm

ancient ice
#

Soh steals it all ๐Ÿ˜ฆ

modest dove
#

psh

ancient ice
#

he uses it to fund his D&D addiction

modest dove
#

typically upper management mentality

modest dove
#

can you guys fix bash in the container

#

so i can tab to complete

#

and hit up

#

like i hate containers for this so much

#

๐Ÿ˜ฆ

thorn thistle
#

anyway im off to bed

#

see ya guys later

ancient ice
#

toodlepip

modest dove
#

so just text

#

on the queue

#

and replace images

#

sounds so simple

ancient ice
#

does it ๐Ÿคฃ

#

this shit confuses the hell out of me

modest dove
#

psh you're confused?!

#

you're helping ME

#

blind leading the blind

ancient ice
#

hahaha

modest dove
#

i say we just steal the current video_format

#

looking at it now

#

but once again, no nano in the container

ancient ice
#

just copy the file?

modest dove
#

kinda

ancient ice
modest dove
#
    variables: {key: webdl, weight: 60}
    template: 
      - name: source_type```
ancient ice
#

discord formats badly ๐Ÿ™‚

modest dove
#

ya i know :/

#

i need to bind a hotkey to 3 ticks

distant needle
#

up arrow and tab completeion works for me in unraid

#

set template to bash

modest dove
#

ah

#
  WEB-DL:
    variables: { key: webdl, weight: 60 }
    template:
      - name: source_type
  WEBRIP:
    variables: { key: webrip, weight: 60 }
    template:
      - name: source_type```
#

that's it?

ancient ice
#

if it works, yes

#

if it doesn't, no

#

๐Ÿ˜„

modest dove
#

genius

#

yea

#

says its looking for png's

#

so i guess its matching

#

just not doing text

ancient ice
#

what's your current yaml for the template

#

you aren't setting text so

#

yeah ๐Ÿ˜„

modest dove
ancient ice
#

try this

#
  source_type:
    default:
      text_<<key>>: <<overlay_name>>
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      weight: <<weight_<<key>>>>
      regex_<<key>>: <<regex>>
    conditionals:
      regex:
        conditions:
          - key: web-dl
            value: "(?i)web[ ._-]?dl"
          - key: webrip
            value: "(?i)web[ ._-]?rip"
    ignore_blank_results: true
    final_name: text(<<text_<<key>>>>)
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>
modest dove
ancient ice
#
  source_type:
    default:
      horizontal_offset: 10
      horizontal_align: left
      vertical_offset: 10
      vertical_align: top
      weight: <<weight_<<key>>>>
      regex_<<key>>: <<regex>>
    conditionals:
      regex:
        conditions:
          - key: web-dl
            value: "(?i)web[ ._-]?dl"
          - key: webrip
            value: "(?i)web[ ._-]?rip"
    ignore_blank_results: true
    overlay:
      name: text(<<overlay_name>>)
      horizontal_offset: 0
      vertical_offset: 0
    plex_all: true
    filters:
      filepath.regex: <<regex_<<key>>>>
#

try that

#

wait 2 secs

modest dove
#

same

ancient ice
#

edited

modest dove
#

now | 4 | Overlay Error: overlay attribute's horizontal_offset and vertical_offset are required when using text |

#

so progress

ancient ice
#

edited

#

in middle of a game on ps5 so slow replies for 10/15 mins

modest dove
#

that works

#

but its not queued

#

so lemme queue it i guess?

#

tiny af too

#

rofl

glass spire
#

make it bigger

modest dove
#

yea i will when its queued

glass spire
#

but for the streaming from filename would make sense to enable this per episode, rather per whole series, right?

modest dove
#

cross your fingers

#

yea you could i guess

glass spire
#

I am, because I want it after you're done ๐Ÿ™‚

modest dove
#

ok well its not erroring

#

ut its not queuing it either

#

oh i think its because i set them with default

#

but doesnt queuing override that?

#

๐Ÿ˜ฆ

distant needle
#

the work is complete for the recent images requested

modest dove
#

@distant needle queuing isnt working :/

#

i think it might be the offset 0 thing

#

i'm not sure how it functions

ancient ice
#

you don't have source_type in the queue

#

rip_source has queue: sources

modest dove
#

i have it locally

ancient ice
#

THAT DOESNT HELP DOES IT ZAKARY

#

๐Ÿ˜„

#

attach the yaml

#

still playing tho

modest dove
#

yea its all good

#

im just happy it runs now

#

does defining offset/align in the overlay override the queue?

#

seems like it doe.

ancient ice
#

no

modest dove
#

its also displaying web-dl on blurays

#

lol

distant needle
#

havent been following here.... i was focused on the images stuff

modest dove
#

sorry @distant needle i fell aleep

#

you still around?

#

current status -> the queuing does not function, offsets seem to be static regardless of defiition in overlay for source_type template

#

and web-dl appears on bluray releases

modest dove
distant needle
#

Are you grabbing them from GitHub?

modest dove
#

yes

distant needle
#

I'm.... confused to say the least

modest dove
#

ill try again

#

works now

#

weird

distant needle
#

lol

#

I wish all problems resolved that way

modest dove
#

yea i dunno

#

i'm stumped about the rest tbh

distant needle
#

So I think the bluray and webdl on same poster is something I could assist with

#

Can you show me on poster

#

And what is the file name

modest dove
distant needle
#

Can you share the name in text

modest dove
#

127 Hours (2010) [DD 5.1 Bluray-1080p][x264]-EbP.mkv

#

needs backgrounds for them though too, and sizing i guess

#

lots of tweaks to make it look right on top of the web-dl :/

#

gonna try and get that done

distant needle
#

So, for both of those to apply, the regex must have applied

#

To both

#

If you change the poster, remove the overlay label, rerun PMM with trace on, we should see what happens

modest dove
#

like tchange to a different poster in plex?

distant needle
#

Yeah

#

The one without an overlay

#

I presume that movie is in your test movie library

modest dove
vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**PMM Info**
PMM Header

Version: 1.19.1-nightly30 (Docker)
PlexAPI library version: 4.15.6
Platform: Linux-6.1.49-Unraid-x86_64-with-glibc2.28
Memory: 63 GB

Run Command: (redacted)/(redacted)p(redacted)l(redacted)e(redacted)x(redacted)(redacted)m(redacted)e(redacted)t(redacted)a(redacted)(redacted)m(redacted)a(redacted)n(redacted)a(redacted)g(redacted)e(redacted)r(redacted).(redacted)p(redacted)y(redacted) (redacted)-(redacted)r(redacted) (redacted)-(redacted)t(redacted)r(redacted) (redacted)-(redacted)o(redacted)v(redacted)

PMM Footer

Finished Run
Version: 1.19.1-nightly30
Finished: 18:37:49 2023-11-20 Run Time: 0:00:09

Available PMM Versions

as of 2023-11-21 01:38:17

PMM Version (Master branch)

1.19.1

PMM Version (Develop branch)

1.19.1

PMM Version (Nightly branch)

1.19.1-nightly30

distant needle
#

K let me look at the logs.

modest dove
#

also i dunno what it is, but the BR and MA logos are tiny

#

and the DVD is big

distant needle
#

Sources.yml has not changed or what is the latest version please

modest dove
#

the whole specific back_width and back_height thing is confusing for me

#

for like bluray/dvd/ma

#

that <<back_width_<<key>>>>

#

thing

distant needle
#

focusing on regex first to understand why both are getting applied

modest dove
#

yea i know

distant needle
#

Well... I think I have a theory on why you have small icons and why both are showing.

#

To be honest, this is your first PMM external yml file, right?

modest dove
#

i installed yesterday

distant needle
#

I think you've possibly taken sprinting while you're just getting past crawling

modest dove
#

no doubt

distant needle
#

Please don't take that the wrong way

modest dove
#

that's kinda how i do everything

distant needle
#

Like anything I have ever done... I try and then rip back and simplify

#

So queues and conditionals are probably the most complicated

modest dove
#

i'm more than willing to get rid of the web text and just go with it

#

its a very small use case for that

#

and will be replaced within a week at the most with something with a tag usually

distant needle
#

So I think the reason is beaczue web-dl text is getting defaulted

#

Which is why all are being applied always

#

The size is small as PMM tries to apply text and image on one line and then gets pushed to two lines

modest dove
#

because the conditionals are in default: ?

distant needle
#

Likely

modest dove
#

based on today, i'm gonna assume its not as easy as moving them

#

i'm content to just nix the web stuff if its a hassle

distant needle
#

So I guess what I am saying is that what you want to do is possible, but you'll need to take some steps back

#

And then build it back up again

modest dove
distant needle
#

Then you can take running examples

modest dove
#

steps taken back

distant needle
#

lol

#

So... if we can maybe step back a little and decide what your requirements are...

modest dove
#

yea its defaulting i thikn, because i didnt comment the template

#

i was trying to meet my requirements and at the same time make something other people could use

#

but its still tiny

distant needle
#

We can get to that later in terms of something for others...

#

So there is no backdrop on your overlay. Let figure out why

#

And it's not in the correct location

modest dove
#

yea, its all meffed up

#

they're all doing that though

distant needle
#

Let me review

modest dove
#

i can just hardcode the vert/hor offsets

#

since its not queued or anything now

#

right?

#

oh i forgot to remove queue:

#

but yea

distant needle
#

Comment queue line. Set 15 and 15 for defaults

modest dove
#

yea i did that

#

i was just mentioning it because i forgot to do it before i sent

distant needle
#
    back_color: "#00000099"
    back_width: 305
    back_height: 105
modest dove
#

oooo pretty

distant needle
#
templates:
  rip_source:
    optional:
      - overlay_level
    default:
      overlay: <<overlay_name>>
      horizontal_offset: 15
      horizontal_align: left
      vertical_offset: 15
      vertical_align: top
      back_color: "#00000099"
      back_width: 305
      back_height: 105
      weight_<<key>>: <<weight>>
    builder_level: <<overlay_level>>
    ignore_blank_results: true
    plex_all: true
    filters:
      filepath.regex: <<regex>>
    overlay:
      name: <<overlay_name>>
      file: /config/streaming/<<overlay>>.png
      queue: sources
      horizontal_offset: <<horizontal_offset>>
      horizontal_align: <<horizontal_align>>
      vertical_offset: <<vertical_offset>>
      vertical_align: <<vertical_align>>
      weight: <<weight_<<key>>>>
#

So this should fix the defaults

#

And create the backdrops and place it in the top left with a 15px x 15px coordinate

modest dove
distant needle
#

I forgot the radius

#

Damn me

#

lol

modest dove
#

i think the bluray logo is just shitty for this

#

very short and wide

#

i blame sony

glass spire
#

I have to admit, looks very nice so far

distant needle
#
      font: fonts/Inter-Medium.ttf
      font_size: 55
      font_color: "#FFFFFF"
      back_radius: 30
modest dove
#

where am i putting this?

distant needle
#

Defaults section

modest dove
#

when i moved the back_ stuff to default

#

it didnt display it

distant needle
#

Where did you put the last stuff I gave you?

modest dove
#

havent run it yet with that

#

figured dont move forward with half working stuff

#

one change at a time

distant needle
#

Thought the image you shared was with the changes I shared

modest dove
#

i mean i put back_color/width/height in overlay:

#

and thats what it did

#

you said move it to default, so i did and it doesnt display the backgruond now

distant needle
#

I am not running these and just going memory

modest dove
#

yea well it works in overlay:

distant needle
#

Throw it in there for now

modest dove
#

radius is fixed too

distant needle
#

Starting to look sexy

modest dove
#

i mean when a girl spends 18 hours in front of a mirror putting on her make up

#

she better

#

so same principle applies to this

#

๐Ÿ˜›

distant needle
#

Yup

modest dove
#

that was a analogy btw, just realized that sounds like im saying i'm a girl

#

whatever

distant needle
#

So the reason my last did not work was because it had to be placed in both sections

modest dove
#

default and overlay?

distant needle
#

You put the variables in overlay and then the ones with values in the default

#

Share the file again please as I think we are out of sync

modest dove
#

variables being <<>>

#

got it

distant needle
#

Yea

modest dove
#

let me fix it with the variables real quik and make sure it works

#

ill post in 1m

distant needle
#

Yup

modest dove
distant needle
#

You did that correctly now

modest dove
#

yea, i know it seems like it some times, but i'm not a complete dunce ๐Ÿ˜„

#

you gave pretty explicit instructions

#

i can follow those

distant needle
#

Ok. So is it picking the right overlays as I think I only see bluray

modest dove
#

yea it is

distant needle
#

There.. I see all

#

So... what's next?

modest dove
#

lolol

distant needle
#

Because this looks prettt darn close to what you were after?

modest dove
#

yea

#

you can't staticly resize one logo can you?

#

oh nvm

#

you said earlier

distant needle
#

No the logos are not resizable as part of a PMM run

modest dove
#

i dunno minus the web-dl that misses the streaming service condition

#

it seems pretty much like its what i was aiming for

distant needle
#

I know... pretty anti-climactic

modest dove
#

2 Broke Girls (2011) - S03E08 - And the 'It Hole [DD 5.1 WEBDL-720p][h264]-BS.mkv

distant needle
#

In the end we commented 50% of your file

modest dove
#

this seems easy to match

#

well, not easy

#

but we could just make a png of the word WEB and throw it in the folder

#

if you really are looking to waste more time on it

#

ill throw a extremely clunky regex together to not match any of the streaming services and WEB

#

lol

#

that's what i was trying to avoid

#

with teh queue thing

#

actually i dont know how i would do this without a negative lookbehind

#

and those dont work

distant needle
#

So to rephrase your ask...

How can we add a text_overlay to this file to find web-dl items?

modest dove
#

i mean i was trying to keep it simple by just using a png OF the text

#

that way we dont need another template

distant needle
#

You could

modest dove
#

i mean, you said step back, that seems like the easiest solution from my perspective

distant needle
#

Maybe we added the text stuff but could remove that

#

So for now, pick a random png and make that work with the regex

#

And then we can pick an image

#

Or create one

modest dove
#

so while i try and figure this regex out

#

maybe you can give me a template for the text overlay?

#

to match the size/whatever

#

599 steps

#

probably a way better way to do this

glass spire
#

how about that weight dude? isn't somewhat of a priority? an order of execution?

modest dove
#

iono i made ramen

#

ill look at that in a minute

glass spire
#

lol still didn't eat ๐Ÿ˜’

distant needle
#

Weight is when two conditions are met, one of them wins on the poster

#

Video_format.yml is a text_only overlay file.

#

I am building an image overlay with WEB as requested earlier

#

It's just running now and should be done in the next 15-20 minutes

#

Pre populated with many file names to test your regexes against

glass spire
distant needle
#

Possibly but I am not certain

glass spire
#

needs to be tested

distant needle
#

WEBDL.png overlays is now on images repo

modest dove
#

testing now

#

i broke something maybe

modest dove
vocal turtleBOT
#

๐Ÿ“ Great! Let's start to review and make recommendations, zak.ary... ๐Ÿ“

#

๐Ÿ“ If you want to review this again, zak.ary:
: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> ๐Ÿ“

#
**User Info**

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: Rec 01 - ๐Ÿ’ฌ LEGACY SCHEMA DETECTED
Page 08: Rec 02 - ๐Ÿ’ฅ NO ITEMS FOUND IN PLEX
Page 09: Rec 03 - โŒ PLEX REGEX ERROR

modest dove
#

no idea why it isnt applying

#

says not needed

#

but i changed the post of 2 broke girls, which should apply web-dl overlay

#

i guess the regex is wrong

#
  WEB:
    template:
      - name: rip_source
        weight: 90
        regex: '(?i)^(?!.*\b(amzn|amazon)|(atvp|aptv|Apple TV\+)|(C(ANAL)?[ .]?(\+|Plus))|CW|((CC)\b.+web[ ._-]?(dl|rip)?)|(DISC|DSC)|(dsnp|dsny|disney|Disney\+)|((hbo)(?![ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b))|((hmax|hbom|hbo[ ._-]max)\b(?=[ ._-]web[ ._-]?(dl|rip)\b))|((\bma\b.+\bweb[ ._-]?(dl|rip)\b))|(nf|netflix)|(pcok|Peacock TV)|(sho|showtime)|((stan)\b[ ._-]web[ ._-]?(dl|rip)?))\b.*\bWEB[ _-]?(DL|Rip)?'
thorn thistle
#

When you change the poster you also have to remove the overlay label

modest dove
#

i ran the cleaner

#

ya its the regex

#

i simplified it to just not amazon and is web

#

and now its there

modest dove
#

@distant needle you're going to hate me, but if we were to get rid of "Disc" on "Blu-ray Disc" - would it appear larger since the width is less?

#

its currently only 42px tall

#

if the AR changed, due to width shrinking, it could be larger overall right?

ancient ice
#

yes

#

๐Ÿ™‚

modest dove
#

not much at the same size

#

42 -> 55

ancient ice
#

hey that's like 20% taller

modest dove
#

that's keeping the width the same

#

ok will see what it looks like

#

2s

#

oh wow much better

ancient ice
#

๐Ÿ™‚

modest dove
#

ok then...now just the regex

#

the part i was SO looking forward too

ancient ice
#

I'm no help there ๐Ÿ˜„

modest dove
#

[2023-11-21 04:27:36,624] [overlays.py:461] [DEBUG] | Overlay File (0) WEB | 0 |

#

lame

ancient ice
#

๐Ÿคฃ

distant needle
#

Is that from a trace log

modest dove
#

its the regex

distant needle
#

Are we content with the removal of "disc" in the overlay?

modest dove
#

i removed it already

distant needle
#

Not on the repo, did you?

modest dove
#

oh no

distant needle
#

Ok so I'll do that

modest dove
#

i'd PR the change?

#

ok

distant needle
#

I am gonna fix the mega large one

modest dove
#

yea

distant needle
#

And update the collection poster and then the other two sets of overlays

modest dove
#

lmk when the official discless one is on ill use that

#

im sure its better

#

works there

#

throw it in the yml and no matches

#

bottom filename is what is on my test lib

distant needle
#

No match

modest dove
#

shoud work, im thinking maybe its the beginning of line assertion?

#

i dunno

distant needle
#

No match

#

I dunno either... not a regex expert at all

modest dove
#

i mean its not the regex's fault

#

it works in regex101

distant needle
#

But we used the above to test

#

So why doesn't it work on regexr?

#

Probably some settings?

modest dove
#

remove the ^

#

and it works

#

hm

#

well not works, but it matches

#

with ^ it doesnt match shit

#

same regex in regex101

#

with your sample size

#

matches

#

wtf

modest dove
#

i got it

#

regexr still doesnt match though

#

lol

#

o hwell

#

so i'll just wait on the bluray logo, and then i THINK its done ๐Ÿ˜„

distant needle
#

So... on your test library, any movies with a certain "edition"?

thorn thistle
#

yesterday

modest dove
#

yea i dont do editions

#

i mean i have editions

#

but i didnt really want/need the overlay

distant needle
#

Which of those test movies has edition on them?

modest dove
#

so for whatever reason regexr still wont match any of the 65 matches regex101 does....you guys should switch. shameless plug my buddy runs regex101 ๐Ÿ˜„

#

oh none of them

thorn thistle
#

i use regex101

distant needle
#

We flip between both

#

In terms of regex

#

But can you fake or add an extended edition to your list of test movies and rerun?

modest dove
#

yea

distant needle
#

I want to see how your yaml handles it

modest dove
#

im pretty sure i disabled it

#

though

#

so i gotta add it back to config i think

#
  • pmm: versions
#

this?

distant needle
#

Nope it's part of resolutions

#

Versions shows you duplicates

modest dove
#

ah i see the properties

#

false

#

๐Ÿ˜›

#

hold on

#

i just realized i dont have editions in my naming scheme

#

lol

distant needle
#

Ha...

modest dove
#

97 Minutes (2023) [AMZN DDP 5.1 WEBDL-1080p][h264]-FLUX.mkv

distant needle
#

We fixin all kinds of stuff

modest dove
#

make that a edition you want me to tet

#

nah, i dont want it in there tbh

distant needle
#

If you use Plex, you can add Extended to the edition field, no?

#

As I showed in the image?

modest dove
#

ah

#

right

#

i was thinking filename

#

but this isnt parsing fro filename

distant needle
#

Is it?

#

๐Ÿ˜‰

modest dove
#

i mean

distant needle
#

Resolution does both

modest dove
#

in a round about way

distant needle
#

Pretty sure that if you add Edition in there, PMM will pick it up

modest dove
distant needle
#

Very cool

#

So it pushed it up

thorn thistle
#

i could of told you that

distant needle
#

As long as you don't put anything directly above you are good

#

Secondly.... start watching that movie so the yellow bar shows

#

Progress bar

#

And then screenshot the poster

modest dove
distant needle
#

There you go

thorn thistle
#

not all clients are created equal on progress bar btw

distant needle
#

True

modest dove
#

so it can't hurt to bump it up a few

distant needle
#

30px from bottom is pretty good

thorn thistle
#

on android my overlays get covered

#

even at 30px

modest dove
#

well thats mobile

#

your talking about the poster being like 100x60

distant needle
#

Android puts it at like 50px or something

modest dove
#

or something ridiculous

thorn thistle
#

im talking about android tv

modest dove
#

oh

#

lol

distant needle
#

All clients for Plex do it differently

#

So dumb

thorn thistle
#

everything is different

#

the checkmarks

#

progress bar

modest dove
#

i wonder what clients my users are using lately

#

lemme check

thorn thistle
#

just myself i use android, roku, desktop app, samsung tv app and apple tv

modest dove
#

i'm pretty sure the majority of tizen is me

thorn thistle
#

so i see all the diffs

modest dove
#

visible_library_paramount

#

whats this do?

#

its collections in library right?

thorn thistle
#

the lifetime of my server for just me

#

plays

#

like 3 years

thorn thistle
#

visible_home_key will do on the home screen

modest dove
#

its since 7-5

#

of last year

#

so like 17mo almost

#

lemme find all my special editions

#

The Marsh Kings Daughter (2023) [EAC3 5.1 WEBDL-1080p][h264]-FLUX.mkv

#

see? no streaming service yet

#

just standard WEB-DL

#

The.Town.2010.Extended.Alternate.Cut.1080p.BluRay.DD5.1.x264-EbP.mkv

#

i wonder what that is gonna do

#

ah radarr just gave it extended

#

oh well

distant needle
#

Images updated in repo

modest dove
#

reimproting the editions

#

gimme a few ill test

#

cool

#

that took a while

#

testing on test library one more time

#

then gonna run the full

#

should be about 30m

#

seems to be matching everything ๐Ÿ˜„

distant needle
#

That's a good thing, right?

modest dove
#

yea

#

| 1 | Overlays Attempted on Luther: The Fallen Sun: Overlay File (0) Netflix, Overlay File (1) 1080P, Overlay File (2) Dolby-Digital-Plus-Atmos |

#

i got that error

distant needle
#

Where is the rest of the error?

#

There should be more around that

thorn thistle
#

i think thats from the end of the log

distant needle
#

I think so as well...

thorn thistle
#

you'd have to search for that error to see the rest

modest dove
distant needle
#

And I think he is running trace

#

So there should be a lots of nice details

modest dove
#

image file corrupted?

distant needle
#

Can you go into that directory and open up that file?

#

It's probably some strange format or size

#

14608.jpg

modest dove
#

yep

distant needle
#

What movie/show was that for?

#

Any ideas?

modest dove
#

Luther Fallen Sun

#

yea

#

i know which

#

the error said

distant needle
#

In Plex, go and see the poster when you hit the pencil

modest dove
#

i see previous