Changeset - 236a0b89ee0f
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 15 years ago 2010-06-20 21:13:11
drewp@bigasterisk.com
vidref poured exceptions when the player had no song
Ignore-this: 338e48bf5e495e4592b618d5b271a30b
2 files changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/vidref/main.py
Show inline comments
 
@@ -102,7 +102,7 @@ class VideoRecordSink(gst.Element):
 
        position = self.musicTime.getLatest()
 

	
 
        if not position['song']:
 
            print "no song"
 
            print "no song" # todo: this prints too much when the player has no song
 
            return gst.FLOW_OK
 

	
 
        try:
light9/vidref/replay.py
Show inline comments
 
@@ -54,6 +54,9 @@ class ReplayViews(object):
 
            v.destroy()
 
        self.views[:] = []
 

	
 
        if not song:
 
            return
 
        
 
        d = songDir(song)
 
        try:
 
            takes = sorted(t for t in os.listdir(d) if t.isdigit())
0 comments (0 inline, 0 general)