#Country posters in default style

1 messages · Page 2 of 1

potent grotto
#

ok... so sorry for the delay here... both continent files don't have the grouping section at the bottom. both region files do. This is consistent.... Are you seeing something different?

urban hamlet
#

theyre not the same

#

movies has 3 more entries

#

Korean
Taiwanese
Russian

#
      Korean:
        - kp
        - kr
      Taiwanese:
        - tw
      Russian:
        - ru
#

i feel like those could be bigger regions but idk

serene prism
#

@urban hamlet , @potent grotto , my apologies, I cannot test at this time, I am tracking down my performance problems and started from sratch again with my Plex server.

urban hamlet
#

No worries!

potent grotto
# urban hamlet theyre not the same

ok... yes... from that perspective, now I see.. I was looking at the generalities of the "section" being there or not... and not actually comparing the lines to see if they were the same

urban hamlet
potent grotto
#

lol

#

so i think and cannot confirm, that we should add those three additional ones in movies/region to shows/region to keep them in sync

#

and i just saw that we are missing others as well

#

argh

urban hamlet
#

What else is missing

potent grotto
#

actually... maybe its just because the sorting you are doing is different

urban hamlet
#

Probably

potent grotto
urban hamlet
#

I redid the sorting in both

#

And haven’t sent you the latest files

potent grotto
#

so I thought south-east asia was missing.. but its there top left

#

shall i backoff on me creating and PR'ing this branch? I can focus on the images and stuff around network/studios that Arialz and I have been messign with

#

and i have the ribbon stuff to add as well

urban hamlet
#

Yea I’ll pick it back up tomorrow when I’m at work again

fallow chasm
#

Original test still running...

#

I'm in the boozer ATM, will catch up on the chat soon

potent grotto
#

lol... i think there have been several changes so I'd hold off until we hear back from Soh

urban hamlet
#

You can test the files I’ve posted

#

Whenever you get available

fallow chasm
#

Run complete using the region.yml @potent grotto originally posted. Can't see any immediate errors, though I've 'delete collections' set to false for both managed and configured. Do I need to change one or both of them so we can get an accurate result?

#

Should Taiwan, Hong Kong, Macau, China, and Mongolia be a region? Complicated by Hong Kong having such a strong and culturally alternative industry to China; and the politics around Taiwan. And if we include them into a 'China' region, they why not also include Korea and Japan? Tricky decision points around all of them, so I went with split, not merge

potent grotto
#

if you can test the 4 files that Soh provided, that would be helpful...

#

basically, he redid show/region, show/continent, movie/region, movie/continent

fallow chasm
#

What settings for 'delete collection' should I use?

potent grotto
#

well... umm. not sure how you are testing

#

if you use -dc it will delete ALLL your collections

fallow chasm
#

I'm not testing shows, sorry! I've delete collections: configured set to false and delete collections: managed set to false

potent grotto
#

so that should not delete collections

#

because all the collections that PMM creates are configured/managed if I understand that correctly

fallow chasm
#

Indeed. But then if it runs and fails, then my collections will still look grand!

#

Do I need to set both to true? I get confused, as then it'll delete all the collections I've just configured to create...

potent grotto
#

I dont knwo anymore.... i am on less than 1.5 hours of sleep

fallow chasm
#

Running @urban hamlet 's region.yml and continent.yml I'm getting an 'other countries' collection with an 'other regions' poster containing ~70% of my content. Clicking on it crashes Plex.

urban hamlet
#

post the log

fallow chasm
urban hamlet
#

lol

fallow chasm
#

On it, bro 🤗

#

It's 2am, I'm gonna... Zzz...

potent grotto
#

mine came back super clean from my test libraries

#

now going to run collections only with a -dc against my prod shows and movies libraries

potent grotto
#

still seems fine on my prod library

fallow chasm
#

Perhaps it's because I ran country.yml as well? The 'Other Countries' collection I have with 'Other Regions' as a poster is filtered to films with a country tag of Canada, Greece, Ireland, Mexico, USA, Japan, or Germany - which are precisely the ones that don't have any aggregations going on.

fallow chasm
#

Running only the continent and region collections, with delete managed:true and delete configured:false it removes all collections but the ones it's just created - and I'm still getting an 'Other Regions' poster in a collection called 'Other countries' containing films with a country tag of Canada, Greece, Ireland, Mexico, USA, Japan, or Germany - and those Regions are no longer appearing as collections.

Are we using the same region.yml @potent grotto? I'm testing the one @urban hamlet posted - which appears to have removed any reference to those Regions - here: #1093862383325290516 message

wide rapidsBOT
#
sohjiro
Message:

@fallow chasm use this one the above one probably wont work

Quoted By:

@fallow chasm from #1093862383325290516 in Plex Meta Manager

fallow chasm
#

Adding Canada, Greece, Ireland, Mexico, USA, Japan, or Germany back in as, for instance:

include:
  - German
addons:
  German:
    - Germany

...clears out the 'Other Countries' collection. Full YML I used attached....

serene prism
#

@fallow chasm, @potent grotto, I think that since those new ymls use custom keys and not country names, then they all need to be included in the addons, because there are no movies in Plex with a country "Greek", for example

potent grotto
#

It’s also entirely possible that the ymls I am using are different from those posted above but I could be wrong…. My library is tiny and takes 7 minutes to run through… so I might not be hitting the same issues as you are. I presume you are on the latest nightly?

fallow chasm
#

It's weird, if you were using sohjiro's file, how PMM managed to create German, Japanese, Irish, Mexican, USA, and Canadian collections in your library without any reference to those regions in the yml

#

I'm not on the latest nightly, no. Some docker hub bug stopping it from pulling the most recent nightly, I think.

potent grotto
#

What is are you running? You should be able to force update to the latest nightly

#

And it’s possible that I screwed up since yesterday I was on about 1.5 hours of sleep. I was making mistakes on things all day long

#

@urban hamlet , when you can, please drop the latest 4 files over here for us to test with.

#

Those are what I used.

#

And is supposed to be what Sohjiro posted above, but I could be all wrong

fallow chasm
#

Ah, yeah, they'll work. Different to the one Sohjiro posted, they have German and so on in them

potent grotto
#

So ii screwed up

#

It’s funny because I even had that discussion with him in this thread and I even recall him saying that he did not remove that stuff…

#

#1093862383325290516 message

wide rapidsBOT
#
sohjiro
Message:

i didnt actually change the final name of anything

Quoted By:

@potent grotto from #1093862383325290516 in Plex Meta Manager

potent grotto
#

In any case, clearly, if we are using different yml files, we’ll have different results.

fallow chasm
#

No worries! Fixed using the new and more efficient YML above for movies/region.yml. continent.yml works fine. Haven't tested shows though, just getting an updated yml together...

potent grotto
#

When you say improved and above, do you mean from the zip files I posted?

fallow chasm
#

Nope. From my message just before Bart's comment above, where I say it's fixed. Here's the shows/region.yml with the same approach...

potent grotto
#

There is a 99% chance that Sohjiro will present us with a different set of files this morning.

urban hamlet
#

I’m just waking up Ill get them to y’all once I get to work today

potent grotto
#

Favourite thing to see in discord:

fallow chasm
potent grotto
#

I am fine with blowing away all my collections. I am less familiar with those settings and the whole true false situations… so I could not help much yesterday especially with less than 2 hours of sleep.

fallow chasm
#

Yeah! Confuses me too. I didn't know about the env variables, just stumbled across it today.

serene prism
#

I just finished running the geographies with my movies library. With the attached files I do not get any "Other" collections

fallow chasm
#

Spot on @serene prism and congrats on getting your server back up and running. Fixed the performance issues I hope!

serene prism
#

I have movies from 109 cuntries, so it is good coverage for the files

serene prism
fallow chasm
#

I've only 90 countries in mine, and 1400 films in my collection so nowhere near as comprehensive as yours I suspect.

serene prism
urban hamlet
#

so i want the regions to follow the UN geoscheme here are updated files to test

#

@potent grotto @serene prism @fallow chasm

serene prism
#

@urban hamlet , I will test movies in a few minutes. One observation is "Svalbard and Jan Mayen" does not have the "Islands" at the end as provided by tmdb or imdb, so perhaps we need an additional line for that country without the suffix

#

Also, @potent grotto will have to generate a new set of posters for the regions

urban hamlet
#

We also may want a predefined order of these

serene prism
#

@urban hamlet , apart from the posters that need to be redone, both region and continent ran fine in my library, no "Other" collections were generated. Granted, I do not have a movie from every single country

fallow chasm
#

So Finland the same region as Ireland, Japan bundled with China, Mongolia, and Hong Kong, and Micronesia it's own region?

I get the desire to follow an internationally recognised standard, and much of it does make sense, but those regions were created 'for analytical purposes'. They don't make sense when grouping cultural/artistic efforts into buckets. Micronesia has next to none, while Japan, Hong Kong, and China's film industries will dwarf their output.

urban hamlet
#

I get where you’re coming from but it’s a region and before there was a significant number of countries not regions

It’s a region set of collections and these regions make sense to me geographically. some collections will definitely be bigger then others but that’s also why we have country collections in the first place

Also I really like having a standard to follow because then if people have issues you can point to the standard

#

https://en.wikipedia.org/wiki/Subregion this page has even further broken down sub regions

A subregion is a part of a larger region or continent and is usually based on location. Cardinal directions, such as south are commonly used to define a subregion.

#

Like it has Japan and Korea in a northeast Asia region

fallow chasm
#

Certainly provides more options - but isn't a 'standard' we can usefully avoid any issues with as there are many overlaps

#

We could easily end up cherry picking the status quo

#

My original purpose for creating the regions collection was to group countries with limited, but artistically similar output - and if only we could, split countries with massive outputs like the USA.

urban hamlet
#

That’s very dependent on each persons specific library tho tbh

fallow chasm
#

In some ways it is. But it's also because some countries have strong film industries so it won't just be me

urban hamlet
#

Agreed

fallow chasm
#

China, Hong Kong, and Japan have massive outputs, each producing at least as much as all of the South East Asian countries combined

urban hamlet
#

You kinda want countries with a little more grouped together

fallow chasm
#

Precisely!

#

I also totally get the conundrum of it being a very subjective thing that will be dependent on people's libraries, and the potential for 'issues' to propagate

#

We did try to explain the situation and vision in the yml comments

potent grotto
#

What regions could exclude regions and then you use countries?

#

So if you want japan, homg kong, china use that in the country.yml and exclude that region that merges Japan, china,hong kong from the region?

#

And for people like me with small libraries I would leave it as is?

#

As far as recreating posters, the hard part was done by @fallow chasm as he produced the maps. I just put them on a background

#

And the other thing is we might need to update translations as a result of this change

fallow chasm
#

I see you're reasoning, there'd be no way to achieve Nordic like that though?

potent grotto
#

Is Nordic part of the UN scheme we want?

fallow chasm
#

Nope. UK, Ireland, Scandinavia all grouped together into northern Europe

potent grotto
#

So you are correct, that would not be possible in the current way. Just like Iberia is not there either

#

Region to region not possible

#

Region to country, possible

fallow chasm
#

Nope, Portugal would be grouped with Greece

potent grotto
#

If there was a UN scheme based on film industry, that would be great.

fallow chasm
#

We could do some analytics based on MDblist searches

potent grotto
#

We don’t want to create something that we cannot justify is the real issue here…

#

Having a reference ensures that we have something to follow and respect

#

Country is obvious and same with continent

#

Region is subjective

fallow chasm
#

Librarians have always grappled with this issue....

potent grotto
#

Bank fully I am not a librarian

fallow chasm
#

Sometimes it's dead obvious, like Nordic.

#

I've a masters in librarianship😜

potent grotto
#

I failed that course

#

I did pass the “get kicked out of the library for making too much noise” course

#

With flying colours

#

There is a third option here

#

If you can guess it, then we will be good to go. 😉

#

It’s somewhat of a compromise

fallow chasm
#

Go on...

#

I'm on tender hooks... 🤩

#

Go with the UN geoscheme, and set up a config repo for mine?

potent grotto
#

Ding ding ding…. The repo is already there in our PMM-configs repo. Post it there for others to leverage.

#

That or rally in front of the UN to create a film industry based region standard

fallow chasm
#

I'd be happy with that approach. Steps to achieve that would be recreating all the region posters and .MD filles and translation keys. Yml done

urban hamlet
#

There’s definitely an argument gift a more granular sub region set

fallow chasm
#

I think I'd need edit rights on the configs repo?

urban hamlet
#

Like you can have south Eastern and south western Europe

urban hamlet
potent grotto
#

The existing posters would remain, as there is no reason to remove them. We just need some new ones as mentioned

urban hamlet
#

Some visually would need to be different like the North America one has the Caribbean in it

#

Or at least some of it lol

fallow chasm
#

And Canada

#

Gotta dash. Pleased we've got agreement on a way forward. I'll work up some posters over the next week

potent grotto
#

So….. yml and Md files are likely already handled by Sohjiro….

#

Can we get an idea of the new translation keys needed?

fallow chasm
#

Sorry, png's. You're on posters @potent grotto

potent grotto
#

Which dictates the new maps needed?

#

Yes, we need new pngs- adampope
Yml and Md - Sohjiro
Translation keys - Sohjiro
Posters with region name and color/white versions - bullmoose20
translations- translation community
QA- bartolo

fallow chasm
#

QA - @serene prism

potent grotto
#

Are all region png’s a redo or are some fine and just need different text?

fallow chasm
#

Some are fine, the African ones were all UN based and South East Asia might just need it's name updating to South Eastern Asia.

fallow chasm
#

Issue with South America, which has a duplicate in continent.yml. We could change that standard's name to 'Southern America' which would match the standard's non-standard name of 'Northern America'

potent grotto
#

Just saw that on the map

#

This is a question for @urban hamlet as there might be a couple ways to handle making the collections unique between continent and region. Append region, append continent, what you suggested, other

urban hamlet
#

I changed it to Americas to follow the UN standard

#

The only double is Antarctica and it would be the same collection in both

potent grotto
#

So there is a newer set of yml files?

urban hamlet
potent grotto
#

Ok, so @fallow chasm , where are you getting your names from?

fallow chasm
#

Ah! Sorry, my mistake. South America is not a continent after all.

potent grotto
#

We are back to only 6 continents?

fallow chasm
#

Yes! Apparently the people that live in the UK you referred to earlier have prevailed at the UN ...!

#

Not sure if we need to use the UN 'six regions' geoscheme for continent.yml though, rather the seven continents listed here:

https://en.wikipedia.org/wiki/Continent

A continent is any of several large geographical regions. Continents are generally identified by convention rather than any strict criteria. A continent could be a single landmass or a part of a very large landmass, as in the case of Asia or Europe. Due to this, the number of continents varies; up to seven or as few as four geographical regions ...

serene prism
#

My vote is the seven continents, with North America and South America

potent grotto
#

that would be my vote as well, however that would mean that the region and continent yml would create a duplicate collection

serene prism
#

Can't one be "North America" (continent) and "Northen America" (region), for example?

urban hamlet
#

My vote is to follow the geoscheme tbh lol

potent grotto
#

6 continents it is

serene prism
#

@urban hamlet , will the ymls (region, continent) change?

urban hamlet
fallow chasm
#

Any issues people can use my (yet to be published) custom config and ping 'em this great PJ Harvey track, which finishes with a chorus of 'I'm gonna take my problems to the untied nations...'

https://youtu.be/Fws4fEE8Yy0

fallow chasm
#

So I've added a folder to my fork of the configs repo here:

https://github.com/adam-pope-arup/Plex-Meta-Manager-Configs/tree/master/Geography

Tested that using:

    metadata_path:
      - url: https://raw.githubusercontent.com/adam-pope-arup/Plex-Meta-Manager-Configs/master/Geography/Movies/continents.yml
        template_variables:
          style: color  # defaults to white
      - url: https://raw.githubusercontent.com/adam-pope-arup/Plex-Meta-Manager-Configs/master/Geography/Movies/regions.yml
        template_variables:
          style: color  # defaults to white
    overlay_path:    
      - url: https://raw.githubusercontent.com/adam-pope-arup/Plex-Meta-Manager-Configs/master/Geography/overlays.yml

...and the movies collections came through nicely. Overlays didn't work, annoyingly, log says:

YAML error: overlays attribute is required
Config error: overlays must be a dictionary

urban hamlet
#

https://raw.githubusercontent.com/adam-pope-arup/Plex-Meta-Manager-Configs/master/Geography/overlays.yml
the contents of this file have to be in you config.yml

fallow chasm
#

Cool! Got that from a help thread. I'll update accordingly.

urban hamlet
#

isnt it romani not romany?

#

and do you have a pic of a poster with the 3 letter overlay applied to it from either the new romany or filipino

#

i think it may run over in which case these would need to be two letter abbreviations

fallow chasm
#

Good spot @urban hamlet. Let's go with romani; and RO and FI as the abbreviations as I don't think the overlay will support a three letter one.

urban hamlet
#

yea i set up a test it ran over

#

i added a way to extend the width for specifc ones

fallow chasm
#

Oh, well, looky you. So only the romani needs changing in the yml and md?

urban hamlet
#

yea ill do it im working on the merge commit now

urban hamlet
#

@fallow chasm @serene prism can yall run this python code in your libraries so i can see what the names of all the countries are in plex

just add your url and token in the quotes and then run it and send me the output

from plexapi.server import PlexServer

url = ""
token = ""

countries = []
plex = PlexServer(url, token=token)
for section in plex.library.sections():
    try:
        countries.extend([choice.title for choice in section.listFilterChoices("country") if choice.title not in countries])
    except Exception:
        continue
print(countries)
fallow chasm
#

Tried that. Got:

Task: python-countries
Start time: Mon, 14 Aug 2023 21:28:12 +0100
Stop time: Mon, 14 Aug 2023 21:28:12 +0100
Current status: 1 (Interrupted)
Standard output/error:
/bin/bash: from: command not found
/bin/bash: line 2: url: command not found
/bin/bash: line 3: token: command not found
/bin/bash: line 5: countries: command not found
/bin/bash: -c: line 6: syntax error near unexpected token (' /bin/bash: -c: line 6: plex = PlexServer(url, token=token)'

#

Annoyingly I can't get the list out of the website drop-down menu either.

#

...other than via screenshots!

urban hamlet
#

it does not seem like you ran that as a python script

fallow chasm
#

No. I think I'd need to set up a virtual environment within my NAS. It'd take me an hour to figure out how to do it!

urban hamlet
#

you can run it from your computer no need to do it on your nas

candid crypt
#

It just needs to run somewhere that has the plex api. You're running pmm off your synology NAS? Save the code as country.py in your config folder, start pmm with PMM_RUN set to FALSE, exec into the container with sudo docker exec -it CONTAINERNAME /bin/sh then run python3 country.py should spit out the countries then you can remove the container

serene prism
#

@urban hamlet , this is what I got:

candid crypt
#

Unless Sohjiro thinks that would break something

fallow chasm
#

...so I'd need to like, um, ssh into my nas? Haven't done that for over a year

candid crypt
#

Yes

serene prism
#
['Afghanistan', 'Albania', 'Algeria', 'Argentina', 'Armenia', 'Australia', 'Austria', 'Azerbaijan', 'Bahamas', 'Bangladesh', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bolivarian Republic of Venezuela', 'Bosnia and Herzegovina', 'Botswana', 'Brazil', 'Bulgaria', 'Cambodia', 'Cameroon', 'Canada', 'Chile', 'China', 'Colombia', 'Costa Rica', "Côte d'Ivoire", 'Cuba', 'Cyprus', 'Czech Republic', 'Democratic Republic of the Congo', 'Denmark', 'Dominican Republic', 'Ecuador', 'Egypt', 'Estonia', 'Ethiopia', 'Finland', 'France', 'Georgia', 'Germany', 'Ghana', 'Greece', 'Guadeloupe', 'Hong Kong', 'Hungary', 'Iceland', 'India', 'Indonesia', 'Ireland', 'Islamic Republic of Iran', 'Israel', 'Italy', 'Jamaica', 'Japan', 'Jordan', 'Kazakhstan', 'Kenya', 'Kuwait', 'Latvia', 'Lebanon', 'Libya', 'Liechtenstein', 'Lithuania', 'Luxembourg', 'Malawi', 'Malaysia', 'Malta', 'Mexico', 'Monaco', 'Mongolia', 'Morocco', 'Netherlands', 'New Zealand', 'Nicaragua', 'Nigeria', 'Norway', 'Panama', 'Peru', 'Philippines', 'Plurinational State of Bolivia', 'Poland', 'Portugal', 'Puerto Rico', 'Qatar', 'Republic of Korea', 'Republic of North Macedonia', 'Romania', 'Russian Federation', 'Saudi Arabia', 'Senegal', 'Serbia', 'Singapore', 'Slovakia', 'Slovenia', 'Solomon Islands', 'South Africa', 'Spain', 'Sweden', 'Switzerland', 'Taiwan, Province of China', 'Thailand', 'Tunisia', 'Turkey', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'Uruguay', 'Guatemala']
fallow chasm
#

Trying to create an environment on my local PC using Anaconda, but the 'create' button is greyed out

candid crypt
#

Or you can use tautulli as well to extract just that field for everything in your movies library

fallow chasm
#

Use @serene prism1 He's a bunch more countries than I!

#

Oh, yeah, I could install Tautulli.

serene prism
#

@urban hamlet , that list is just for the movies, or is the code supposed to get this for all libraries?

fallow chasm
#

@serene prism - you're missing Kosovo 8^)

urban hamlet
fallow chasm
#

Running Python in Anaconda I get:

Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.

from plexapi.server import PlexServer

url = "http://192.168.1.119:32400"
token = "wawawawawa"

countries = []
plex = PlexServer(url, token=token)
for section in plex.library.sections():
... try:
... countries.extend([choice.title for choice in section.listFilterChoices("country") if choice.title not in countries])
... except Exception:
... continue
... print(countries)
File "<stdin>", line 6
print(countries)
^
SyntaxError: invalid syntax

wide rapidsBOT
#

SyntaxError: invalid syntax

This error normally implies that you are running an unsupported version of Python.

The python versions supported are as follows:
Plex Meta Manager: python 3.7 - 3.11
Plex Image Cleanup: python 3.11
PMM Overlay Reset: python 3.11

With the above in mind, we strongly recommend users run python 3.11 so that they are fully compliant with the suite of PMM products.

fallow chasm
#

Only non-standard one he's missing is 'State of Palestine' I think.

serene prism
#

True, I do not have any movies or tv shows filmed in Palestine (according to the metada in Plex)

fallow chasm
#

Ah-ah! Finally figured it out running it in iPython from Anaconda:

['Albania', 'Algeria', 'Argentina', 'Australia', 'Austria', 'Belarus', 'Belgium', 'Bolivarian Republic of Venezuela', 'Bosnia and Herzegovina', 'Brazil', 'Bulgaria', 'Cambodia', 'Canada', 'Chad', 'Chile', 'China', 'Colombia', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', 'Denmark', 'Djibouti', 'Egypt', 'Estonia', 'Finland', 'France', 'Georgia', 'Germany', 'Greece', 'Guatemala', 'Hong Kong', 'Hungary', 'Iceland', 'India', 'Indonesia', 'Ireland', 'Islamic Republic of Iran', 'Israel', 'Italy', 'Japan', 'Jordan', 'Kazakhstan', 'Kenya', 'Kuwait', 'Lebanon', 'Libya', 'Lithuania', 'Luxembourg', 'Malaysia', 'Mauritania', 'Mexico', 'Mongolia', 'Morocco', 'Netherlands', 'New Zealand', 'Nigeria', 'Norway', 'Pakistan', 'Peru', 'Plurinational State of Bolivia', 'Poland', 'Portugal', 'Puerto Rico', 'Qatar', 'Republic of Korea', 'Republic of North Macedonia', 'Romania', 'Russian Federation', 'Saudi Arabia', 'Senegal', 'Serbia', 'Slovakia', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'Spain', 'State of Palestine', 'Svalbard and Jan Mayen', 'Sweden', 'Switzerland', 'Taiwan, Province of China', 'Thailand', 'Turkey', 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'Uruguay', 'Viet Nam', 'Ethiopia', 'Jamaica', 'Mali']

#

^ @urban hamlet

urban hamlet
#

Ty all

serene prism
urban hamlet
#

plus the list chaz sent me haha

serene prism
fallow chasm
#

Separator issue aside, they work grand for me too. Tried the TV Shows config? I've very limited series, tend to use a mate's server for that and he uses mine for flicks but he's not up for the whole PMM thing, much as he loves what I've done...

serene prism
potent grotto
#

Any new png files for us to create posters for? Which will also drive the translation names?

fallow chasm
#

Arrgh, it's a big job. I've done South America region, Americas continent, African regions already done...

potent grotto
#

No rush… I was just catching up on things and wanted to ensure I did not forget or miss anything.

urban hamlet
#

ok just pushed new files to nightly

serene prism
#

@urban hamlet , I noticed that in the region file for movies you are using country codes and not country names. I thought that was only for tv shows

serene prism
#

My bad, I was looking at the diffs in the PR

#

@fallow chasm , @potent grotto , I understand that there are no updated posters yet to support the new region and continent files in nightly, correct?

fallow chasm
#

Oh, have the new region and continent files been pushed to nightly already?

#

I've not finished the png's get, let alone getting the posters together...

urban hamlet
#

so im thinking of creating another file

#

something like sub regions

#

where nordic or balkins can be a thing

serene prism
#

@urban hamlet , I just ran a config with just the new country, region and continent files for movies and tv shows. The results were not great.

urban hamlet
#

lol

serene prism
#

The movie continent file needs to be changed so it has country names, and not country codes

#

The country file, IMHO, should also be changed so that the common country names (Venezuela, Bolivia, Iran, Turkey, etc.) are the ones listed, and the longer variants (Bolivarian Republic of Venezuela, Islamic Republic of Iran, etc.) included in addons. I think it is more readable that way, and no new posters need to be made for countries

#

None of my tv show collections were created, I still need to look at that to see if there is some issue on my part, as they all said that there was not tmdb id for any of my shows, which is bogus

urban hamlet
serene prism
#

I understand. Thanks for being open to suggestions. I will send you an updated file with my suggestions. Give me a few minutes.

serene prism
#

@urban hamlet , I thought more about the country file, and my suggestions are just two, and that is to keep consistent with english names for the countries. As you will see from the updated file attached, this just applies to Iran and East Timor. I put the comment "BASL" on all lines that I changed in the file

#

In order to use these updated country, region and continent files, we also need the following:

#
  1. Continent: A poster for "Americas" needs to be created ( @fallow chasm , @potent grotto )
#
  1. Region: The following posters need to be created ( @fallow chasm , @potent grotto ):
fallow chasm
#

I know! I know! on it...

serene prism
#

Australia and New Zealand, Central America, Estern Asia, Eastern Europe, Melanesia, Middle Africa, Northern Europe, South-Eastern Asia, Southern Asia, Southern Europe, Western Asia, Western Europe

urban hamlet
#

just wait till the subregion file comes into all this lmao

serene prism
#
  1. Country: A poster for "Democratic Republic of Congo" needs to be created, and the posters for Iran, Bolivia, Venezuela, Korea, Macedonia and Russia need to be copied, so that we also have the same posters, but named with the long names for those countries ( @potent grotto , @fallow chasm )
#

@urban hamlet , in the region file, the include for Antarctica needs to be removed, and for Micronesia, you need to remove Micronesia from the include. These two duplicate issues result in those regions not being loaded

fallow chasm
#

Do we really want three regions for Micronesia, Melanesia, and Polynesia? Population of each is about 10k vs 2 billion in Eastern Asia...?!

#

It's the last set of pngs to create. And tricky, as so many tiny islands in each...

serene prism
fallow chasm
#

There are seventeen UN regions - Western, Southern, Middle, and Eastern Africa form 'Sub-Saharan Africa'..

fallow chasm
serene prism
#

@urban hamlet , I ran the country, region and continent yml for shows now. One issue I found is that we need to have the "Korea" poster copied to "South Korea", since this is how the name comes out for the tv shows. The other issues are the missing posters I mentioned in my message about testing the movie files

fallow chasm
# urban hamlet where nordic or balkins can be a thing

Radarr just added Hive, a film with Albania, Kosovo, and Macedonia as country tags. For most people this will create three collections with the same film in each.

If you check most any Danish, Norwegian, or Swedish film they'll have Danish, Swedish, or Norwegian tags too, as collaboration between studios is endemic.

This can make a mockery of the country collection. The UN geoscheme regions and continents are way too broad to be useful for anything but the smallest libraries.

We spent weeks doing the regions collection to resolve the issue. Now available in the Adam-Pope config...

potent grotto
#

Kinda why I kept my nose out of this….

Let me start creating the posters and likely also need to create the translations… for others to translate, unless of course that was done already?

#

Where do I begin?

Any changes needed for country posters?

Region and Continent will be based on the above 2 zip files

fallow chasm
#

Country poster changes depend on whether we go for the 'Official' or the conventional country names (Türkiye vs Turkey for instance).

  • Benefit of using official name is it sometimes matches the name in Plex

Drawbacks are:

  • Names will likely change every election cycle depending on the bent of the politicians in power (Democratic Socialist Republic of Sri Lanka, for instance)
  • Names like 'Plurinational State of Bolivia' won't fit on the posters
  • We'll need to redo the posters
  • People won't know what some country names represent (Sahrawi Arab Democratic Republic, anyone)
  • Sorting will be a bit random (where's Venezuela? At the top as its Bolivarian State of Venezuela)
  • How do we decide when to choose the official name? See https://en.wikipedia.org/wiki/List_of_alternative_country_names

Suggest we stick with what we had in country.yml, much easier to manage and better UX.

fallow chasm
#

If we want to have a standard to refer to, then that WIkipedia page provides '...the most common name or term that is politically neutral and unambiguous...' in the description column.

fallow chasm
potent grotto
#

Right so until things settle down, I am not creating any posters with names. The length of the names is not a problem for the poster creator… it fits it to size…at least it should…

#

And settle down means that we figure out all the yml files and names

#

Because now there might be a subregion one… which would total 8 geography related yml files… 4 for movies and 4 for shows

serene prism
fallow chasm
#

You're right, long names will fit if the posters support four lines? Quick poll on who knows if that's North or South Korea 😁

fallow chasm
#

...and without looking it up, what's the right name for South Korea?

fallow chasm
#

Nice one! You score in the top 0.1% of people on geography @serene prism

serene prism
#

@potent grotto , for sure we need the poster for Democratic Republic of the Congo, which is the country which used to be called Zaire. We have it in the ymls incorrectly as a variant for Congo, but they are different countries. That is the only country poster I am missing at the moment

serene prism
#

@fallow chasm , can you please create the png for Democratic Republic of the Congo?

potent grotto
fallow chasm
serene prism
urban hamlet
urban hamlet
#

should we use Sao Tome and Principe or São Tomé and Príncipe?

#

how do yall like using Saint over St.?

fallow chasm
urban hamlet
#

Ivory Coast or Côte d'Ivoire?

fallow chasm
urban hamlet
#

so heres my addons list let me know what yall think


      Tanzania:
        - United Republic of Tanzania
      Republic of the Congo:
        - Congo
      Democratic Republic of the Congo:
        - Zaire
      São Tomé and Príncipe:
        - Sao Tome and Principe
      Eswatini:
        - Swaziland
      Cape Verde:
        - Cabo Verde
      Côte d'Ivoire:
        - Côte d’Ivoire
        - Ivory Coast
      Saint Helena, Ascension and Tristan da Cunha:
        - Saint Helena
        - St. Helena
        - Ascension
        - Tristan da Cunha
      Antigua and Barbuda:
        - Antigua
        - Barbuda
      Bonaire, Sint Eustatius and Saba:
        - Bonaire
        - Sint Eustatius
        - Saba
      Saint Kitts and Nevis:
        - St. Kitts and Nevis
      Saint Lucia:
        - St. Lucia
      Saint Vincent and the Grenadines:
        - Saint Vincent and Grenadines
        - St. Vincent and the Grenadines
        - St. Vincent and Grenadines
      US Virgin Islands:
        - U.S. Virgin Islands
        - United States Virgin Islands
      Bolivia:
        - Plurinational State of Bolivia
      Falkland Islands:
        - Malvinas
      South Georgia and the South Sandwich Islands:
        - South Georgia and South Sandwich Islands
        - South Georgia
        - South Sandwich Islands
      Venezuela:
        - Bolivarian Republic of Venezuela
      Saint Pierre and Miquelon:
        - St. Pierre and Miquelon
      United States:
        - United States of America
      Hong Kong:
        - Hong Kong SAR China
      Macao:
        - Macau
        - Macau SAR China
      North Korea:
        - Democratic People's Republic of Korea
      South Korea:
        - Republic of Korea
        - Korea
      Taiwan:
        - Taiwan, Province of China
      Brunei:
        - Brunei Darussalam
      Laos:
        - Lao People's Democratic Republic
        - Lao
      Myanmar:
        - Burma
      East Timor:
        - Timor-Leste
      Vietnam:
        - Viet Nam
      Iran:
        - Islamic Republic of Iran
      Palestine:
        - State of Palestine
      Syria:
        - Syrian Arab Republic
      Turkey:
        - Türkiye
      Czech Republic:
        - Czechia
        - Czechoslovakia
      Moldova:
        - Republic of Moldova
      Russia:
        - Russian Federation
        - Soviet Union
      Svalbard and Jan Mayen Islands:
        - Svalbard and Jan Mayen
      Vatican City:
        - Holy See
      North Macedonia:
        - Macedonia
        - Republic of North Macedonia
      France:
        - French Republic
      Heard Island and McDonald Islands:
        - Heard and McDonald Islands
      Papua New Guinea:
        - New Guinea
      Micronesia:
        - Federated States of Micronesia
      US Minor Outlying Islands:
        - United States Minor Outlying Islands
        - United States Outlying Islands
        - U.S. Minor Outlying Islands
        - U.S. Outlying Islands
        - US Outlying Islands
      Pitcairn Islands:
        - Pitcairn
      Wallis and Futuna Islands:
        - Wallis and Futuna
fallow chasm
#

Nice one, @urban hamlet, looks pretty comprehensive to me - and the authoritative names, such an improvement... 👍

#

Suspect this'll need merging with region and continent ymls and mds as the list of countries and variations of them is longer (and more comprehensive!)

fallow chasm
#

There's two Côte d'Ivoire's there

urban hamlet
#

slightly different '

#

just trying to account if it happens to show up

#

as thats what tmdb has

#

ok just pushed the new versions

fallow chasm
#

@urban hamlet can we change 'Southern Asia: - Islamic Republic of Iran' to 'Southern Asia: - Iran' as per the add-on please?

urban hamlet
#

Yea I must of missed that one

fallow chasm
#

It's really fiddly huh? So many balls to juggle perfectly....

serene prism
fallow chasm
#

I'll leave that to @potent grotto to sort, the script will probably do a more consistent poster then my psd template

serene prism
#

Also, in the regions.yml file for movies, the Antarctica and Micronesia collections will not build due to duplicates

urban hamlet
#

now what micronesia conflicting with?

serene prism
#

The addon is Micronesia, and in it you are adding Micronesia, that is a duplicate

#

Same for Antarctica. This all only in the region file

urban hamlet
#

ok i can fix that

#

so im making a subregion file

#
      Andean:
        - Argentina
        - Bolivia
        - Plurinational State of Bolivia # Bolivia
        - Chile
        - Colombia
        - Ecuador
        - Peru
        - Venezuela
        - Bolivarian Republic of Venezuela # Venezuela
      Balkan:
        - Albania
        - Bosnia and Herzegovina
        - Croatia
        - Greece
        - Kosovo
        - North Macedonia
        - Macedonia # North Macedonia
        - Republic of North Macedonia # North Macedonia
        - Montenegro
        - Serbia
        - Serbia and Montenegro
        - Slovenia
        - Yugoslavia
        - Bulgaria
        - Romania
        - Turkey
        - Türkiye # Turkey
      Benelux:
        - Belgium
        - Luxembourg
        - Netherlands
      Caucasian:
        - Armenia
        - Azerbaijan
        - Georgia
      Iberian:
        - Andorra
        - Spain
        - Portugal
        - Gibraltar
      Middle Eastern:
        - Bahrain
        - Cyprus
        - Egypt
        - Iran
        - Islamic Republic of Iran # Iran
        - Iraq
        - Israel
        - Jordan
        - Kuwait
        - Lebanon
        - Oman
        - Qatar
        - Saudi Arabia
        - Palestine
        - State of Palestine # Palestine
        - Syria
        - Syrian Arab Republic # Syria
        - Turkey
        - Türkiye # Turkey
        - United Arab Emirates
        - Yemen
      Nordic:
        - Åland Islands
        - Denmark
        - Faroe Islands
        - Finland
        - Greenland
        - Iceland
        - Norway
        - Sweden
        - Svalbard and Jan Mayen Islands
        - Svalbard and Jan Mayen # Svalbard and Jan Mayen Islands
      Pacific Island:
        - Fiji
        - New Caledonia
        - Papua New Guinea
        - New Guinea # Papua New Guinea
        - Solomon Islands
        - Vanuatu
        - Guam
        - Kiribati
        - Marshall Islands
        - Micronesia
        - Federated States of Micronesia # Micronesia
        - Nauru
        - Northern Mariana Islands
        - Palau
        - US Minor Outlying Islands
        - United States Minor Outlying Islands # US Minor Outlying Islands
        - United States Outlying Islands # US Minor Outlying Islands
        - U.S. Minor Outlying Islands # US Minor Outlying Islands
        - U.S. Outlying Islands # US Minor Outlying Islands
        - US Outlying Islands # US Minor Outlying Islands
        - American Samoa
        - Cook Islands
        - French Polynesia
        - Niue
        - Pitcairn
        - Pitcairn Islands # Pitcairn
        - Samoa
        - Tokelau
        - Tonga
        - Tuvalu
        - Wallis and Futuna Islands
        - Wallis and Futuna # Wallis and Futuna Islands
      Southern Cone:
        - Argentina
        - Chile
        - Paraguay
        - Uruguay
#

this is what ive got so far

#

any other subregions that are not covered in other files you think should be added?

serene prism
#

I see Argentina and Chile are in both Andean and Southern COne, is this by design?

urban hamlet
#

i mean theyre in both regions so 🤷‍♂️

#

these are not ment to be all encompasing as much as a way to fill in the gaps

#

so you run region but dont want southern europe

#

you can also run this

#

and pick balkan and iberian

serene prism
#

In my opinion, this is fine. What do think of these groupings, that @fallow chasm provided:

#
      French:
        - France
        - Monaco
        - Andorra            # Also in Iberian
      Italian:
        - Italy
        - Holy See
        - Malta              # Also in United Kingdom and Northern Africa
        - San Marino
      Korean:
        - Korea
        - Democratic People's Republic of Korea
        - North Korea
        - Republic of Korea         # Added as default addon for Korea overridden
        - South Korea               # Added as default addon for Korea overridden

      UK:
        - United Kingdom
        - Falkland Islands          # Also in Southern Cone
        - Guernsey
        - Gibraltar          # Also in Iberian
        - Isle of Man
        - Jersey
        - Malta              # Also in Italy and Northern African
urban hamlet
#

You know ive been debating how to handle these

#

like it makes sense to group these to some extent but i dont like that theyre called countrues

serene prism
#

The only one, in my opinion, where I see your point is UK, and perhaps we can call that British and remove Malta

#

The others I see more as being named for languages

fallow chasm
#

Andean is defined here:

#

The Andean states (Spanish: Estados Andinos) are a group of countries in western South America connected by the Andes mountain range. The "Andean States" is sometimes used to refer to all seven countries that the Andes runs through, regions with a shared culture primarily spread during the times of the Inca Empire (such as the Quechua language a...

#

Argentina and Chile are part of the Southern Cone

#

Venezuela included as no other sub-region to add it to

urban hamlet
fallow chasm
#

Turkey and Greece have strong film industries that don't tend to cooperate with Balkan countries

urban hamlet
#

But are they not part of the balkans?

fallow chasm
#

Parts of them might be. But their output is distinct

potent grotto
fallow chasm
#

Why split Andean and southern cone? Just have one group called 'South America except Brazil'? Splitting south America into three makes more sense

#

Definitely see your point @urban hamlet re 'French' as a sub-region which includes 'Andorra' when Andorran isn't necessarily French

fallow chasm
# urban hamlet I have them in both

Argentina, Paraguay, Uruguay, and Chile aren't as culturally, geographically, or politically aligned as Columbia, Ecuador, Peru, and Venezuela. Go there, experience the difference 🤩

fallow chasm
urban hamlet
#

I look at it as if I saw a collection called balkans id definitely expect to see Greece (Turkey is arguable). I’m not as worried about the industry output of the countries involved and more want a logical expectation from a name

fallow chasm
fallow chasm
#

I'm in no way disagreeing with your position, which is totally valid, btw! Just want to bottom out the best solution for our users...

#

Academic discussion though, merging Greek into Balkans and removing 'Greek' as a sub-region probably works quite well

fallow chasm
#

Maybe 'Italian peninsula'?

Korea isn't a country anymore.

Can remove Falkland Islands, Gibraltar, and Malta from UK, I guess? I'm easy with changing the name to British.

Which leaves Monaco ungrouped.

fallow chasm
#

@potent grotto can we rename the poster files with the following country names until we get the posters updated? Otherwise country collections won't show posters for:

United States
https://github.com/meisnate12/Plex-Meta-Manager-Images/blob/master/country/color/United States of America.jpg
https://github.com/meisnate12/Plex-Meta-Manager-Images/blob/master/country/white/United States of America.jpg

South Korea
https://github.com/meisnate12/Plex-Meta-Manager-Images/blob/master/country/color/Korea.jpg
https://github.com/meisnate12/Plex-Meta-Manager-Images/blob/master/country/white/Korea.jpg

Less worried about North Macedonia, Svalbard and Jan Mayen Islands, Democratic Republic of the Congo and I'm sure there are others, Suspect everyone will have films from the US and South Korea though...

#

Happy to do a fork, rename files, and push if you think that'd be worthwhile. Otherwise it's looking like this...

#

Balkan image for poster now includes Greece...

fallow chasm
#

New Zealand not in Pacific Islands anymore @urban hamlet? Generally considered to be, and has more pacific islanders there than the rest of the pacific islands combined, IIRC

urban hamlet
#

i had just combined Melanesia, Micronesia, and Polynesia

#

i didnt really think hard on that one lol

fallow chasm
#

Might there be a way to order the collections other than in an alpha fashion? Coz this is how continents always appears in my phone, and, heh, wouldn't it just be awesome if it was a world map ..

#

Y'know, North America top left, Oceania bouton right etc

urban hamlet
#

Yea I was gonna bring up ordering some of these after the files were finished I didn’t have time today to work on region files at all

potent grotto
#

The bloody rename… should be easy enough since these are in the images repo so I can do that… but I also need to track changes by including the update to the mega create default posters ps1

#

But I can’t just rename because that will break develop and latest

#

So I need to think about it a little…

urban hamlet
#

Just add a second one

potent grotto
#

Yup was just adding United States and South Korea.

potent grotto
#

Pushed

potent grotto
#

Is it this thread where we have the country/region/continent geography related posters? Just trying to figure out where the PNG files are to create the posters

serene prism
#

Yes it is, @potent grotto . @fallow chasm uploaded a few zip files with the pngs

potent grotto
#

Looking for the full list of names and png files to create…all in one file as there is a lot of history here…

fallow chasm
#

#1093862383325290516 message

wide rapidsBOT
#
popeadam
Message:

Here's everything but Melanesia, Micronesia, and Polynesia...

Quoted By:

@fallow chasm from #1093862383325290516 in Plex Meta Manager

fallow chasm
#

The remaining three Pacific Island ones are zipped up three messages after that...

fallow chasm
#

^ that's for the UN 'Regions' collection, though not sure where the latest yml is for it; especially the modification that middle, south, east, and west Africa are actually 'Sub-Saharan Africa'. This is a handy grouping as those sub-regions tend to have very limited output.

@urban hamlet is still working on the yml for the sub-regions/smaller countries grouped collection, right? Though I think the only thing that's fundamentally different from the legacy one (available in configs/Adam-Pope) might be the 'Balkans', where I've supplied an updated image above.

potent grotto
#

k

#

@fallow chasm @serene prism here is what i will push. let us know if something was missed

potent grotto
#

Pushed

serene prism
#

Thanks! IT looks good to me

fallow chasm
#

Thanks @potent grotto ! I'll try and test the region one tomorrow...

polar zinc
#

Iceland is not a part of Denmark and havent been since 1944.

Just for the record Scandinavia is only Denmark, Sweeden and Norway. The Nordic contries include Iceland and Finland (and Faroe Islands)

fringe nest
polar zinc
fallow chasm
#

@potent grotto Noticed the South-Eastern Asia poster is missing when running nightly/regions. Otherwise, grand.

Mismatch of titling it seems, my fault for sending it through incorrectly.

I've forked the images repo, deleted the Southeastern Asia logo, and white and colour posters, and replaced each with copies called 'South-Eastern Asia'. Should work OK! Only issue is the posters are still 'SOUTHEASTERN ASIA', not sure if we want to update them to 'SOUTH-EASTERN ASIA'?

potent grotto
fallow chasm
#

Oh super! Thanks bullmoose. Forgot about the translation needed! I'll check the German and French, probably a bunch of updates to do there!

potent grotto
#

done