This a small one and when selecting recording to be placed local so I can watch those in a time I want.
The change is in the flow and it makes it easier to select more than one recording.
Python: channels.py
if exists is False:
if self.categoryname == "vod":
downloads_all.append([_("Movie"), title, stream_url, "Not Started", 0, 0])
elif self.categoryname == "series":
downloads_all.append([_("Series"), title, stream_url, "Not Started", 0, 0])
elif self.categoryname == "catchup":
downloads_all.append([_("Catch-up"), title, playurl, "Not Started", 0, 0, description]) #### adding description to download2.json
with open(downloads_json, "w") as f:
json.dump(downloads_all, f)
####self.session.openWithCallback(self.opendownloader, MessageBox, _(title) + "\n\n" + _("Added to download manager") + "\n\n" + _("Note recording acts as an open connection.") + "\n" + _("Do not record and play streams at the same time.") + "\n\n" + _("Open download manager?"))
self.session.openWithCallback(self.opendownloader, MessageBox, _(title) + "\n\n" + _("Added to download manager") + "\n\n" + _("Note recording acts as an open connection.") + "\n" + _("Do not record and play streams at the same time.") + "\n\n" + _("Select more recordings?"))
else:
self.session.open(MessageBox, _(title) + "\n\n" + _("Already added to download manager"), MessageBox.TYPE_ERROR, timeout=5)
def opendownloader(self, answer=None):
####if not answer:
if answer:
return
else:
from . import downloadmanager
self.session.openWithCallback(self.createSetup, downloadmanager.XStreamity_DownloadManager)
Display More
I have marked the lines that are marked out now with #### and added the changed line underneath.
If you by accident still want go to the download manager screen then you can select a other recording and the then select no, showing then the screen or you go the main menu where you can enter the download manager screen also.