This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -f concat -safe 0 -i files.txt -map 0:v -map 0:a:0 -vf scale=1920:-2 -c:v libx264 -crf 23 -preset slow -c:a copy output.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name "*.flac" -print0 | while IFS= read -r -d '' f; do flac --test --silent "$f" 2>/dev/null || echo "FAILED: $f"; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Usage: ./albumize.sh <folder> | |
| # Generates an "ARTIST - ALBUM.m3u" file from FLAC files in the given folder. | |
| set -euo pipefail | |
| FOLDER="${1:-.}" | |
| if [[ ! -d "$FOLDER" ]]; then | |
| echo "Error: '$FOLDER' is not a directory." >&2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| magick -background none -density 384 .\icon.svg "(" -clone 0 -resize 16x16 ")" "(" -clone 0 -resize 32x32 ")" "(" -clone 0 -resize 48x48 ")" "(" -clone 0 -resize 64x64 ")" "(" -clone 0 -resize 128x128 ")" "(" -clone 0 -resize 256x256 ")" -delete 0 icon.ico |