changed some of the comments
This commit is contained in:
parent
18198825ef
commit
e0e7839f12
6
kunst
6
kunst
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue