From 97ec7ce3521e228c6ca3eed78241866d3830042c Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Tue, 19 Jul 2022 00:31:51 +0300 Subject: [PATCH] fid more uniq for searching duplicates --- funkwhale-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funkwhale-cli.sh b/funkwhale-cli.sh index e3983cc..24807f3 100755 --- a/funkwhale-cli.sh +++ b/funkwhale-cli.sh @@ -370,7 +370,7 @@ funkwhale_pseudofs_load() listen_url=$(echo "$tracks" | jj "results.#[uploads.0.uuid="$track"].uploads.0.listen_url") full_url=$(echo $listen_url | delq | sed "s/^/https:\/\/$instance/ ; s/$/\&token=$listen_token\&to=ogg/") echo "adding "$idartist"_$track_filename" - exists_test=$(grep -F ""$idartist"_$track_filename" "fwfs_$instance/$idartist/playlist.m3u8") + exists_test=$(grep -F "$fid_url" "fwfs_$instance/$idartist/playlist.m3u8") if [ -n "$exists_test" ]; then skip_count=$(expr $skip_count + 1) else