diff options
Diffstat (limited to 'vfs.c')
-rw-r--r-- | vfs.c | 24 |
1 files changed, 8 insertions, 16 deletions
@@ -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; -} |