diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-07-01 15:58:32 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-07-01 15:58:32 +0900 |
| commit | 8172c470e669c062db34f6607c818ab5b4887bab (patch) | |
| tree | 778f63cefc7e3fd1889d485ea8fcf9ee0bd43044 /ar/.local/bin/tests/test-qndl-artist.sh | |
| parent | 7b71c4f927f6f8f891e4175423af8ecf927ce6c3 (diff) | |
feat(qndl-artist): add apply-download hook wrapper
Diffstat (limited to 'ar/.local/bin/tests/test-qndl-artist.sh')
| -rw-r--r-- | ar/.local/bin/tests/test-qndl-artist.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ar/.local/bin/tests/test-qndl-artist.sh b/ar/.local/bin/tests/test-qndl-artist.sh index 327e3fb..6f2c925 100644 --- a/ar/.local/bin/tests/test-qndl-artist.sh +++ b/ar/.local/bin/tests/test-qndl-artist.sh @@ -44,4 +44,11 @@ SOLO="$(mktemp -d)/Music"; mkdir -p "$SOLO" ( export XDG_MUSIC_DIR="$SOLO"; mkmp3 "$SOLO/Solo/Al/s.mp3"; "$BIN" apply "$SOLO/Solo/Al/s.mp3" "SoloCanon" ) eq "apply: prune keeps MUSIC root" "yes" "$([ -d "$SOLO" ] && echo yes || echo no)" +# --- apply-download --- +# 맵에 4MEN→4Men 이 있으므로 다운로드가 4MEN 폴더에 떨어지면 4Men으로 통일돼야 함 +mkmp3 "$XDG_MUSIC_DIR/4MEN/Later/y.mp3" +"$BIN" apply-download "$XDG_MUSIC_DIR/4MEN/Later/y.mp3" +eq "apply-download: unified via map" "yes" "$([ -f "$XDG_MUSIC_DIR/4Men/Later/y.mp3" ] && echo yes || echo no)" +eq "apply-download: album_artist" "4Men" "$(tag_of "$XDG_MUSIC_DIR/4Men/Later/y.mp3" album_artist)" + exit $FAIL |
