Re:Show HN: Simpler access to your music from the web that l...
by mattowen_uk on Tuesday October 19, 2021 @12:19PM
(#28919887)
Thanks for your detailed response! I'll certainly look into creating a mirror copy of my music library as this seems the best way to be compatible with commercial and open source front ends. I'll favourite your comment, and come back to it when I need to.
Also, how did you know that I like Steppenwolf?! :D
Re:Show HN: Simpler access to your music from the web that l...
by codetrotter on Tuesday October 19, 2021 @01:32PM
(#28920907)
> Also, how did you know that I like Steppenwolf?! :D
I figured that anyone that appreciates music so much that they maintain a collection of music files on their machine would probably appreciate Steppenwolf :)
I see. I don’t know if the following will really be helpful since there may be some nuances that will differ a bit. But if that installation of Windows has WSL then hopefully the following might be helpful.
In summary, my idea is as follows: If you have enough space on the server for it, you could create a new top-level directory next to the one that you currently have for your music, and then create a script that loops over all of the files, transcoding them to flac with ffmpeg and adding metadata with a flac metadata edit tool. (ffmpeg can edit flac metadata too, but I think a dedicated flac metadata edit tool will be more straight forward to use).
So on KDE Neon Linux and other Ubuntu based distros, here’s what I’d do, and hoping this might be somehow useful even though you are using Windows:
First install ffmpeg, lltag and mediainfo if you don’t have them already:
Then let’s say that the directory hierarchy for your music was at /data/Music/ so you’d have "/data/Music/Steppenwolf/For Ladies Only/3. Shackles and Chains.wav" etc.Then I’d create a new directory next to the Music directory and name that one "flacs" for example:
Transcoding and tagging. For now we include only artist name, album name and track names, extracted from the directory names and file names in your hierarchy, omitting other metadata such as for example the album cover art. But since we retain all of your original data, you can at a later point delete these flac files and do a transcoding and tagging run where you include more metadata (or do a run that keeps the transcoded files and only edits the metadata of them if you'd like). The idea for now is to do something simple as a first step, and then you can refine it in the future. And now if we look at one of the transcoded files with mediainfo: Then we see among the lines of the output the following, showing us that we have successfully tagged the transcoded file with artist, album and track title: And likewise for all of the other files. All transcoded to flac and tagged with artist, album and track title.And your original wav files and other data remains unchanged where they were, so that you can do more detailed tagging etc in the future.