changed some of the comments

This commit is contained in:
Siddharth Dushantha 2019-02-14 08:56:24 +01:00 committed by GitHub
parent 18198825ef
commit e0e7839f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

6
kunst
View File

@ -15,10 +15,10 @@ update_cover() {
# output of ffmpeg # output of ffmpeg
ffmpeg -i "$MUSIC_DIR$(mpc current -f %file%)" $COVER -y &> /dev/null ffmpeg -i "$MUSIC_DIR$(mpc current -f %file%)" $COVER -y &> /dev/null
# get the status of the previous command # get the status of the previous command
STATUS=$? STATUS=$?
# check if the file has a embbeded album art # check if the file has a embbeded album art
if [ $STATUS -eq 0 ];then if [ $STATUS -eq 0 ];then
echo "kunst: extracted album art" echo "kunst: extracted album art"
ARTLESS=false ARTLESS=false
@ -55,7 +55,7 @@ main() {
while true; do while true; do
# waiting for an event from mpd; play/pause/next/previous # waiting for an event from mpd; play/pause/next/previous
# this is lets kunst use less CPU :) # this is lets kunst use less CPU :)
mpc idle &> /dev/null mpc idle &> /dev/null
echo "kunst: received event from mpd" echo "kunst: received event from mpd"