🚧 Work on fingerprinting music
This commit is contained in:
parent
dac33a7688
commit
cfef5a6c7a
3 changed files with 59 additions and 2 deletions
14
app/run.go
14
app/run.go
|
|
@ -14,6 +14,7 @@ const (
|
|||
Pick AppStep = iota
|
||||
Watch
|
||||
Fade
|
||||
Print
|
||||
Restart
|
||||
Quit
|
||||
)
|
||||
|
|
@ -48,8 +49,16 @@ func testMb() {
|
|||
quit()
|
||||
}
|
||||
|
||||
func testPrint() {
|
||||
SetFile("/home/drj/MyFiles/Videos/WebShows/YouTube/Dolly_Parton_-_Topic/Just_Because_I_m_a_Woman.Dolly_Parton_-_Topic.Fmv-XQerVkM.webm")
|
||||
print()
|
||||
|
||||
quit()
|
||||
}
|
||||
|
||||
func Run(step AppStep) {
|
||||
testMb()
|
||||
// testMb()
|
||||
testPrint()
|
||||
for step < Quit {
|
||||
switch step {
|
||||
case Pick:
|
||||
|
|
@ -79,6 +88,9 @@ func Run(step AppStep) {
|
|||
media.Watch(tmpfile.Format.Path)
|
||||
}
|
||||
step = mainMenu() // @todo ask to check new file
|
||||
case Print:
|
||||
print()
|
||||
step = mainMenu()
|
||||
case Quit:
|
||||
quit()
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue