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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
522
e20419d637d5 initial vidref tests
drewp@bigasterisk.com
parents:
diff changeset
1 #!/usr/bin/python
525
d3f8333bc142 more vidref replay code
drewp@bigasterisk.com
parents: 523
diff changeset
2 import gobject
d3f8333bc142 more vidref replay code
drewp@bigasterisk.com
parents: 523
diff changeset
3 gobject.threads_init()
522
e20419d637d5 initial vidref tests
drewp@bigasterisk.com
parents:
diff changeset
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
e20419d637d5 initial vidref tests
drewp@bigasterisk.com
parents:
diff changeset
7 from light9.vidref.main import Main
e20419d637d5 initial vidref tests
drewp@bigasterisk.com
parents:
diff changeset
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
drewp@bigasterisk.com
parents: 534
diff changeset
10
522
e20419d637d5 initial vidref tests
drewp@bigasterisk.com
parents:
diff changeset
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
e20419d637d5 initial vidref tests
drewp@bigasterisk.com
parents:
diff changeset
18 start=Main()
e20419d637d5 initial vidref tests
drewp@bigasterisk.com
parents:
diff changeset
19 gtk.main()
e20419d637d5 initial vidref tests
drewp@bigasterisk.com
parents:
diff changeset
20