Mercurial > vixm
changeset 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 | 2bf81d95246a |
files | run vixm/player.py |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/run Mon Nov 06 04:50:55 2006 -0500 +++ b/run Mon Nov 06 05:04:44 2006 -0500 @@ -1,10 +1,10 @@ #!/usr/bin/python -import sys +import sys, os sys.path.insert(0, "") from vixm import ui -ui.run("list.m3u") +ui.run(os.path.join(os.environ['HOME'], ".vixm/list.m3u"))
--- 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()