Skip to content

Commit

Permalink
implemented search while playing as option
Browse files Browse the repository at this point in the history
  • Loading branch information
DonDavici committed Oct 15, 2014
1 parent 732eaa7 commit 3334d5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DP_Player.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,8 @@ def leavePlayer(self):
def searchWhilePlaying(self):
printl("", self, "S")

self.close((True, (self.playerData,self.ptr, self.id, self.currentIndex)))
if config.plugins.dreamplex.searchWhilePlaying.value:
self.close((True, (self.playerData,self.ptr, self.id, self.currentIndex)))

printl("", self, "C")

Expand Down
1 change: 1 addition & 0 deletions src/DP_Settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def createSetup(self):
self.cfglist.append(getConfigListEntry(_("> Show Filter for Section"), config.plugins.dreamplex.showFilter, _(" ")))
self.cfglist.append(getConfigListEntry(_("> Show Seen/Unseen count in TvShows"), config.plugins.dreamplex.showUnSeenCounts, _(" ")))
self.cfglist.append(getConfigListEntry(_("> Start with Filtermode"), config.plugins.dreamplex.startWithFilterMode, _(" ")))
self.cfglist.append(getConfigListEntry(_("> Enable SearchWhilePlaying feature"), config.plugins.dreamplex.searchWhilePlaying, _(" ")))

self.cfglist.append(getConfigListEntry(_("> Show Backdrops as Videos"), config.plugins.dreamplex.useBackdropVideos, _("Use this if you have m1v videos as backdrops")))
self.cfglist.append(getConfigListEntry(_("> Stop Live TV on startup"), config.plugins.dreamplex.stopLiveTvOnStartup, _(" ")))
Expand Down
1 change: 1 addition & 0 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
config.plugins.dreamplex.showDetailsInListDetailType = ConfigSelection(default = "1", choices = [("1", "user"), ("2", "server")])
config.plugins.dreamplex.boxName = ConfigText(default = "DreamPlex", visible_width = 50, fixed_size = False)
config.plugins.dreamplex.lcd4linux = ConfigYesNo()
config.plugins.dreamplex.searchWhilePlaying = ConfigYesNo()

if source != "ipk":
config.plugins.dreamplex.showUpdateFunction = ConfigYesNo()
Expand Down

0 comments on commit 3334d5f

Please sign in to comment.