tubetop: Fix broken titleget

This commit is contained in:
Salt 2018-08-12 00:36:33 -05:00
parent 29aa79fab0
commit 950c2240c4

View File

@ -45,7 +45,7 @@ function cache-add {
if [[ "$cachecontent" == *"$1"* ]]; then if [[ "$cachecontent" == *"$1"* ]]; then
return 1 return 1
fi fi
name="$(youtube-dl -s $1)" name="$(youtube-dl -e $1)"
printf "$name\n$1\n" >> $cachefile printf "$name\n$1\n" >> $cachefile
return 0 return 0
} }