Merge pull request #20 from DragonGhost7/master

fixed issue #19 caused by unproper music folder reference
This commit is contained in:
Siddharth Dushantha 2019-06-02 13:57:38 +02:00 committed by GitHub
commit 007c9eca20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
kunst
View File

@ -120,7 +120,7 @@ get_cover_online() {
write_tag(){
#writes down song data if absent
#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
echo "kunst: couldn't find some tags missing"
API_URL="http://api.deezer.com/search/autocomplete?q=$(mpc current)" && API_URL=${API_URL//' '/'%20'}