This commit is contained in:
Casey 2023-10-20 04:40:32 +03:00
parent d6d0e42978
commit 3dbd27525a
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 7 additions and 7 deletions

View File

@ -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
})