summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAlbert Bloomfield <abloomfield@gmail.com>2012-02-16 08:20:41 -0500
committerThomas Martitz <kugel@rockbox.org>2012-02-17 12:02:22 +0100
commit885ecf832703ecc28eeb2476451fea2e8e3fa43e (patch)
tree044595d7c6977afea3f31955321734d070320de1 /firmware
parent39eec730b055a21d284c73095cbc42c4e4f56787 (diff)
downloadrockbox-885ecf832703ecc28eeb2476451fea2e8e3fa43e.tar.gz
rockbox-885ecf832703ecc28eeb2476451fea2e8e3fa43e.zip
Add playlist wrappers for lua
adds wrappers for the functions playlist_sync, playlist_remove_all_tracks, and playlist_insert_track, playlist_insert_directory playlist_{sync,remove_all_tracks} take no arguments playlist_insert_{track,directory} only have one required argument (either the filename or directory name) They take as optional arguments position, queue, and either sync or recurse They all just pass NULL to work with the current playlist also adds constants for: PLAYLIST_PREPEND, PLAYLIST_INSERT, PLAYLIST_INSERT_LAST, PLAYLIST_INSERT_FIRST, PLAYLIST_INSERT_SHUFFLED, PLAYLIST_REPLACE, and PLAYLIST_INSERT_LAST_SHUFFLED Change-Id: Ib7464cba50e7a250edf092e50668f11010f2b737 Reviewed-on: http://gerrit.rockbox.org/109 Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions