[totem] grilo: Empty the playlist when adding new items
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] grilo: Empty the playlist when adding new items
- Date: Tue, 14 Jan 2014 19:20:41 +0000 (UTC)
commit e510eebf78dedde8f7692b48402feaf2bdbcc2a5
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 14 15:42:11 2014 +0100
grilo: Empty the playlist when adding new items
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 a1167ce..00eadfe 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -475,6 +475,7 @@ play (TotemGriloPlugin *self,
url = grl_media_get_url (media);
if (url != NULL) {
+ totem_object_clear_playlist (self->priv->totem);
totem_object_add_to_playlist_and_play (self->priv->totem, url,
grl_media_get_title (media));
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]