mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
playlist: Remove playlist_add()
It was only used in filetree.c. It's still implemented in Lua so scripts using rb.playlist_add() won't break, but has been removed from the Lua API "backend". Change-Id: I5625a47f0692456008c6b10dee14755151d22f29
This commit is contained in:
parent
129fb4016b
commit
9ba51e3552
8 changed files with 14 additions and 28 deletions
|
@ -28,7 +28,7 @@ rb.playlist_amount = function()
|
|||
return rb.playlist("amount")
|
||||
end
|
||||
rb.playlist_add = function (filename)
|
||||
return rb.playlist("add", filename)
|
||||
return rb.playlist("insert_track", filename, rb.PLAYLIST_INSERT_LAST, false, true)
|
||||
end
|
||||
rb.playlist_create = function(dir, filename)
|
||||
return rb.playlist("create", dir, filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue