diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-10-04 10:35:28 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-10-04 10:35:28 +0200 |
commit | 66794c6ad9241d4ac0ebd160ef2edac30bbee209 (patch) | |
tree | ad2628c7204073f3ec5a1f7d348058c797fc30fb | |
parent | 1c3a0f2df2bb97ee2cce9dfb7d375d13c72819d7 (diff) | |
download | perl-app-clerk-66794c6ad9241d4ac0ebd160ef2edac30bbee209.tar.gz perl-app-clerk-66794c6ad9241d4ac0ebd160ef2edac30bbee209.tar.xz |
albumartist fix
-rwxr-xr-x | clerk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -164,7 +164,7 @@ updateDB () { sqlite3 ../ratings.db < /usr/share/doc/clerk/create_rating.sql fi for line in *.ratings; do - artist=$(grep "^albumartist=" "$line" | cut -d '=' -f2- ) + albumartist=$(grep "^albumartist=" "$line" | cut -d '=' -f2- ) date=$(grep "^date=" "$line" | cut -d '=' -f2-) album=$(grep "^album=" "$line" | cut -d '=' -f2-) rating_split=$(grep "album_rating=" "$line" | cut -d "=" -f2) @@ -652,7 +652,7 @@ rateAlbum () { elif [[ "$mpd_artist" == "artist" ]]; then albumartist="$(mpc current -f %artist%)" fi - artist="$(mpc current -f %artist%)" + albumartist="$(mpc current -f %artist%)" album="$(mpc current -f %album%)" date="$(mpc current -f %date%)" rating="$(seq $maxratings | dmenu_t -p "Select Rating: > ")" |