Closed karthistark closed 5 years ago
Can you go to a browser and put this url
https://plex.tv/api/users?X-Plex-Token={token}
Please replace {token} with the token you are using in your config file.
Copy and paste the xml here or paste into a word document and put it here. you may want to black out the username and email addresses shown. If you have several users you could probably remove a few so its not so long.
My assumption is you don't have any users created yet.
d6fc438 should fix the issue. Tested with a fresh plex account and recreated the issue.
Hi, Thanks for your reply and new modified code. It works now. One more request from me. Can you write a code for creating text document which has missing movies under each playlist. It helps me to download missing movies later.
Regards, Karthik
On Tue, Apr 9, 2019, 21:56 pbrink231 notifications@github.com wrote:
d6fc438 https://github.com/pbrink231/plex_top_playlists/commit/d6fc43873c2c429bd7387811a1c781c86dbce009 should fix the issue. Tested with a fresh plex account and recreated the issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pbrink231/plex_top_playlists/issues/21#issuecomment-481411032, or mute the thread https://github.com/notifications/unsubscribe-auth/AvJqdYEzuQHvXMfY_lMVsRIzxJCHvq1Lks5vfPBcgaJpZM4cktDj .
Would it just be a file in the same location as the script? Would you want a file per list or just a full summary file. I am thinking a single file per playlist which would be overwritten next time it is run.
Also check out the discord which sends in a discord channel and gives you the same information. I put instructions in the wiki. very easy to do. Also lets you get it from anywhere.
Also mind making a new issue for this.
Hi, I want this script work with emby/ jellfin. I really this script while using plex. Now i moved to emby. I searched everywhere to find similar script. I couldnt find it. Thanks in advance
On Mon, Apr 29, 2019, 02:00 pbrink231 notifications@github.com wrote:
Closed #21 https://github.com/pbrink231/plex_top_playlists/issues/21.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pbrink231/plex_top_playlists/issues/21#event-2305527889, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZGU5K2DHP2HGDC5UWIFFTPSY3CRANCNFSM4HES2DRQ .
Traceback (most recent call last): File "plex_playlist_update.py", line 553, in
list_updater(plex)
File "plex_playlist_update.py", line 514, in list_updater
users = get_user_tokens(plex)
File "plex_playlist_update.py", line 505, in get_user_tokens
users = get_all_users(plex)
File "plex_playlist_update.py", line 488, in get_all_users
user_ids = {plex_user['@id']: plex_user.get('@username', plex_user.get('@title')) for plex_user in xmlData2['MediaContainer']['User']}
KeyError: 'User'