jkirkcaldy / plex-utills

Manage your Plex library automatically
MIT License
326 stars 26 forks source link

Error with accented capital character #96

Closed tchirou closed 2 years ago

tchirou commented 2 years ago

Hi The script stops with a new movie "Eternals". In french in plex, it's "Les Éternels". With an accented capital E. I changed in plex with the english name and ran the script again, and it worked this time. Thanks

jkirkcaldy commented 2 years ago

How is it saved on disk?

Currently there is only english language support but if there is an easy fix I don't mind adding it.

tchirou commented 2 years ago

It’s saved as eternals Maybe you could use the real filename instead of the library name ?

jkirkcaldy commented 2 years ago

ok the new dev container has a potential fix for this now.

The scripts will simply swap out an accented character for an non accented character.

Though it shouldn't actually matter as all the data is taken from plex.

tchirou commented 2 years ago

Ok so do you want me to install a new image with dev to test it out ?

jkirkcaldy commented 2 years ago

Sure. That would help

I changed the name of it in my library and tested and it worked.

tchirou commented 2 years ago

Will do and report back tomorrow Thanks a lot

tchirou commented 2 years ago

Hi I removed the movie, removed the poster_bak, added again the movie, changed the metadata in french and ran the script and it worked. Thanks One thing though : yesterday i had an hdr file. This morning I got the dolby vision file. Before running the dev instance, the master ran and i got image And the script stopped Have you ever encountered this situation ? Should i open a new ticket ? Thanks a lot for everything

jkirkcaldy commented 2 years ago

So the file hasn't changed but yesterday on the master file you got a HDR banner and today on the Dev container you got a dolby vision banner?

tchirou commented 2 years ago

Yes, I manually upgraded the file this morning from an hdr one to a dv one. Plex utills master detected the change when running the script, tried to add or change the hdr banner to the dv one and just hanged Didn’t try with dev as the file already was a dv one. Sorry I wasn’t clear enough

jkirkcaldy commented 2 years ago

Ok, I'll have a look and see what the issue could be.