[totem] main: Save session playlist in XSPF format



commit 7d918010ba9c11a55cddd817aad351b832eb45c3
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Mar 8 18:52:25 2013 +0100

    main: Save session playlist in XSPF format

 src/totem-playlist.c |    2 +-
 src/totem-session.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-playlist.c b/src/totem-playlist.c
index c6a96f1..9a6f769 100644
--- a/src/totem-playlist.c
+++ b/src/totem-playlist.c
@@ -438,7 +438,7 @@ totem_playlist_save_iter_foreach (GtkTreeModel *model,
 void
 totem_playlist_save_current_playlist (TotemPlaylist *playlist, const char *output)
 {
-       totem_playlist_save_current_playlist_ext (playlist, output, TOTEM_PL_PARSER_PLS);
+       totem_playlist_save_current_playlist_ext (playlist, output, TOTEM_PL_PARSER_XSPF);
 }
 
 void
diff --git a/src/totem-session.c b/src/totem-session.c
index ad272f0..1221acd 100644
--- a/src/totem-session.c
+++ b/src/totem-session.c
@@ -42,7 +42,7 @@ totem_session_create_key (void)
 {
        char *filename, *path;
 
-       filename = g_strdup_printf ("playlist-%d-%d-%u.pls",
+       filename = g_strdup_printf ("playlist-%d-%d-%u.xspf",
                        (int) getpid (),
                        (int) time (NULL),
                        g_random_int ());


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