summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2009-09-23 07:06:43 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2009-09-23 07:06:43 +0800
commit30b9e08acf196ac063dd0392d4adf3a97277a15e (patch)
tree290e804f5a2c9ab5f3af48702938bcb6b5e8c139
parentcf2cfe04f2a21af4a417924effdeb7442c927b2d (diff)
totem: channels group cann't be played
-rw-r--r--totem/plugin/sopcast.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/totem/plugin/sopcast.py b/totem/plugin/sopcast.py
index 4cb3496..9db0f27 100644
--- a/totem/plugin/sopcast.py
+++ b/totem/plugin/sopcast.py
@@ -365,6 +365,8 @@ class Sopcast (totem.Plugin):
#channel = self.channel_guide.channels[row[0]][row[1]]
#print channel
+ if not mrl:
+ return
if hasattr(self.totem, "add_to_playlist_and_play"):
self.totem.add_to_playlist_and_play (mrl, title, False)
else: