summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-02-01 20:02:30 +0100
committerGravatar waker <wakeroid@gmail.com>2011-02-01 20:02:30 +0100
commit3beb907821ef4788e1daefa756185e7eec317230 (patch)
tree9804c29a962959249cf70a2e70d4932ad1a898df /playlist.c
parent2269a5ac9fb216494fb3477b67a9240beebad779 (diff)
added vfs container support to gtk addfile/folder dialogs
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/playlist.c b/playlist.c
index b5077e5e..051c427c 100644
--- a/playlist.c
+++ b/playlist.c
@@ -1432,16 +1432,13 @@ pl_insert_file (playItem_t *after, const char *fname, int *pabort, int (*cb)(pla
const char **exts = decoders[i]->exts;
for (int e = 0; exts[e]; e++) {
if (!strcasecmp (exts[e], eol)) {
- printf ("ext found: %s, trying to insert...\n", exts[e]);
playItem_t *inserted = (playItem_t *)decoders[i]->insert (DB_PLAYITEM (after), fname);
if (inserted != NULL) {
- printf ("success\n");
if (cb && cb (inserted, user_data) < 0) {
*pabort = 1;
}
return inserted;
}
- printf ("fail\n");
}
}
}