diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-11-06 21:12:38 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-11-06 21:12:38 +0100 |
commit | 39b8fe4b2c864247e0004d2a8c0ca55bab0fdf32 (patch) | |
tree | 6a5a4daf957a6522ba7342c6ca376b2722768fcb /vfs.c | |
parent | 63a606b4592acacf7adb76587c3177b0676d3886 (diff) |
rewrote icy header parser
shoutcast title is being read from icy headers
Diffstat (limited to 'vfs.c')
-rw-r--r-- | vfs.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -84,3 +84,18 @@ const char * vfs_get_content_type (DB_FILE *stream) { return stream->vfs->get_content_type (stream); } + +const char * +vfs_get_content_name (DB_FILE *stream) { + if (stream->vfs->get_content_name) { + return stream->vfs->get_content_name (stream); + } + return NULL; +} +const char * +vfs_get_content_genre (DB_FILE *stream) { + if (stream->vfs->get_content_genre) { + return stream->vfs->get_content_genre (stream); + } + return NULL; +} |