stop reversing cache callback

This commit is contained in:
fred 2022-04-11 14:03:15 +02:00
parent 7c6c81fe4b
commit 49a6aa9804
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ echo "##########################################################################
# Upgrade local history.json with reverse new one
if [[ -f ~/.zen/bunkerbox/cache/$VUID/media/history.json ]]; then
echo '{ "Videos":' > ~/.zen/bunkerbox/history.json
cat ~/.zen/bunkerbox/cache/$VUID/media/history.json | jq '.[] | reverse' >> ~/.zen/bunkerbox/history.json
cat ~/.zen/bunkerbox/cache/$VUID/media/history.json | jq '.[]' >> ~/.zen/bunkerbox/history.json
echo '}' >> ~/.zen/bunkerbox/history.json
fi
fi