Skip to content

Commit

Permalink
easymedia: Fix filecommander
Browse files Browse the repository at this point in the history
  • Loading branch information
Hains authored and littlesat committed Aug 27, 2023
1 parent 0a6ff35 commit e29cda8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easymedia/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

config.plugins.easyMedia = ConfigSubsection()
config.plugins.easyMedia.music = ConfigSelection(default="mediaplayer", choices=[("no", _("Disabled")), ("mediaplayer", _("MediaPlayer")), ("merlinmp", _("MerlinMusicPlayer"))])
config.plugins.easyMedia.files = ConfigSelection(default="dreamexplorer", choices=[("no", _("Disabled")), ("filebrowser", _("Filebrowser")), ("dreamexplorer", _("FileCommander")), ("tuxcom", _("TuxCom"))])
config.plugins.easyMedia.files = ConfigSelection(default="filecommander", choices=[("no", _("Disabled")), ("filebrowser", _("Filebrowser")), ("filecommander", _("FileCommander")), ("tuxcom", _("TuxCom"))])
config.plugins.easyMedia.videodb = ConfigSelection(default="no", choices=[("no", _("Disabled")), ("yes", _("Enabled"))])
config.plugins.easyMedia.bookmarks = ConfigSelection(default="no", choices=[("no", _("Disabled")), ("yes", _("Enabled"))])
config.plugins.easyMedia.pictures = ConfigSelection(default="yes", choices=[("no", _("Disabled")), ("yes", _("Enabled"))])
Expand Down Expand Up @@ -500,7 +500,7 @@ def MPcallbackFunc(answer):
elif fileExists("/usr/lib/enigma2/python/Plugins/Extensions/Filebrowser/") and (config.plugins.easyMedia.files.value == "filebrowser"):
from Plugins.Extensions.Filebrowser.plugin import FilebrowserScreen
EMsession.open(FilebrowserScreen)
elif fileExists("/usr/lib/enigma2/python/Plugins/Extensions/DreamExplorer/") and (config.plugins.easyMedia.files.value == "dreamexplorer"):
elif fileExists("/usr/lib/enigma2/python/Plugins/Extensions/FileCommander/") and (config.plugins.easyMedia.files.value == "filecommander"):
from Plugins.Extensions.FileCommander.ui import FileCommanderScreen
EMsession.open(FileCommanderScreen)
else:
Expand Down

0 comments on commit e29cda8

Please sign in to comment.