Changeset - a9e34719cf86
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-06-08 21:16:27
drewp@bigasterisk.com
visible error when asco can't find a file
Ignore-this: d5e0a5791321950aaf90af4034570396
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/ascoltami/player.py
Show inline comments
 
@@ -99,7 +99,11 @@ class Player(object):
 
        """
 
        log.info("preloading %s", songPath)
 
        assert songPath.startswith("file://"), songPath
 
        open(songPath[len("file://"):]).read()
 
        try:
 
            open(songPath[len("file://"):]).read()
 
        except IOError as e:
 
            log.error("couldn't preload %s, %r", songPath, e)
 
            raise
 

	
 
    def currentTime(self):
 
        try:
0 comments (0 inline, 0 general)