Is it possible to show an messagebox if an error something else occured what the user should know about? Didn't find a function within the api documentation.
I've seen a popup message-box for choosing the video resultion...
Greets
Sascha
Is it possible to show an messagebox if an error something else occured what the user should know about? Didn't find a function within the api documentation.
I've seen a popup message-box for choosing the video resultion...
Greets
Sascha
I usually add this to the bottom of all of my Object containers. You can change the header and message to whatever you want to say in the title and message
if len(oc) < 1:
Log ('still no value for objects')
return ObjectContainer(header="Empty", message="There are no shows to list right now.")
else:
return oc
If I need it them to go to a particular place after the message, I usually make it a directory that goes to a function to fix it.
oc.add(DirectoryObject(key=Callback(URLError, url=url), title="Invalid or Incompatible URL", summary="The URL entered in the database was either incorrect or incompatible with this channel."))###################################
def URLError(url):oc = ObjectContainer()
oc.add(DirectoryObject(key=Callback(EditShow, url=url), title=“Edit Feed”))
oc.add(DirectoryObject(key=Callback(DeleteShow, title=“Delete Feed”, url=url), title=“Delete Feed”, summary=“Delete this URL from your list of feeds”))
return oc
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.