It's `drive`, not `tape`
This commit is contained in:
parent
621a303553
commit
32caf7810e
|
@ -510,13 +510,13 @@ function()
|
||||||
if offset > drive.getSize() or length > drive.getSize() then
|
if offset > drive.getSize() or length > drive.getSize() then
|
||||||
mplayer.songs = {
|
mplayer.songs = {
|
||||||
{
|
{
|
||||||
title = tape.getLabel(),
|
title = drive.getLabel(),
|
||||||
offset = 0,
|
offset = 0,
|
||||||
length = tape.getSize() - 10
|
length = drive.getSize() - 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title = "[ !!! ] It's just a regular tape",
|
title = "[ !!! ] It's just a regular tape",
|
||||||
offset = tape.getSize() - 10,
|
offset = drive.getSize() - 10,
|
||||||
length = 10
|
length = 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue