Tolti alcuni (ora) inutili messaggi di debug
Leonardo Robol [2009-11-08 13:05]
Tolti alcuni (ora) inutili messaggi di debug
diff --git a/RaiTV/ChannelLoader.py b/RaiTV/ChannelLoader.py
index c4fffb7..9edf327 100644
--- a/RaiTV/ChannelLoader.py
+++ b/RaiTV/ChannelLoader.py
@@ -91,7 +91,6 @@ class ChannelList():
r = urllib2.urlopen(req)
mms = r.read()
- print mms
mms = re.search(r"HREF=\"(\S*)\"", mms).group(1)
## Provo a vedere se la rai mi ha rifilato un http, spacciandolo
@@ -105,7 +104,6 @@ class ChannelList():
## Se è così ci serve mms over http
mms = "mmsh://" + reference[0]
- print "mms url // " + mms
return mms
diff --git a/RaiTV/VideoWidget.py b/RaiTV/VideoWidget.py
index 58dcb41..57f4523 100644
--- a/RaiTV/VideoWidget.py
+++ b/RaiTV/VideoWidget.py
@@ -154,13 +154,11 @@ class VideoWidget(gtk.DrawingArea):
if self.playing:
self.stop()
- print " => Buono, video stoppati"
-
self.player = GstPlayer(self.window.xid, uri)
- print " => Player creato"
+
self.player.start()
self.player.pause()
- print " => Player avviato"
+
self.playing = True