Deactivate some contextmenu options yet missing
This commit is contained in:
parent
30adb5bd27
commit
3d209c3a6e
1 changed files with 3 additions and 3 deletions
|
@ -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'):
|
||||||
|
|
Loading…
Reference in a new issue