Mercurial > code > home > repos > light9
annotate bin/vidref @ 541:edb75a48fcb8
vidref now finds and plays back multiple takes of the current song
Ignore-this: 951b6526b8e2af0e261c11d93bb1e255
author | drewp@bigasterisk.com |
---|---|
date | Sun, 13 Jun 2010 09:41:45 +0000 |
parents | 481aa9a970b3 |
children | cfd5d5be1b50 |
rev | line source |
---|---|
522 | 1 #!/usr/bin/python |
525 | 2 import gobject |
3 gobject.threads_init() | |
522 | 4 import gtk |
534
6f1eb6437c96
vidref refactor, start to add more widgets
drewp@bigasterisk.com
parents:
525
diff
changeset
|
5 import sys, logging |
523
9f36a105adb3
fix vidref to allow playback from webcam
drewp@bigasterisk.com
parents:
522
diff
changeset
|
6 sys.path.append(".") |
522 | 7 from light9.vidref.main import Main |
8 | |
541
edb75a48fcb8
vidref now finds and plays back multiple takes of the current song
drewp@bigasterisk.com
parents:
535
diff
changeset
|
9 # find replay dirs correctly. show multiple replays. trash. reorder/pin. |
535 | 10 |
522 | 11 |
534
6f1eb6437c96
vidref refactor, start to add more widgets
drewp@bigasterisk.com
parents:
525
diff
changeset
|
12 logging.basicConfig() |
6f1eb6437c96
vidref refactor, start to add more widgets
drewp@bigasterisk.com
parents:
525
diff
changeset
|
13 log = logging.getLogger() |
6f1eb6437c96
vidref refactor, start to add more widgets
drewp@bigasterisk.com
parents:
525
diff
changeset
|
14 log.setLevel(logging.DEBUG) |
6f1eb6437c96
vidref refactor, start to add more widgets
drewp@bigasterisk.com
parents:
525
diff
changeset
|
15 logging.getLogger("restkit.client").setLevel(logging.WARN) |
6f1eb6437c96
vidref refactor, start to add more widgets
drewp@bigasterisk.com
parents:
525
diff
changeset
|
16 |
6f1eb6437c96
vidref refactor, start to add more widgets
drewp@bigasterisk.com
parents:
525
diff
changeset
|
17 |
522 | 18 start=Main() |
19 gtk.main() | |
20 |