diff options
Diffstat (limited to 'clerk')
-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: > ")" |