HarshReality
2005-12-17, 06:33
so here it goes, if you open yours in notepad and it doesnt look like this it wont work!
if sel >= len(movie.trailers):
sel = len(movie.trailers) - 1
if sel != -1:
link = movie.getmov(sel)
link = replace(link, '.i640','640w')
link = replace(link, '.i480','480')
link = replace(link, '.i320','320')
if link == none or link == '':
xbmcguidialog().ok('error!','no trailer has been found for this movie using the url:\n' + movie.trailers[sel])
else:
filename_download = get_filename_from_link(download_dir,link)
**note this code view does not observe indentation, the file itself does however!
admin, mod or whatever sticky it if you like.. the file wont be moving as i have no bandwidth limits (or space limits for that matter).
if sel >= len(movie.trailers):
sel = len(movie.trailers) - 1
if sel != -1:
link = movie.getmov(sel)
link = replace(link, '.i640','640w')
link = replace(link, '.i480','480')
link = replace(link, '.i320','320')
if link == none or link == '':
xbmcguidialog().ok('error!','no trailer has been found for this movie using the url:\n' + movie.trailers[sel])
else:
filename_download = get_filename_from_link(download_dir,link)
**note this code view does not observe indentation, the file itself does however!
admin, mod or whatever sticky it if you like.. the file wont be moving as i have no bandwidth limits (or space limits for that matter).