diff options
Diffstat (limited to 'clerk_updater')
-rwxr-xr-x | clerk_updater | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clerk_updater b/clerk_updater index 925bf3e..cc55bbc 100755 --- a/clerk_updater +++ b/clerk_updater @@ -20,7 +20,7 @@ else notify-send "clerk" "Updating caches" sed -i "s/change_db=".*"/change_db=""$new_db""/" $HOME/.config/clerk/config album_temp_cur=$(mppc listall --format "{$mpd_artist}$seperator{album}$seperator{date}" | sort | uniq &) - tracks_temp_cur=$(mppc listall --format "{artist}$seperator{track}$seperator{title}$seperator {album}" &) + tracks_temp_cur=$(mppc listall --format "{artist}$seperator{track}$seperator{title}$seperator{album}" &) last_temp_cur=$(export seperator="$seperator"; mppc lastcache | awk -F "$seperator" '{print $2,ENVIRON["seperator"],$3,ENVIRON["seperator"],$4}'| uniq &) rm -f $HOME/.config/clerk/album_cache rm -f $HOME/.config/clerk/tracks.cache |