fixed issue #19 caused by unproper music folder reference

This commit is contained in:
DragonGhost7 2019-06-02 07:31:29 -04:00
parent 0654fde1d2
commit 88be88db75
1 changed files with 1 additions and 1 deletions

2
kunst
View File

@ -120,7 +120,7 @@ get_cover_online() {
write_tag(){ write_tag(){
#writes down song data if absent #writes down song data if absent
#uses eyeD3 #uses eyeD3
eyeD3 -v ~/Music/$(mpc current -f %file%) | egrep "None|null" && tags="0" || tags="1" eyeD3 -v "$MUSIC_DIR$(mpc current -f %file%)" | egrep "None|null" && tags="0" || tags="1"
if [ $tags -eq "0" ] ;then if [ $tags -eq "0" ] ;then
echo "kunst: couldn't find some tags missing" echo "kunst: couldn't find some tags missing"
API_URL="http://api.deezer.com/search/autocomplete?q=$(mpc current)" && API_URL=${API_URL//' '/'%20'} API_URL="http://api.deezer.com/search/autocomplete?q=$(mpc current)" && API_URL=${API_URL//' '/'%20'}