Mercurial > code > home > repos > light9
changeset 404:25308bc6d767
cache filling now prints
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sun, 17 Jun 2007 23:00:45 +0000 |
parents | 26a73a4647cb |
children | 4a7daea5354c |
files | bin/ascoltami |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/ascoltami Sun Jun 17 22:57:43 2007 +0000 +++ b/bin/ascoltami Sun Jun 17 23:00:45 2007 +0000 @@ -210,7 +210,9 @@ playing, so that mpd should never hit the disk during playback. On score in 2007, we had some mpd stutters that were always timed with a disk read.""" - open(showconfig.songOnDisk(song)).read() + p = showconfig.songOnDisk(song) + print "reading %s to prime the cache" % p + open(p).read() def check_autopause(self): pause_time = self.total_time.get() + self.song_pad_time