mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-25 23:31:27 +00:00
fid more uniq for searching duplicates
This commit is contained in:
parent
67911414a2
commit
97ec7ce352
|
@ -370,7 +370,7 @@ funkwhale_pseudofs_load()
|
||||||
listen_url=$(echo "$tracks" | jj "results.#[uploads.0.uuid="$track"].uploads.0.listen_url")
|
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/")
|
full_url=$(echo $listen_url | delq | sed "s/^/https:\/\/$instance/ ; s/$/\&token=$listen_token\&to=ogg/")
|
||||||
echo "adding "$idartist"_$track_filename"
|
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
|
if [ -n "$exists_test" ]; then
|
||||||
skip_count=$(expr $skip_count + 1)
|
skip_count=$(expr $skip_count + 1)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue