jsaelhof / guitar-dashboard

A web-based dashboard for controlling music and sheet music while practicing
0 stars 0 forks source link

File chooser #12

Closed jsaelhof closed 5 months ago

jsaelhof commented 5 months ago

Look at adding a file chooser button that would allow me to pick a file, get its pathname and then insert a record in the DB for it.

jsaelhof commented 5 months ago

Can't get the full path so this won't work easily. I did try creating an endpoint to submit the song to the server but it takes several minutes to search all the files and then I'd still need some kind of UI to pick which match to use. I ended up making a small node script where I can just drag a file into the terminal and it inserts it into the db.json