2011-10-01, 19:30
Negative to both questions.
binBD Wrote:hey inoticed that when i went to xbox.com that i changed my avatar clothes
then i restarted xbmc so it could update my avatar.png in xbmc but it didnt
up date the picture.is there a way to make the script download an up dated picture ever time i start xbmc?
# check if the file exists; if it does, there's no need to redownloaded; otherwise download and save
if not os.path.isfile(filename):
urllib.urlretrieve(url, filename)
log('FILE DOWNLOAD COMPLETED: ' + filename)
else:
log('FILE DOWNLOAD SKIPPED: ' + filename)
urllib.urlretrieve(url, filename)
log('FILE DOWNLOAD COMPLETED: ' + filename)