diff options
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -42,8 +42,8 @@ #define PLAYLIST_MAJOR_VER 1 #define PLAYLIST_MINOR_VER 1 -//#define trace(...) { fprintf(stderr, __VA_ARGS__); } -#define trace(fmt,...) +#define trace(...) { fprintf(stderr, __VA_ARGS__); } +//#define trace(fmt,...) #define SKIP_BLANK_CUE_TRACKS 1 @@ -682,6 +682,7 @@ pl_insert_pls (playItem_t *after, const char *fname, int *pabort, int (*cb)(play playItem_t * pl_insert_file (playItem_t *after, const char *fname, int *pabort, int (*cb)(playItem_t *it, void *data), void *user_data) { + trace ("pl_insert_file %s\n", fname); if (!fname || !(*fname)) { return NULL; } @@ -738,6 +739,7 @@ pl_insert_file (playItem_t *after, const char *fname, int *pabort, int (*cb)(pla DB_decoder_t **decoders = plug_get_decoder_list (); // match by decoder for (int i = 0; decoders[i]; i++) { + trace ("matching decoder %d(%s)...\n", i, decoders[i]->id); if (decoders[i]->exts && decoders[i]->insert) { const char **exts = decoders[i]->exts; for (int e = 0; exts[e]; e++) { |