diff options
author | 2009-11-06 21:12:38 +0100 | |
---|---|---|
committer | 2009-11-06 21:12:38 +0100 | |
commit | 39b8fe4b2c864247e0004d2a8c0ca55bab0fdf32 (patch) | |
tree | 6a5a4daf957a6522ba7342c6ca376b2722768fcb /deadbeef.h | |
parent | 63a606b4592acacf7adb76587c3177b0676d3886 (diff) |
rewrote icy header parser
shoutcast title is being read from icy headers
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -236,6 +236,8 @@ typedef struct { void (*rewind) (DB_FILE *stream); int64_t (*fgetlength) (DB_FILE *stream); const char *(*fget_content_type) (DB_FILE *stream); + const char *(*fget_content_name) (DB_FILE *stream); + const char *(*fget_content_genre) (DB_FILE *stream); // message passing int (*sendmessage) (uint32_t id, uintptr_t ctx, uint32_t p1, uint32_t p2); // configuration access @@ -393,6 +395,8 @@ typedef struct DB_vfs_s { void (*rewind) (DB_FILE *stream); int64_t (*getlength)(DB_FILE *stream); const char * (*get_content_type) (DB_FILE *stream); + const char * (*get_content_name) (DB_FILE *stream); + const char * (*get_content_genre) (DB_FILE *stream); const char **scheme_names; // NULL-terminated list of supported schemes, e.g. {"http", "ftp", NULL} unsigned streaming : 1; } DB_vfs_t; |