mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-23 13:53:33 +02:00
fid more uniq for searching duplicates
This commit is contained in:
parent
67911414a2
commit
97ec7ce352
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue