[grilo-plugins] filesystem: use proper URI format instead of concat "file://"



commit cd8be2be47830bb407ccb2427ca1b533be86ff5c
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date:   Thu Mar 10 15:12:16 2011 +0000

    filesystem: use proper URI format instead of concat "file://"
    
    Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>

 src/media/filesystem/grl-filesystem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/media/filesystem/grl-filesystem.c b/src/media/filesystem/grl-filesystem.c
index d4fe60c..553e3e4 100644
--- a/src/media/filesystem/grl-filesystem.c
+++ b/src/media/filesystem/grl-filesystem.c
@@ -481,7 +481,7 @@ create_content (GrlMedia *content,
   grl_media_set_id (media,  root_dir ? NULL : path);
 
   /* URL */
-  str = g_strconcat ("file://", path, NULL);
+  str = g_file_get_uri (file);
   grl_media_set_url (media, str);
   g_free (str);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]