diff options
author | waker <wakeroid@gmail.com> | 2011-03-26 22:51:51 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-26 22:51:51 +0100 |
commit | 2c0f383ad74af2790ea5e470ded4f5e3c08ce772 (patch) | |
tree | 678484a17faad1cf139ccdabb84c2c8e4fcad63b /playlist.h | |
parent | 49f5aa7515d026fe581c0d890c33c02818e7bdd9 (diff) |
initial support for playlist metadata
allows to add any set of properties to every playlist
api is based on playItem metadata api
Diffstat (limited to 'playlist.h')
-rw-r--r-- | playlist.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -49,12 +49,13 @@ typedef struct playItem_s { typedef struct playlist_s { char *title; + struct playlist_s *next; int count[2]; float totaltime; playItem_t *head[PL_MAX_ITERATORS]; // head of linked list playItem_t *tail[PL_MAX_ITERATORS]; // tail of linked list int current_row[PL_MAX_ITERATORS]; // current row (cursor) - struct playlist_s *next; + struct DB_metaInfo_s *meta; // linked list storing metainfo } playlist_t; // global playlist control functions @@ -126,10 +127,10 @@ int plt_get_idx_of (playlist_t *plt); int -plt_get_title (int plt, char *buffer, int bufsize); +plt_get_title (playlist_t *plt, char *buffer, int bufsize); int -plt_set_title (int plt, const char *title); +plt_set_title (playlist_t *plt, const char *title); // moves playlist #from to position #to void |