summaryrefslogtreecommitdiff
path: root/vfs.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-21 19:44:31 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-21 19:44:45 +0200
commit00d84a3bed357c8efc88affc3c0e100e915699c5 (patch)
tree01fb0ee6535456d24b92775ecccc3a2b6b7522a1 /vfs.c
parent34a244ee1a02423a867bc86efe8b9f21d9a208b0 (diff)
improved icy metadata handling; separate artist and title fields
Diffstat (limited to 'vfs.c')
-rw-r--r--vfs.c24
1 files changed, 8 insertions, 16 deletions
diff --git a/vfs.c b/vfs.c
index 432e844f..f676c38c 100644
--- a/vfs.c
+++ b/vfs.c
@@ -21,8 +21,8 @@
#include "vfs.h"
#include "plugins.h"
-#define trace(...) { fprintf(stderr, __VA_ARGS__); }
-//#define trace(fmt,...)
+//#define trace(...) { fprintf(stderr, __VA_ARGS__); }
+#define trace(fmt,...)
DB_FILE *
vfs_fopen (const char *fname) {
@@ -50,6 +50,12 @@ vfs_fopen (const char *fname) {
return NULL;
}
+void vfs_set_track (DB_FILE *stream, DB_playItem_t *it) {
+ if (stream->vfs->set_track) {
+ stream->vfs->set_track (stream, it);
+ }
+}
+
void
vfs_fclose (DB_FILE *stream) {
return stream->vfs->close (stream);
@@ -85,17 +91,3 @@ 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;
-}