2011-08-19, 22:39
pieh Wrote:<import addon="script.module.urlresolver" version="0.0.1"/> means that addon need script.module.urlresolver ver 0.0.1 or higher. You can have only 1 version of addon (previous versions are stored in addons/packages). If in any installed repository there is available addon with higher version xbmc will auto-update it - that is if user didn't turn off auto-updates).
thanks pieh, that clears up nicely how it works. so that means that when changing the public api for our module we need to maintain backwards compatibility, and addons should request the version they are tested with (as any later versions should also work)
Eldorado Wrote:The idea in itself is much better than taking a user to yet another screen.. the popup doesn't feel like a screenyes i like it because you can actually resolve the url for the entry labelled with the name of the video - it means you don't need to do anything messy to keep track of the title, icon, plot etc.
Eldorado Wrote:Youtube:i consider this a bug. resolver plugins should accept all legit hoster urls. i'll fix that.
I scrape this - http://www.youtube.com/v/VihlsPKMh4U&hl=en&fs=1
I need to reformat to be this to work - http://www.youtube.com/watch?v=VihlsPKMh4U&hl=en&fs=1
Eldorado Wrote:MegaVideo - I usually have the ID rather than the full link
so something like 'MegavideoResolver://VIDEOID' might be useful there. i want to try and work out the best way of doing that kind of thing without making it more complex to write the plugin.
t0mm0.