[totem-pl-parser] lines: Fix parsing of Windows-style SMB playlists



commit 4b2163b05e907e12bcfcd337cb423d11fdf0d033
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Feb 8 14:55:28 2015 +0100

    lines: Fix parsing of Windows-style SMB playlists
    
    We were computing a new gvfs-style URI to replace the "\\server\" format
    Windows uses, but we weren't using the results.

 plparse/totem-pl-parser-lines.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plparse/totem-pl-parser-lines.c b/plparse/totem-pl-parser-lines.c
index f641f8f..0731523 100644
--- a/plparse/totem-pl-parser-lines.c
+++ b/plparse/totem-pl-parser-lines.c
@@ -481,7 +481,7 @@ totem_pl_parser_add_m3u (TotemPlParser *parser,
                        lines[i] = g_strdelimit (lines[i], "\\", '/');
                        tmpuri = g_strjoin (NULL, "smb:", line, NULL);
 
-                       totem_pl_parser_add_one_uri (parser, line,
+                       totem_pl_parser_add_one_uri (parser, tmpuri,
                                        totem_pl_parser_get_extinfo_title (extinfo));
                        extinfo = NULL;
 


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