Closed Lockszmith-GH closed 4 years ago
Well, I've confirmed the issue... Can you go into the Users & Sharing and see if that emoji shows up? Here is my homepage with the emojis. Homepage displays the 🏛♣ but not the Users & Sharing area.
After removing 🏛 from the library name the ♣ now displays in the Users & Sharing area and can be used with the script. 🏛seems to be an illegal emoji.
I'll start by: awesome script, I discovered it recently, and this one will become a critical part of my home-media-server toolbox. Thanks for making it.
Describe the bug I have a few library named with emojis, I found that when the client supports it, the visuals make it really clear what they are.
The problem is that the script doesn't handle them well:
Link to script with bug/issue https://github.com/blacktwin/JBOPS/blob/master/utility/plex_api_share.py
To Reproduce Steps to reproduce the behavior:
./plex_api_share.py --user "<username>" --add --share --libraries "Name with 🏛♣"
Expected behavior Library should be recognized, and action should not fail.
Output
Given the following output from --help:
This is what I run:
This also fails for --allLibraries:
System:
Additional context FYI, the '1.TV.Expire ⏳' name was successfully recognized.
Again, I want to say - awesome script. I'll probably end up renaming my libraries, use the script, then rename them back - that would be ok for now. Thanks for creating this automation.