summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-06 21:12:38 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-06 21:12:38 +0100
commit39b8fe4b2c864247e0004d2a8c0ca55bab0fdf32 (patch)
tree6a5a4daf957a6522ba7342c6ca376b2722768fcb /deadbeef.h
parent63a606b4592acacf7adb76587c3177b0676d3886 (diff)
rewrote icy header parser
shoutcast title is being read from icy headers
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index b9cc4c5e..51f512dc 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -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;