2013-02-19, 22:50
So this has certainly become a "write doobiest's script for him" exercise. And I do appreciate everyone's help. I've actually learned quite a lot about python from this exercise.
I'm wondering if it's able to do a slide effect to make the image pop out of the bottom of the screen like a toast. I'm dabbled a bit with no luck. Do I have to apply dialog itself? and How?
I'm not clear on what to set the path to for urlretrieve now that this is set.
urllib.urlretrieve("http://wwwerd.com/camera/", '/tmp/bell.jpg') should be changed to just 'path'/bell.jpg?
I'm wondering if it's able to do a slide effect to make the image pop out of the bottom of the screen like a toast. I'm dabbled a bit with no luck. Do I have to apply dialog itself? and How?
(2013-02-19, 20:40)ronie Wrote:Code:import xbmcvfs
__addon__ = xbmcaddon.Addon()
__addonid__ = __addon__.getAddonInfo('id')
path = xbmc.translatePath('special://profile/addon_data/%s' % __addonid__)
if not xbmcvfs.exists(path):
xbmcvfs.mkdir(path)
I'm not clear on what to set the path to for urlretrieve now that this is set.
urllib.urlretrieve("http://wwwerd.com/camera/", '/tmp/bell.jpg') should be changed to just 'path'/bell.jpg?