summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2009-09-16 00:00:43 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2009-09-16 00:00:43 +0800
commitd88826a923908e4dc93f483fc3ab48c9419885b8 (patch)
tree32a2ece8bdde6d4eb383e3b22afb0e4cb6b85846
parent1a1a80bd23418de54976032b2a54de7c9670946a (diff)
totem: implement add to personal list
-rw-r--r--totem/plugin/sopcast.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/totem/plugin/sopcast.py b/totem/plugin/sopcast.py
index 21e3e03..9d13a75 100644
--- a/totem/plugin/sopcast.py
+++ b/totem/plugin/sopcast.py
@@ -264,8 +264,10 @@ class Sopcast (totem.Plugin):
for row in rows:
iter = model.get_iter (row)
+ title = model.get_value (iter, 0)
mrl = model.get_value (iter, 2)
- print mrl
+ #print title, mrl
+ self.add_to_playlist (title, mrl)
def on_remove_from_station_list (self, treeview):
treeview_name = self.current_treeview_name