Re:Show HN: Simple access to your music from the web
by woolion on Tuesday October 19, 2021 @12:43PM
(#28920203)
That sounds like a great setup! Do you have a repo or write-up about it?
[ Parent
| on HN ]
Re:Show HN: Simple access to your music from the web
by bwestergard on Tuesday October 19, 2021 @02:15PM
(#28921445)
Yeah, so the only custom aspect is this alias in my .bashrc:
fetchplay() {
git annex get "$@" && vlc "$@"
}
Combined with the keybindings that ship with fzf, I can type "fetchplay [CTRL-T]", select some subset of the directory tree, and the files will play. Git annex will locate the files (in this case, on another machine in my apartment) and fetch them before playing only if needed (if they are already present, "git annex get" verifies that and exits silently). I have my music collection backed up on several different forms of removable media, across several machines, and on AWS S3.Here is a recording of me fetching and playing three tracks:
Re:Show HN: Simple access to your music from the web
by woolion on Tuesday October 19, 2021 @03:17PM
(#28922362)
Thank you for the explanation, I thought it would be way more involved! I was just getting into git-annex yesterday, and now I see how absurdly powerful it is!
Re:Show HN: Simple access to your music from the web
by joshspankit on Wednesday October 20, 2021 @12:44PM
(#28932858)
Awesome. Is there any way to stream them so they don’t have to be downloaded first?
Re:Show HN: Simple access to your music from the web
by bwestergard on Wednesday October 20, 2021 @01:23PM
(#28933321)
Interesting question; I'd never bothered because I tend to focus on a few albums at a time and I just keep them locally. Waiting a second or two when I want to listen to an album I haven't listened to in a while is no big deal for me. But it turns out git annex makes it easy to do this:
Re:Show HN: Simple access to your music from the web
by joshspankit on Wednesday October 20, 2021 @11:42PM
(#28939949)
This makes it even more compelling to try out...
I do wonder what happens with the temp file when the full file is loaded. The quick and dirty way that most people do it is to simply delete/move the temp file as completion, but of course that interrupts the media player as the file is now “missing”. I feel like I’m going to find out shortly when I research or test...