1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-25 14:46:42 +00:00
dotfiles/fish/functions/hitolo.fish

9 lines
292 B
Fish

function hitolo
mkdir /tmp/foo
ifuse --documents com.foobar2000.mobile /tmp/foo || return 1
# https://github.com/smxi/acxi/raw/stable/acxi
acxi -s ~/Music/HiFi -d /tmp/foo -o opus -q 128 --clean sync -F 64 -c mp3,m4a,opus,ogg
fusermount -u /tmp/foo
rmdir /tmp/foo
end