summaryrefslogtreecommitdiff
path: root/apps/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index e02c0c5583..300c7aab65 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -22,7 +22,7 @@
/* playlist data */
-#define MAX_PLAYLIST_SIZE 1000
+#define MAX_PLAYLIST_SIZE 10000
typedef struct
{
char filename[256]; /* path name of m3u playlist on disk */
@@ -32,6 +32,8 @@ typedef struct
int amount; /* number of tracks in the index */
} playlist_info_t;
+extern playlist_info_t playlist;
+
void play_list(char *dir, char *file);
char* playlist_next(int type);
void randomise_playlist( playlist_info_t *playlist, unsigned int seed );