Quote:
|
Originally Posted by mzemina Jonathan - What will occur when the subscription fails due to expiration of the username? Will your plugin notify the user with a display?
Mike |
If your password is incorrect it will inform you when it next runs by displaying a model dialog box for which you must click "OK" to dimiss. Your password is encrypted in the Media Portal.xml configuration file using the Microsoft Data Protection API. For security reasons, if you copy the config file to another computer you will need to re-enter your Zap2it password.
If your subscription expires or if you have no listings defined in Zap2it, it will also display a model dialog box. Unfortunately, due to the misformed SOAP packet from Zap2it I cannot differentiate between expired subscriptions, no lineups defined or an error in transmission as they all result in an XmlException error. I would need to write my own SOAP parser to detect this and I'd rather Zap2it fix the error in their code!
Each download the plugin will also check the date your subscription expires. If there are 7 days or less, it will notify you via a modal dialog box how many days you have left (and wait for you to click OK). 7 days was chosen as you cannot resubscribe by taking the web survey any sooner than that.
Otherwise, unless you disable the option, it will just have a 20 second popup that tells you how much guide data you now have in the database when it completes. You can click OK (or close) or just wait the 20 seconds and it will go away.
Also, you will likely see Zap2it support in WebEPG too in the future as I have shared the code with James
