summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-08-28 12:16:59 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-08-28 12:16:59 +0200
commit2b832244e0719e7b41c440bb262d13021513b1a2 (patch)
tree39f7b50002e7a3d8598745c9e39a167384bf35e5
parent9ac3c2b3560da178800e5ad88ce29973454a66e5 (diff)
Removed debug lines in music.c.
-rw-r--r--music.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/music.c b/music.c
index f788266..b90d5af 100644
--- a/music.c
+++ b/music.c
@@ -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));
}