forked from hkc/cc-stuff
Oopsie
This commit is contained in:
parent
d6d0e42978
commit
3dbd27525a
|
@ -510,20 +510,20 @@ function()
|
|||
local title = drive.read(117)
|
||||
if offset > drive.getSize() or length > drive.getSize() then
|
||||
mplayer.songs = {
|
||||
{
|
||||
title = drive.getLabel(),
|
||||
offset = 0,
|
||||
length = drive.getSize() - 10
|
||||
},
|
||||
{
|
||||
title = "NOTE: It's just a regular tape",
|
||||
offset = drive.getSize() - 10,
|
||||
length = 10
|
||||
},
|
||||
{
|
||||
title = drive.getLabel(),
|
||||
offset = 0,
|
||||
length = drive.getSize() - 10
|
||||
}
|
||||
}
|
||||
for t = 1, drive.getSize(), 6000 * 60 * 5 do
|
||||
table.insert(mplayer.songs, 2, {
|
||||
title = "Skip to " .. time2str(t),
|
||||
table.insert(mplayer.songs, {
|
||||
title = "Skip to " .. time2str(t / 6000),
|
||||
offset = t,
|
||||
length = 6000 * 60 * 5
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue