diff vixm/player.py @ 44:c46d3f8833f9 pure

Move list and stats into ~/.vixm/
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Mon, 06 Nov 2006 05:04:44 -0500
parents d3ac3a46a294
children 2d570448aba5
line wrap: on
line diff
--- a/vixm/player.py	Mon Nov 06 04:50:55 2006 -0500
+++ b/vixm/player.py	Mon Nov 06 05:04:44 2006 -0500
@@ -1,4 +1,4 @@
-import time
+import time, os
 from threading import Thread
 
 import mad, ao
@@ -18,7 +18,7 @@
 		self.blksize  = 40960
 		self.dev      = ao.AudioDevice("oss")
 
-		self.stats    = stats.statsengine("stats")
+		self.stats    = stats.statsengine(os.path.join(os.environ['HOME'], ".vixm/stats"))
 
 		self.rb       = rb_dbus.RhythmboxDbusThread(self)
 		self.rb.start()