summaryrefslogtreecommitdiffstats
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-10-21 06:40:45 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-10-21 06:40:45 +0000
commitc52f7f1b5e02b48272037f7e82d1af43cea74b1d (patch)
tree1dbc6a56a36d66cec2d9701da3c188ffead6ed2b /apps/playlist.h
parentddad7197ed4d3c9db25bcbbcafd40ff82ad4b717 (diff)
downloadrockbox-c52f7f1b5e02b48272037f7e82d1af43cea74b1d.tar.gz
rockbox-c52f7f1b5e02b48272037f7e82d1af43cea74b1d.tar.bz2
rockbox-c52f7f1b5e02b48272037f7e82d1af43cea74b1d.zip
iRiver: Fixed broken items skipping on playlist: Now skipping and
marking them as bad instead of deleting the entries from playlist. Faster buffered track skipping and preventing glitches from previous tracks (still something might occur though, please report them). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7647 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index eee8bf5945..1937c48a12 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -58,6 +58,7 @@ struct playlist_info
#define PLAYLIST_ATTR_QUEUED 0x01
#define PLAYLIST_ATTR_INSERTED 0x02
+#define PLAYLIST_ATTR_SKIPPED 0x04
#define DEFAULT_DYNAMIC_PLAYLIST_NAME "/dynamic.m3u"
@@ -99,6 +100,7 @@ int playlist_insert_directory(struct playlist_info* playlist,
bool recurse);
int playlist_insert_playlist(struct playlist_info* playlist, char *filename,
int position, bool queue);
+void playlist_skip_entry(struct playlist_info *playlist, int steps);
int playlist_delete(struct playlist_info* playlist, int index);
int playlist_move(struct playlist_info* playlist, int index, int new_index);
int playlist_randomise(struct playlist_info* playlist, unsigned int seed,