fixed stray " in duration field

This commit is contained in:
celso 2023-06-15 15:10:37 -03:00
parent c22a96e877
commit 9becdcc826
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ done < <(grep -o '"title":"\(\\"\|[^"]*\)*",' "${CFG_DIR}/streamarchives.json")
j=0 j=0
while IFS= read -r i; do while IFS= read -r i; do
duration[${j}]="${i:11:-1}" duration[${j}]="${i:12:-1}"
j+=1 j+=1
done < <(grep -o "\"duration\":\"[a-z0-9]\+\"" "${CFG_DIR}/streamarchives.json") done < <(grep -o "\"duration\":\"[a-z0-9]\+\"" "${CFG_DIR}/streamarchives.json")