Closed nwithan8 closed 4 years ago
Hello @nwithan8! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
plexlibrary/plexutils.py
:Line 42:1: W293 blank line contains whitespace Line 51:80: E501 line too long (110 > 79 characters) Line 74:80: E501 line too long (90 > 79 characters) Line 76:80: E501 line too long (82 > 79 characters) Line 104:80: E501 line too long (85 > 79 characters) Line 106:80: E501 line too long (82 > 79 characters) Line 130:80: E501 line too long (90 > 79 characters) Line 132:80: E501 line too long (82 > 79 characters) Line 163:80: E501 line too long (96 > 79 characters) Line 165:80: E501 line too long (86 > 79 characters)
If you have a Plex Friend that does not have access to your server (i.e. you only have access to theirs), then getting a server instance for them to add a playlist would fail with a 401. Code now checks to see if a user has access to your server by looking for your machine identifier in their list of servers.