Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion epgrefresh/src/EPGRefresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ def cleanUp(self):
except:
pass
if config.plugins.epgrefresh.parse_autotimer.value:
self.maybeStopAdapter()
try:
from Plugins.Extensions.AutoTimer.plugin import autotimer
if autotimer is None:
Expand Down Expand Up @@ -465,7 +466,12 @@ def showPendingServices(self, session):
servtxt = servtxt + 2 * ' ' + ngettext("... %d more service", "... %d more services", servcounter - LISTMAX) % (servcounter - LISTMAX) + '\n'
last_text = "%s / %s" % (ngettext("Remaining %d service", "Remaining %d services", servcounter) % servcounter, ngettext("%d:%02d min", "%d:%02d mins", remaining_time / 60) % (remaining_time / 60, remaining_time % 60))
if servcounter == 0:
text = first_text + _("Scanning last service. Please wait.")
if config.plugins.epgrefresh.parse_autotimer.value and not self.refreshAdapter:
text = first_text + _("\nRunning AutoTimer. Please wait.")
else:
text = first_text + _("Scanning last service. Please wait.")
if config.plugins.epgrefresh.parse_autotimer.value:
text += _("\n\nAutoTimer will start after completion.")
else:
text = first_text + _("Following Services have to be scanned:") + '\n' + servtxt + last_text
session.openWithCallback(self.msgClosed, MessageBox, text, MessageBox.TYPE_YESNO)
Expand Down
Loading