annotate vixm2 @ 49:fa451278826b pure v0.30-rc1

rename the executable to vixm2
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Mon, 06 Nov 2006 05:33:46 -0500
parents run@2d570448aba5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
b34cc91f003d A convenient run script & __init__.py file
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
1 #!/usr/bin/python
b34cc91f003d A convenient run script & __init__.py file
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
2
44
c46d3f8833f9 Move list and stats into ~/.vixm/
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 30
diff changeset
3 import sys, os
4
b34cc91f003d A convenient run script & __init__.py file
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
4
b34cc91f003d A convenient run script & __init__.py file
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
5 sys.path.insert(0, "")
b34cc91f003d A convenient run script & __init__.py file
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
6
45
2bf81d95246a Move starting code into main.py
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 44
diff changeset
7 from vixm import main
4
b34cc91f003d A convenient run script & __init__.py file
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
8
46
2d570448aba5 Abstract out the stats code a little bit more
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 45
diff changeset
9 list = os.path.join(os.environ['HOME'], ".vixm/list.m3u")
2d570448aba5 Abstract out the stats code a little bit more
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 45
diff changeset
10 stats = os.path.join(os.environ['HOME'], ".vixm/stats")
4
b34cc91f003d A convenient run script & __init__.py file
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
11
46
2d570448aba5 Abstract out the stats code a little bit more
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 45
diff changeset
12 main.run(list, stats)
2d570448aba5 Abstract out the stats code a little bit more
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 45
diff changeset
13