✨ Fetch data from MusicBrainz
This commit is contained in:
parent
c9498340d0
commit
1e78a95e8a
3 changed files with 89 additions and 5 deletions
12
app/run.go
12
app/run.go
|
|
@ -38,8 +38,18 @@ func testFp() {
|
|||
quit()
|
||||
}
|
||||
|
||||
func testMb() {
|
||||
id := "497f2f22-809b-4c9e-a692-72f7d8dcaaa2"
|
||||
mb, err := media.GetMbRecording(id)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
fmt.Printf("%+v\n", mb)
|
||||
quit()
|
||||
}
|
||||
|
||||
func Run(step AppStep) {
|
||||
testFp()
|
||||
testMb()
|
||||
for step < Quit {
|
||||
switch step {
|
||||
case Pick:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue