Deactivate some contextmenu options yet missing

This commit is contained in:
tomkat83 2016-10-26 21:11:19 +02:00
parent 30adb5bd27
commit 3d209c3a6e

View file

@ -92,8 +92,8 @@ class ContextMenu(object):
# Display select dialog # Display select dialog
options = [] options = []
if self.item_type in ("movie", "episode", "song"): # if self.item_type in ("movie", "episode", "song"):
options.append(OPTIONS['Transcode']) # options.append(OPTIONS['Transcode'])
# userdata = self.api.getUserData() # userdata = self.api.getUserData()
# if userdata['Favorite']: # if userdata['Favorite']:
@ -108,7 +108,7 @@ class ContextMenu(object):
# options.append(OPTIONS['RateSong']) # options.append(OPTIONS['RateSong'])
# Refresh item # Refresh item
options.append(OPTIONS['Refresh']) # options.append(OPTIONS['Refresh'])
# Delete item, only if the Plex Home main user is logged in # Delete item, only if the Plex Home main user is logged in
if (window('plex_restricteduser') != 'true' and if (window('plex_restricteduser') != 'true' and
window('plex_allows_mediaDeletion') == 'true'): window('plex_allows_mediaDeletion') == 'true'):