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