Add user error message if Plex.tv does not provide users
This commit is contained in:
parent
a4dd5d8711
commit
f9f7b74ef3
2 changed files with 6 additions and 0 deletions
|
@ -622,6 +622,10 @@ msgctxt "#33010"
|
|||
msgid "Your Plex token is no longer valid. Logging-out of plex.tv"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#33011"
|
||||
msgid "Plex.tv did not provide us a valid list of Plex users, sorry."
|
||||
msgstr ""
|
||||
|
||||
# Dialog before playback
|
||||
msgctxt "#33013"
|
||||
msgid "Choose the audio stream"
|
||||
|
|
|
@ -129,6 +129,8 @@ def plex_home_users(token):
|
|||
xml.attrib
|
||||
except AttributeError:
|
||||
LOG.error('Download of Plex home users failed.')
|
||||
# Plex.tv did not provide us a valid list of Plex users, sorry.
|
||||
utils.messageDialog(utils.lang(29999), utils.lang(33011))
|
||||
else:
|
||||
for user in xml:
|
||||
users.append(HomeUser(user.attrib))
|
||||
|
|
Loading…
Reference in a new issue