🚧 Work on fingerprinting music

This commit is contained in:
Dan Jones 2023-09-23 21:57:56 -05:00
commit cfef5a6c7a
3 changed files with 59 additions and 2 deletions

View file

@ -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: