Console version can now play songs
[jamaendo] / scripts / player
1 #!/usr/bin/env python
2
3 # debugging hack - add . to path
4 import os, sys
5 local_module_dir = os.path.join(os.path.dirname(sys.argv[0]), '..')
6 if os.path.isdir(local_module_dir):
7     sys.path.append(local_module_dir)
8
9 def main():
10     #from jamaui.ui import JamaUI
11     #player = JamaUI()
12     from jamaui.console import Console
13     player = Console()
14
15     player.run()
16
17 if __name__=="__main__":
18     main()