diff options
-rw-r--r-- | music.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -15,8 +15,6 @@ gboolean music_init() { music_root = g_new0(struct directory, 1); music_root->path = path; - g_debug("added music root %s", path); - return 1; } @@ -49,7 +47,6 @@ gboolean music_scan(struct directory *directory) { directory->files = g_slist_prepend(directory->files, f); - g_debug("added file %s to %s", entry, directory->path); struct tag *tag = tag_read(fullpath); if(tag) { f->tag = tag; @@ -60,9 +57,6 @@ gboolean music_scan(struct directory *directory) { directory->sub = g_slist_prepend(directory->sub, d); - g_debug("added subdir %s to %s", entry, directory->path); - - g_debug("recursing into %s", entry); music_scan(d); } g_free(fullpath); @@ -85,7 +79,6 @@ static struct directory *music_find_dir_rec(struct directory *root, const gchar for(GSList *node = root->sub; node; node = g_slist_next(node)) { struct directory *d = node->data; - g_debug(d->path); if(g_strcmp0(d->path, path) == 0) { return d; } @@ -170,7 +163,6 @@ static GSList *music_find_rec(struct directory *directory, const gchar *name, en for(GSList *node = directory->sub; node; node = g_slist_next(node)) { struct directory *d = node->data; - g_debug("searching in dir %s", d->path); list = g_slist_concat(list, music_find_rec(d, name, type)); } |