๐Ÿ”ง Where my dotfiles lives in harmony and peace, most of the time
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ”ง Add lint-sh and fix extract-subs quoting

+5 -1
+4
Makefile
··· 4 4 help: 5 5 @ grep "^[a-zA-Z].*:" Makefile | cut -d: -f1 | grep -v "DOTFILES" 6 6 7 + .PHONY: lint-sh 8 + lint-sh: 9 + @ rg --files -g '*.sh' -g 'scripts/*' -g '*/setup.sh' | xargs -r shellcheck -x 10 + 7 11 paru: 8 12 @ sudo pacman -S --needed base-devel 9 13 @ git clone https://aur.archlinux.org/paru.git /tmp/paru
+1 -1
scripts/extract-subs
··· 29 29 # Extract subtitle if Spanish track found 30 30 if [[ -n "$spa_track" ]]; then 31 31 echo "Found Spanish subtitle track at index $spa_track. Extracting to $output_file..." 32 - ffmpeg -v error -i "$input_file" -map 0:$spa_track -c:s srt "$output_file" 32 + ffmpeg -v error -i "$input_file" -map "0:${spa_track}" -c:s srt "$output_file" 33 33 echo "โœ… Spanish subtitles extracted to $output_file" 34 34 return 0 35 35 else