summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-18 21:54:49 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-18 21:54:49 +0100
commit6e9f5c00d97065a0480ceaa1ce9d103dbadb1364 (patch)
tree48fb9eac0e3615435f991503efee26b54d1f6b9d /playlist.h
parentaf6e4cb3ad53df942abae4b1dbe8068e6e72408d (diff)
metadata editing WIP; added tab for global hotkey preferences
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/playlist.h b/playlist.h
index 37bd17b6..5d33d7a4 100644
--- a/playlist.h
+++ b/playlist.h
@@ -21,12 +21,6 @@
#include <stdint.h>
#include <time.h>
-typedef struct metaInfo_s {
- const char *key;
- const char *value;
- struct metaInfo_s *next;
-} metaInfo_t;
-
#define PL_MAX_ITERATORS 2
typedef struct playItem_s {
@@ -49,7 +43,7 @@ typedef struct playItem_s {
int _refc;
struct playItem_s *next[PL_MAX_ITERATORS]; // next item in linked list
struct playItem_s *prev[PL_MAX_ITERATORS]; // prev item in linked list
- struct metaInfo_s *meta; // linked list storing metainfo
+ struct DB_metaInfo_s *meta; // linked list storing metainfo
unsigned selected : 1;
unsigned played : 1; // mark as played in shuffle mode
unsigned in_playlist : 1; // 1 if item is in playlist
@@ -303,4 +297,7 @@ pl_playqueue_getcount (void);
void
pl_items_copy_junk (struct playItem_s *from, struct playItem_s *first, struct playItem_s *last);
+struct DB_metaInfo_s *
+pl_get_metadata (playItem_t *it);
+
#endif // __PLAYLIST_H