summaryrefslogtreecommitdiff
path: root/src/totem-playlist.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2006-05-16 17:28:18 +0000
committerBastien Nocera <hadess@src.gnome.org>2006-05-16 17:28:18 +0000
commit700c810364fe5a8da22d99c699a53e12810660a5 (patch)
tree8cc8fadf83ad7b35529bee67cfe291701d0846c4 /src/totem-playlist.h
parent329cae800b6478bddad7b95e6d4741ae29dd5a01 (diff)
downloadtotem-700c810364fe5a8da22d99c699a53e12810660a5.tar.gz
Patch from Przemysław Grzegorczyk <pgrzegorczyk@gmail.com> to add XSPF
2006-05-16 Bastien Nocera <hadess@hadess.net> * data/mime-type-list.txt: * src/plparse/totem-pl-parser.c: (totem_pl_parser_write_m3u), (totem_pl_parser_write_xspf), (totem_pl_parser_write_with_title), (totem_pl_resolve_url), (totem_pl_parser_add_pls_with_contents), (parse_asx_entry), (parse_smil_video_entry), (parse_xspf_track), (parse_xspf_trackList), (parse_xspf_entries), (totem_pl_parser_add_xspf): * src/plparse/totem-pl-parser.h: * src/totem-playlist.c: (totem_playlist_save_current_playlist), (totem_playlist_save_current_playlist_ext), (totem_playlist_save_playlist), (totem_playlist_save_add_format_combo_box), (totem_playlist_save_files): * src/totem-playlist.h: Patch from Przemysław Grzegorczyk <pgrzegorczyk@gmail.com> to add XSPF save and load support to TotemPlaylistParser, and add a way to choose the playlist type when saving them. Also fixes using the wrong buffer when writing an m3u playlist, and adding the wrong URI when using relative URIs in PLS playlists.
Diffstat (limited to 'src/totem-playlist.h')
-rw-r--r--src/totem-playlist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/totem-playlist.h b/src/totem-playlist.h
index 6cf7552ba..301a3e493 100644
--- a/src/totem-playlist.h
+++ b/src/totem-playlist.h
@@ -26,6 +26,8 @@
#include <gtk/gtkvbox.h>
#include <libgnomevfs/gnome-vfs-volume.h>
+#include "totem-pl-parser.h"
+
G_BEGIN_DECLS
#define GTK_TYPE_PLAYLIST (totem_playlist_get_type ())
@@ -72,6 +74,8 @@ gboolean totem_playlist_add_mrl (TotemPlaylist *playlist, const char *mrl,
void totem_playlist_save_current_playlist (TotemPlaylist *playlist,
const char *output);
+void totem_playlist_save_current_playlist_ext (TotemPlaylist *playlist,
+ const char *output, TotemPlParserType type);
/* totem_playlist_clear doesn't emit the current_removed signal, even if it does
* because the caller should know what to do after it's done with clearing */