fixed stray " in duration field
This commit is contained in:
parent
c22a96e877
commit
9becdcc826
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue