MusicPlayerDaemon / MPD

Music Player Daemon
https://www.musicpd.org/
GNU General Public License v2.0
2.2k stars 350 forks source link

Unexpected pause command behaviour #944

Closed iyefrat closed 4 years ago

iyefrat commented 4 years ago

Bug report

Describe the bug

When passing the command "pause 0" to the server, instead of toggling play/pause, it seems to just start the song if paused.

Expected Behavior

"pause 0" will toggle pause the song if playing, and play it if paused. "pause 1" will just pause the song if it isn't already.

Actual Behavior

"pause 1" does pause the song if playing, and does nothing if the song is paused. However, "pause 0" only starts the song if paused, but does not pause a playing song. The (according to the docs) deprecated "pause" command does toggle play/pause.

after starting the server, the following happened:

this is the process detailed in the logs later on.

Version

Music Player Daemon 0.21.25 (0.21.25)
Copyright 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2018 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
 simple proxy upnp

Storage plugins:
 local smbclient udisks nfs curl

Neighbor plugins:
 smbclient upnp udisks

Decoders plugins:
 [mad] mp3 mp2
 [mpg123] mp3
 [vorbis] ogg oga
 [oggflac] ogg oga
 [flac] flac
 [opus] opus ogg oga
 [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
 [audiofile] wav au aiff aif
 [dsdiff] dff
 [dsf] dsf
 [hybrid_dsd] m4a
 [faad] aac
 [mpcdec] mpc
 [wavpack] wv
 [modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m stm ult umx xm
 [mikmod] amf dsm far gdm imf it med mod mtm s3m stm stx ult uni xm
 [wildmidi] mid
 [fluidsynth] mid
 [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
 [gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz
 [pcm]

Filters:
 libsamplerate soxr

Tag plugins:
 id3tag

Output plugins:
 shout null fifo pipe alsa ao oss openal solaris pulse jack httpd recorder

Encoder plugins:
 null vorbis opus lame twolame wave flac

Archive plugins:
 [bz2] bz2
 [zzip] zip
 [iso] iso

Input plugins:
 file archive alsa tidal qobuz curl ffmpeg smbclient nfs mms cdio_paranoia

Playlist plugins:
 extm3u m3u pls xspf asx rss soundcloud flac cue embcue

Protocols:
 file:// alsa:// tidal:// qobuz:// http:// https:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// smb:// nfs:// mms:// mmsh:// mmst:// mmsu:// cdda://

Other features:
 avahi dbus udisks epoll icu inotify ipv6 systemd tcp un

Log

here I start the server, input "pause 0" twice, then input "pause 1" twice, then input "pause" twice, and then kill the server. I don't know if the server processing the idle comannd a bazillion time is normal or not, that might have to do with the fact that I used the haskell library libmpd to send the commands to the server.

Aug 15 18:56 : avahi: Initializing interface
Aug 15 18:56 : exception: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
Aug 15 18:56 : avahi: Client changed to state 101
Aug 15 18:56 : avahi: Client is CONNECTING
Aug 15 18:56 : state_file: Loading state file /home/itai/.config/mpd/state
Aug 15 18:56 : decoder_thread: probing plugin mad
Aug 15 18:56 : playlist: queue song 1:"Girl Talk/All Day/02 Let It Out.mp3"
Aug 15 18:56 : inotify: initializing inotify
Aug 15 18:56 : decoder: audio_format=44100:24:2, seekable=true
Aug 15 18:56 : exception: Failed to access /home/itai/music/music: Too many levels of symbolic links
Aug 15 18:56 : inotify: watching music directory
Aug 15 18:56 : exception: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
Aug 15 18:56 : client: [0] opened from 127.0.0.1:49680
Aug 15 18:56 : client: [1] opened from 127.0.0.1:49678
Aug 15 18:56 : client: [0] process command "status"
Aug 15 18:56 : exception: Failed to read mixer for 'default detected output': no such mixer control: PCM
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] opened from 127.0.0.1:49676
Aug 15 18:56 : client: [1] process command "status"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [0] process command "status"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] process command "status"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [1] process command "status"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "status"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "currentsong"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [1] process command "currentsong"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [2] process command "currentsong"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [3] opened from [::1]:43298
Aug 15 18:56 : client: [3] process command "pause 0"
Aug 15 18:56 : alsa_output: opened default type=IOPLUG
Aug 15 18:56 : alsa_output: buffer: size=48..524288 time=1088..11888617
Aug 15 18:56 : alsa_output: period: size=16..174763 time=362..3962880
Aug 15 18:56 : alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000
Aug 15 18:56 : alsa_output: format=S24_LE (Signed 24 bit Little Endian)
Aug 15 18:56 : alsa_output: buffer_size=22050 period_size=5512
Aug 15 18:56 : output: opened "default detected output" (alsa) audio_format=44100:24:2
Aug 15 18:56 : exception: Failed to open mixer for 'default detected output': no such mixer control: PCM
Aug 15 18:56 : client: [3] command returned 0
Aug 15 18:56 : client: [3] process command "close"
Aug 15 18:56 : client: [3] command returned 3
Aug 15 18:56 : client: [3] closed
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [1] process command "status"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [1] process command "status"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [1] process command "currentsong"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "status"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] process command "status"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [0] process command "status"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] process command "status"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [0] process command "currentsong"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] process command "currentsong"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [4] opened from [::1]:43300
Aug 15 18:56 : client: [4] process command "pause 0"
Aug 15 18:56 : client: [4] command returned 0
Aug 15 18:56 : client: [4] process command "close"
Aug 15 18:56 : client: [4] command returned 3
Aug 15 18:56 : client: [4] closed
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [5] opened from [::1]:43302
Aug 15 18:56 : client: [5] process command "pause 1"
Aug 15 18:56 : client: [5] command returned 0
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "status"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [5] process command "close"
Aug 15 18:56 : client: [5] command returned 3
Aug 15 18:56 : client: [5] closed
Aug 15 18:56 : client: [2] process command "status"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [0] process command "status"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [1] process command "currentsong"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [2] process command "currentsong"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [0] process command "currentsong"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : output: closed "default detected output" (alsa)
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : state_file: Saving state file /home/itai/.config/mpd/state
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [6] opened from [::1]:43304
Aug 15 18:56 : client: [6] process command "pause 1"
Aug 15 18:56 : client: [6] command returned 0
Aug 15 18:56 : client: [6] process command "close"
Aug 15 18:56 : client: [6] command returned 3
Aug 15 18:56 : client: [6] closed
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [7] opened from [::1]:43306
Aug 15 18:56 : client: [7] process command "pause"
Aug 15 18:56 : alsa_output: opened default type=IOPLUG
Aug 15 18:56 : alsa_output: buffer: size=48..524288 time=1088..11888617
Aug 15 18:56 : alsa_output: period: size=16..174763 time=362..3962880
Aug 15 18:56 : alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000
Aug 15 18:56 : alsa_output: format=S24_LE (Signed 24 bit Little Endian)
Aug 15 18:56 : alsa_output: buffer_size=22050 period_size=5512
Aug 15 18:56 : output: opened "default detected output" (alsa) audio_format=44100:24:2
Aug 15 18:56 : exception: Failed to open mixer for 'default detected output': no such mixer control: PCM
Aug 15 18:56 : client: [7] command returned 0
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [7] process command "close"
Aug 15 18:56 : client: [7] command returned 3
Aug 15 18:56 : client: [7] closed
Aug 15 18:56 : client: [2] process command "status"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [0] process command "status"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [0] process command "status"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] process command "status"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [0] process command "currentsong"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] process command "currentsong"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [1] process command "status"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [1] process command "status"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [1] process command "currentsong"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [8] opened from [::1]:43308
Aug 15 18:56 : client: [8] process command "pause"
Aug 15 18:56 : client: [8] command returned 0
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [8] process command "close"
Aug 15 18:56 : client: [8] command returned 3
Aug 15 18:56 : client: [8] closed
Aug 15 18:56 : output: closed "default detected output" (alsa)
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "status"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [1] process command "currentsong"
Aug 15 18:56 : client: [1] command returned 0
Aug 15 18:56 : client: [0] process command "status"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] process command "status"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [0] process command "currentsong"
Aug 15 18:56 : client: [0] command returned 0
Aug 15 18:56 : client: [2] process command "currentsong"
Aug 15 18:56 : client: [2] command returned 0
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : client: [1] process command "idle"
Aug 15 18:56 : client: [1] command returned 1
Aug 15 18:56 : client: [2] process command "idle"
Aug 15 18:56 : client: [2] command returned 1
Aug 15 18:56 : client: [0] process command "idle"
Aug 15 18:56 : client: [0] command returned 1
Aug 15 18:56 : state_file: Saving state file /home/itai/.config/mpd/state
Aug 15 18:56 : avahi: Shutting down interface
Aug 15 18:56 : player: played "Girl Talk/All Day/01 Oh No.mp3"
MaxKellermann commented 4 years ago

"pause 0" will toggle pause the song if playing, and play it if paused.

Why do you expect this?

iyefrat commented 4 years ago

From the documentation of the pause command:

Toggles pause/resumes playing, PAUSE is 0 or 1.

I thought this was meant to describe the behavior of pause 0, meaning that it toggles the pause state. I just kind of assumed that pause 1 would force pause because what pause 1 does wasn't explicitly stated in the docs.

I also came across #856 after your reply (having not seen it when writing the first post here), I understand that the intended behavior is for pause 0 to resume and for pause 1 to pause. This isn't clear from the description, which refers to toggling (which makes me assume the deprecated behavior), and resuming, but if anything I'd think that pause 1 resumes since it is mentioned second.

A clearer documentation (to me at least) would be something like:

resumes or pauses playback. PAUSE is 0 or 1.

this way the 0/1 options correspond to the descriptions in order. I may be alone in this though, other people might assume that the first thing mentioned is the 1 state of the command, which I think is what the original description is going for. At any rate, for a command named pause it is rather obvious which input would pause and which would resume, so maybe just remove the word toggle?

I'm just wondering though, why was the old behavior deprecated? It's what I want (and end up re-implementing on the client side) from a pause command, is there some technical issue with it?

And because I forgot to say the first time around, thank you for all of your hard work on mpd!

MaxKellermann commented 4 years ago

You're right, the documentation is not good, I'll improve it.

I'm just wondering though, why was the old behavior deprecated?

I don't know, I looked it up in the git history, and found commit a165ee25e8b, i.e. the text was copied from the ancient wiki, which used to be the only documentation MPD had long ago. But since the wiki doesn't exist anymore, and the source code has no hint about it (no code comment), I don't know. I guess this was deprecated before I joined the project. But you're right, such a feature should exist to avoid unnecessary roundtrips. I'll un-deprecate it.