appletrailer: fix adding those other hd-resolutions besides 480p

This commit is contained in:
Ilkka Ollakka 2010-04-22 13:39:26 +03:00
parent f470c23bf7
commit 78973025e4

View File

@ -59,8 +59,8 @@ function parse()
end
end
for index,resolution in ipairs({"480p","720p","1080p"}) do
path = string.gsub( path, "r320i.mov","h"..resolution..".mov")
table.insert( p, { path=path; name=title.." ("..resolution..")"; arturl=arturl; description=description; options={":http-user-agent=Quicktime/7.2.0 vlc lua edition",":input-fast-seek",":play-and-stop"};} )
locationurl = string.gsub( path, "r320i.mov","h"..resolution..".mov")
table.insert( p, { path=locationurl ; name=title.." ("..resolution..")"; arturl=arturl; description=description; options={":http-user-agent=Quicktime/7.2.0 vlc lua edition",":input-fast-seek",":play-and-stop"};} )
end
return p
end