summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--binding/media-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/media-manager.c b/binding/media-manager.c
index d451b3d..5fee748 100644
--- a/binding/media-manager.c
+++ b/binding/media-manager.c
@@ -99,7 +99,7 @@ GList* media_local_scan(GList *list)
while ((tmp = (gchar *) g_dir_read_name(dir)) != NULL)
{
struct Media_Item *item = g_malloc0(sizeof(*item));
- item->path = g_strdup_printf("file://%s", path);
+ item->path = g_strdup_printf("file://%s/%s", path, tmp);
list = g_list_append(list, item);
}