- Note: Was causing issues with FLAC playback
#!/usr/bin/env bash
# Desc: Wrapper for mpv that accepts directory or file paths via posargs or stdin lines
# Usage: bkmpv2 [DIR]
#!/usr/bin/env bash
# Desc: Wrapper for mpv that accepts directory or file paths via posargs or stdin lines
# Usage: bkmpv2 [DIR]
# Depends: GNU Parallel, GNU Bash v5.1.16, mpv v0.34.1, bc v1.07.1
# Ref/Attrib: [1] Tange, Ole. GNU Parallel with Bash Array. 2019-03-24. https://unix.stackexchange.com/a/508365/411854
# Example: find $HOME/Music -type d | bkmpv2
# Depends: GNU Parallel, GNU Bash v5.1.16, mpv v0.34.1, bc v1.07.1
# Ref/Attrib: [1] Tange, Ole. GNU Parallel with Bash Array. 2019-03-24. https://unix.stackexchange.com/a/508365/411854
# Example: find $HOME/Music -type d | bkmpv2
cmd_args+=("--audio-display=no"); # disable video for audio files
cmd_args+=("--vid=no"); # donʼt show video track
cmd_args+=("--image-display-duration=0"); # don't show album art
cmd_args+=("--audio-display=no"); # disable video for audio files
cmd_args+=("--vid=no"); # donʼt show video track
cmd_args+=("--image-display-duration=0"); # don't show album art
- cmd_args+=("--af=scaletempo=stride=15:overlap=1:search=15"); # improve scrubbing
cmd_args+=("--playlist=$list_paths_files_tmp"); # read playlist
declare -p cmd_args; # debug
## Execute command
cmd_args+=("--playlist=$list_paths_files_tmp"); # read playlist
declare -p cmd_args; # debug
## Execute command