Cache the songs in Music, not in cache
Jak2k opened this issue · 3 comments
I would really love an option to save the file in ~/Music/<ALBUM>/<SONG>.mp3
instead of ~/.cache/ytermusic/downloads
. This would allow me to also listen to my music with other software and should be a quite small change.
It used to be like that but there are some issues with song names (that can contains characters or names) that can't be handled by some file systems (For instance there are some reserved words names can't contain / ... which is allowed as song title on YT Music.
But an export option could be indeed useful (I've already created it to sync with my phone but didn't release it)
That forbidden-name thing should be a Windows-only thing. Maybe you could escape it somehow and embed the real title in the mp3-metadata.
That's definitely an option I just wanna ensure security so my users don't get hacked via file path tricks. I'll probably use a very strict escaping method but for the meta part I'll have to look at the performance implications.