[totem] grilo: Clear the playlist before playback
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] grilo: Clear the playlist before playback
- Date: Tue, 9 Jul 2013 10:36:56 +0000 (UTC)
commit 6d2bcf1e8fd68e165df0653cb024517379926a25
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jul 9 11:11:17 2013 +0200
grilo: Clear the playlist before playback
src/plugins/grilo/totem-grilo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index 82bfbd1..8f23885 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -1358,6 +1358,7 @@ setup_browse (TotemGriloPlugin *self,
static void
add_to_pls_cb (GtkAction *action, TotemGriloPlugin *self)
{
+ totem_object_clear_playlist (self->priv->totem);
totem_object_add_to_playlist_and_play (self->priv->totem,
grl_media_get_url (self->priv->selected_media),
grl_media_get_title (self->priv->selected_media));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]