diff options
author | 2009-10-01 20:46:26 +0200 | |
---|---|---|
committer | 2009-10-01 20:46:26 +0200 | |
commit | 6303b539693d1c3aa58c0164e5a9799953abef41 (patch) | |
tree | e22ea9989cd944b68fb7ef9247c84d7be28f3c19 /playlist.c | |
parent | 7c646ffa127e4cca5a3c602cba7c9940f9c67668 (diff) |
improved curl seeking
fixed abnormal termination/hang if curl streamer was active
added id3v2 reading for streaming mp3s
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1320,3 +1320,14 @@ pl_reshuffle (playItem_t **ppmin, playItem_t **ppmax) { *ppmax = pmax; } } + +void +pl_delete_all_meta (playItem_t *it) { + while (it->meta) { + metaInfo_t *m = it->meta; + it->meta = m->next; + free (m->value); + free (m); + } + it->meta = NULL; +} |