I have this wonderful music library app: beets.
When I run beet ls somequery -f, I get a newline-separated list of my music files’ paths. Unfortunately, the paths contain unescaped spaces and I can’t feed mplayer like this:
mplayer `beet ls smooth`
This doesn’t work either:
mplayer $((q)beet ls smooth)
Could anyone provide a compact solution?
mplayer ${(f)"$(beet ls smooth)"}