+
--- a/Hotkey.py
+++ b/Hotkey.py
@@ -133,6 +133,7 @@
hotkeyFunctions.append((_("Show second InfoBar"), "Infobar/showSecondInfoBar", "InfoBar"))
hotkeyFunctions.append((_("Toggle infoBar"), "Infobar/toggleShow", "InfoBar"))
hotkeyFunctions.append((_("Letterbox zoom"), "Infobar/vmodeSelection", "InfoBar"))
+ hotkeyFunctions.append((_("Recall to previous service"), "Infobar/simleRecall", "InfoBar"))
if SystemInfo["PIPAvailable"]:
hotkeyFunctions.append((_("Show PIP"), "Infobar/showPiP", "InfoBar"))
hotkeyFunctions.append((_("Swap PIP"), "Infobar/swapPiP", "InfoBar"))
--- a/InfoBarGenerics.py
+++ b/InfoBarGenerics.py
@@ -473,6 +473,10 @@
return
self.session.openWithCallback(self.numberEntered, NumberZap, number, self.searchNumber)
+ def simleRecall(self):
+ if len(self.servicelist.history) > 1:
+ self.checkTimeshiftRunning(self.recallPrevService)
+
def recallPrevService(self, reply):
if reply:
self.servicelist.recallPrevService()