# HG changeset patch # User Drew Perttula # Date 1182121245 0 # Node ID 25308bc6d76792359ea46911adb06c6c8818f358 # Parent 26a73a4647cbfa1e2225b77df9c2974123132a8b cache filling now prints diff -r 26a73a4647cb -r 25308bc6d767 bin/ascoltami --- 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