Skip to content

Commit

Permalink
only show recordings if DVR enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpmanjay committed Sep 21, 2016
1 parent 23afb9c commit b525235
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def MainMenu():

oc = ObjectContainer()
oc.add(DirectoryObject(key=Callback(ShowLiveTV, title=L('LiveTV')), title=L('LiveTV'), thumb=R(ICON_LIVETV)))
oc.add(DirectoryObject(key=Callback(ShowMainRecordingsMenu, title=L('Recordings')), title=L('Recordings'), thumb=R(ICON_RECORDINGS)))
if pyhdhr.hasSDDVR():
oc.add(DirectoryObject(key=Callback(ShowMainRecordingsMenu, title=L('Recordings')), title=L('Recordings'), thumb=R(ICON_RECORDINGS)))
oc.add(InputDirectoryObject(key=Callback(SearchAll), title=L('SearchAll'), thumb=R(ICON_SEARCH)))
oc.add(PrefsObject(title=L('Settings'), thumb=R(ICON_SETTINGS)))
debug = Prefs['EnableDebug']
Expand Down

0 comments on commit b525235

Please sign in to comment.