Raspbian Jessie Lite 2017-07-05
Linux kernel 4.9.41-v7+
MPD INFO
pi@rp3:~ $ mpd -V
Music Player Daemon 0.20.9
Copyright (C) 2003-2007 Warren Dukes warren.dukes@gmail.com
Copyright 2008-2017 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
Storage plugins:
local
Decoders plugins:
[mad] mp3 mp2
[mpg123] mp3
[vorbis] ogg oga
[oggflac] ogg oga
[flac] flac
[dsdiff] dff
[dsf] dsf
[faad] aac
[wavpack] wv
[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
[pcm]
pi@rp3:~ $ dpkg -l | grep libav
ii libav-tools 6:11.9-1~deb8u1+rpi1 armhf Multimedia player, encoder and transcoder
ii libavcodec-dev 6:11.9-1~deb8u1+rpi1 armhf Development files for libavcodec
ii libavcodec56:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav codec library
ii libavdevice55:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav device handling library
ii libavfilter5:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav video filtering library
ii libavformat-dev 6:11.9-1~deb8u1+rpi1 armhf Development files for libavformat
ii libavformat56:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav file format library
ii libavresample-dev 6:11.9-1~deb8u1+rpi1 armhf Development files for libavresample
ii libavresample2:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav audio resampling library
ii libavutil-dev 6:11.9-1~deb8u1+rpi1 armhf Development files for libavutil
ii libavutil54:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav utility library
LOG OUTPUT
pi@rp3:~ $ tail -f /var/log/mpd/mpd.log
Aug 17 10:17 : client: [59] opened from 127.0.0.1:49044
Aug 17 10:17 : client: [60] opened from 127.0.0.1:49048
Aug 17 10:17 : client: [60] process command "rescan"
Aug 17 10:17 : update: spawned thread for update job id 4
Aug 17 10:17 : update: starting
Aug 17 10:17 : client: [60] command returned 0
Aug 17 10:17 : client: [60] closed
Aug 17 10:17 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac
Aug 17 10:17 : client: [53] process command "status"
Aug 17 10:17 : client: [53] command returned 0
Aug 17 10:17 : client: [58] process command "status"
Aug 17 10:17 : client: [58] command returned 0
Aug 17 10:17 : update: recursive directory found
Aug 17 10:17 : client: [53] process command "currentsong"
Aug 17 10:17 : client: [53] command returned 0
Aug 17 10:17 : client: [58] process command "currentsong"
Aug 17 10:17 : client: [58] command returned 0
Aug 17 10:17 : client: [53] process command "close"
Aug 17 10:17 : client: [53] command returned 3
Aug 17 10:17 : client: [53] closed
Aug 17 10:17 : client: [58] process command "close"
Aug 17 10:17 : client: [58] command returned 3
Aug 17 10:17 : client: [58] closed
Aug 17 10:17 : update: updating USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif
Aug 17 10:17 : ffmpeg/aiff: max_analyze_duration 5000000 reached
Aug 17 10:17 : update: updating USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif
Aug 17 10:17 : ffmpeg/aiff: max_analyze_duration 5000000 reached
Aug 17 10:17 : update: updating USB/EXFAT-128GB/Test_music/zippers/11 It's Your Problem.aif
Aug 17 10:17 : ffmpeg/aiff: max_analyze_duration 5000000 reached
Aug 17 10:17 : simple_db: removing empty directories from DB
Aug 17 10:17 : simple_db: sorting DB
Aug 17 10:17 : simple_db: writing DB
Aug 17 10:17 : update: finished
Aug 17 10:17 : client: [62] opened from 127.0.0.1:49056
Aug 17 10:17 : client: [62] process command "status"
Aug 17 10:17 : client: [62] command returned 0
Aug 17 10:17 : client: [62] process command "currentsong"
Aug 17 10:17 : client: [62] command returned 0
Aug 17 10:17 : client: [62] process command "close"
Aug 17 10:17 : client: [62] command returned 3
Aug 17 10:17 : client: [62] closed
Aug 17 10:17 : client: [63] opened from 127.0.0.1:49060
Aug 17 10:17 : client: [63] process command "close"
Aug 17 10:17 : client: [63] command returned 3
Aug 17 10:17 : client: [63] closed
Aug 17 10:17 : client: [64] opened from 127.0.0.1:49064
Aug 17 10:17 : client: [65] opened from 127.0.0.1:49068
Aug 17 10:17 : client: [65] process command "status"
Aug 17 10:17 : client: [65] command returned 0
Aug 17 10:17 : client: [65] process command "idle"
Aug 17 10:17 : client: [65] command returned 1
Aug 17 10:17 : client: [64] process command "playlistinfo"
Aug 17 10:17 : client: [64] command returned 0
Aug 17 10:17 : client: [64] process command "close"
Aug 17 10:17 : client: [64] command returned 3
Aug 17 10:17 : client: [64] closed
Aug 17 10:18 : client: [66] opened from 127.0.0.1:49072
Aug 17 10:18 : client: [66] process command "close"
Aug 17 10:18 : client: [66] command returned 3
Aug 17 10:18 : client: [66] closed
Aug 17 10:18 : client: [67] opened from 127.0.0.1:49076
Aug 17 10:18 : client: [67] process command "close"
Aug 17 10:18 : client: [67] command returned 3
Aug 17 10:18 : client: [67] closed
Aug 17 10:18 : client: [68] opened from 127.0.0.1:49080
Aug 17 10:18 : client: [68] process command "status"
Aug 17 10:18 : client: [68] command returned 0
Aug 17 10:18 : client: [68] process command "currentsong"
Aug 17 10:18 : client: [68] command returned 0
Aug 17 10:18 : client: [68] process command "close"
Aug 17 10:18 : client: [68] command returned 3
Aug 17 10:18 : client: [68] closed
Aug 17 10:18 : client: [69] opened from 127.0.0.1:49084
Aug 17 10:18 : client: [69] process command "lsinfo"
Aug 17 10:18 : client: [69] command returned 0
Aug 17 10:18 : client: [69] process command "close"
Aug 17 10:18 : client: [69] command returned 3
Aug 17 10:18 : client: [69] closed
Aug 17 10:18 : client: [70] opened from 127.0.0.1:49088
Aug 17 10:18 : client: [70] process command "close"
Aug 17 10:18 : client: [70] command returned 3
Aug 17 10:18 : client: [70] closed
Aug 17 10:18 : client: [71] opened from 127.0.0.1:49092
Aug 17 10:18 : client: [72] opened from 127.0.0.1:49096
Aug 17 10:18 : client: [72] process command "status"
Aug 17 10:18 : client: [72] command returned 0
Aug 17 10:18 : client: [72] process command "idle"
Aug 17 10:18 : client: [72] command returned 1
Aug 17 10:18 : client: [71] process command "playlistinfo"
Aug 17 10:18 : client: [71] command returned 0
Aug 17 10:18 : client: [71] process command "close"
Aug 17 10:18 : client: [71] command returned 3
Aug 17 10:18 : client: [71] closed
Aug 17 10:18 : client: [73] opened from 127.0.0.1:49100
Aug 17 10:18 : client: [73] process command "lsinfo "USB""
Aug 17 10:18 : client: [73] command returned 0
Aug 17 10:18 : client: [73] process command "close"
Aug 17 10:18 : client: [73] command returned 3
Aug 17 10:18 : client: [73] closed
Aug 17 10:18 : client: [74] opened from 127.0.0.1:49104
Aug 17 10:18 : client: [74] process command "lsinfo "USB/EXFAT-128GB""
Aug 17 10:18 : client: [74] command returned 0
Aug 17 10:18 : client: [74] process command "close"
Aug 17 10:18 : client: [74] command returned 3
Aug 17 10:18 : client: [74] closed
Aug 17 10:18 : client: [75] opened from 127.0.0.1:49108
Aug 17 10:18 : client: [75] process command "lsinfo "USB/EXFAT-128GB/Test_music""
Aug 17 10:18 : client: [75] command returned 0
Aug 17 10:18 : client: [75] process command "close"
Aug 17 10:18 : client: [75] command returned 3
Aug 17 10:18 : client: [75] closed
Aug 17 10:18 : client: [76] opened from 127.0.0.1:49112
Aug 17 10:18 : client: [76] process command "add "USB/EXFAT-128GB/Test_music/zippers""
Aug 17 10:18 : client: [76] command returned 0
Aug 17 10:18 : client: [76] process command "close"
Aug 17 10:18 : client: [76] command returned 3
Aug 17 10:18 : client: [76] closed
Aug 17 10:18 : client: [72] process command "status"
Aug 17 10:18 : client: [72] command returned 0
Aug 17 10:18 : client: [65] process command "status"
Aug 17 10:18 : client: [65] command returned 0
Aug 17 10:18 : client: [72] process command "currentsong"
Aug 17 10:18 : client: [72] command returned 0
Aug 17 10:18 : client: [65] process command "currentsong"
Aug 17 10:18 : client: [65] command returned 0
Aug 17 10:18 : client: [72] process command "close"
Aug 17 10:18 : client: [72] command returned 3
Aug 17 10:18 : client: [72] closed
Aug 17 10:18 : client: [65] process command "close"
Aug 17 10:18 : client: [65] command returned 3
Aug 17 10:18 : client: [65] closed
Aug 17 10:18 : client: [77] opened from 127.0.0.1:49116
Aug 17 10:18 : client: [77] process command "close"
Aug 17 10:18 : client: [77] command returned 3
Aug 17 10:18 : client: [77] closed
Aug 17 10:18 : client: [78] opened from 127.0.0.1:49120
Aug 17 10:18 : client: [79] opened from 127.0.0.1:49124
Aug 17 10:18 : client: [79] process command "status"
Aug 17 10:18 : client: [79] command returned 0
Aug 17 10:18 : client: [79] process command "idle"
Aug 17 10:18 : client: [79] command returned 1
Aug 17 10:18 : client: [78] process command "playlistinfo"
Aug 17 10:18 : client: [78] command returned 0
Aug 17 10:18 : client: [78] process command "close"
Aug 17 10:18 : client: [78] command returned 3
Aug 17 10:18 : client: [78] closed
Aug 17 10:18 : state_file: Saving state file /var/lib/mpd/state
Aug 17 10:18 : client: [80] opened from 127.0.0.1:49128
Aug 17 10:18 : client: [80] process command "play 49"
Aug 17 10:18 : playlist: play 49:"USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif"
Aug 17 10:18 : client: [80] command returned 0
Aug 17 10:18 : playlist: queue song 50:"USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif"
Aug 17 10:18 : client: [80] process command "close"
Aug 17 10:18 : client: [80] command returned 3
Aug 17 10:18 : client: [80] closed
Aug 17 10:18 : decoder_thread: probing plugin ffmpeg
Aug 17 10:18 : ffmpeg: detected input format 'aiff' (Audio IFF)
Aug 17 10:18 : ffmpeg/aiff: max_analyze_duration 5000000 reached
Aug 17 10:18 : ffmpeg: codec 'pcm_s16be'
Aug 17 10:18 : decoder: audio_format=44100:16:2, seekable=true
Aug 17 10:18 : decoder: converting to 384000:32:2
Aug 17 10:18 : soxr: soxr engine 'double-precision'
Aug 17 10:18 : soxr: samplerate conversion ratio to 8.71
Aug 17 10:18 : alsa_output: opened hw:0,0 type=HW
Aug 17 10:18 : alsa_output: buffer: size=64..65536 time=166..170667
Aug 17 10:18 : alsa_output: period: size=32..32768 time=83..85334
Aug 17 10:18 : alsa_output: default period_time = buffer_time/4 = 170666/4 = 42666
Aug 17 10:18 : alsa_output: format=S32_LE (Signed 32 bit Little Endian)
Aug 17 10:18 : alsa_output: buffer_size=65536 period_size=16384
Aug 17 10:18 : output: opened plugin=alsa name="ALSA default" audio_format=384000:32:2
Aug 17 10:18 : client: [79] process command "status"
Aug 17 10:18 : client: [79] command returned 0
Aug 17 10:18 : client: [79] process command "currentsong"
Aug 17 10:18 : client: [79] command returned 0
Aug 17 10:18 : client: [79] process command "close"
Aug 17 10:18 : client: [79] command returned 3
Aug 17 10:18 : client: [79] closed
Aug 17 10:18 : client: [81] opened from 127.0.0.1:49132
Aug 17 10:18 : client: [81] process command "close"
Aug 17 10:18 : client: [81] command returned 3
Aug 17 10:18 : client: [81] closed
Aug 17 10:18 : client: [82] opened from 127.0.0.1:49136
Aug 17 10:18 : client: [82] process command "status"
Aug 17 10:18 : client: [82] command returned 0
Aug 17 10:18 : client: [82] process command "idle"
Aug 17 10:18 : client: [82] command returned 1
Aug 17 10:18 : state_file: Saving state file /var/lib/mpd/state
Aug 17 10:18 : client: [83] opened from 127.0.0.1:49140
Aug 17 10:18 : client: [83] process command "play 50"
Aug 17 10:18 : playlist: play 50:"USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif"
Aug 17 10:18 : decoder_thread: probing plugin ffmpeg
Aug 17 10:18 : ffmpeg: detected input format 'aiff' (Audio IFF)
Aug 17 10:18 : ffmpeg/aiff: max_analyze_duration 5000000 reached
Aug 17 10:18 : ffmpeg: codec 'pcm_s16be'
Aug 17 10:18 : decoder: audio_format=44100:16:2, seekable=true
Aug 17 10:18 : client: [83] command returned 0
Aug 17 10:18 : playlist: queue song 51:"USB/EXFAT-128GB/Test_music/zippers/11 It's Your Problem.aif"
Aug 17 10:18 : client: [83] process command "close"
Aug 17 10:18 : client: [83] command returned 3
Aug 17 10:18 : client: [83] closed
Aug 17 10:18 : client: [82] process command "status"
Aug 17 10:18 : client: [82] command returned 0
Aug 17 10:18 : client: [82] process command "currentsong"
Aug 17 10:18 : client: [82] command returned 0
Aug 17 10:18 : decoder: converting to 384000:32:2
Aug 17 10:18 : soxr: soxr engine 'double-precision'
Aug 17 10:18 : soxr: samplerate conversion ratio to 8.71
Aug 17 10:18 : client: [82] process command "close"
Aug 17 10:18 : client: [82] command returned 3
Aug 17 10:18 : client: [82] closed
Aug 17 10:18 : client: [84] opened from 127.0.0.1:49144
Aug 17 10:18 : client: [84] process command "close"
Aug 17 10:18 : client: [84] command returned 3
Aug 17 10:18 : client: [84] closed
Aug 17 10:18 : client: [85] opened from 127.0.0.1:49148
Aug 17 10:18 : client: [85] process command "status"
Aug 17 10:18 : client: [85] command returned 0
Aug 17 10:18 : client: [85] process command "idle"
Aug 17 10:18 : client: [85] command returned 1
Aug 17 10:18 : state_file: Saving state file /var/lib/mpd/state
Aug 17 10:18 : client: [86] opened from 127.0.0.1:49152
Aug 17 10:18 : client: [86] process command "play 51"
Aug 17 10:18 : playlist: play 51:"USB/EXFAT-128GB/Test_music/zippers/11 It's Your Problem.aif"
Aug 17 10:18 : decoder_thread: probing plugin ffmpeg
Aug 17 10:18 : ffmpeg: detected input format 'aiff' (Audio IFF)
Aug 17 10:18 : ffmpeg/aiff: max_analyze_duration 5000000 reached
Aug 17 10:18 : ffmpeg: codec 'pcm_s16be'
Aug 17 10:18 : decoder: audio_format=44100:16:2, seekable=true
Aug 17 10:18 : client: [86] command returned 0
Aug 17 10:18 : client: [85] process command "status"
Aug 17 10:18 : client: [85] command returned 0
Aug 17 10:18 : client: [86] process command "close"
Aug 17 10:18 : client: [86] command returned 3
Aug 17 10:18 : client: [86] closed
Aug 17 10:18 : decoder: converting to 384000:32:2
Aug 17 10:18 : client: [85] process command "currentsong"
Aug 17 10:18 : client: [85] command returned 0
Aug 17 10:18 : soxr: soxr engine 'double-precision'
Aug 17 10:18 : soxr: samplerate conversion ratio to 8.71
Aug 17 10:18 : client: [85] process command "close"
Aug 17 10:18 : client: [85] command returned 3
Aug 17 10:18 : client: [85] closed
Aug 17 10:18 : client: [87] opened from 127.0.0.1:49156
Aug 17 10:18 : client: [87] process command "close"
Aug 17 10:18 : client: [87] command returned 3
Aug 17 10:18 : client: [87] closed
Aug 17 10:18 : client: [88] opened from 127.0.0.1:49160
Aug 17 10:18 : client: [88] process command "status"
Aug 17 10:18 : client: [88] command returned 0
Aug 17 10:18 : client: [88] process command "idle"
Aug 17 10:18 : client: [88] command returned 1
Aug 17 10:18 : state_file: Saving state file /var/lib/mpd/state
Aug 17 10:19 : client: [89] opened from 127.0.0.1:49164
Aug 17 10:19 : client: [89] process command "pause"
Aug 17 10:19 : client: [89] command returned 0
Aug 17 10:19 : output: closed plugin=alsa name="ALSA default"
Aug 17 10:19 : client: [88] process command "status"
Aug 17 10:19 : client: [88] command returned 0
Aug 17 10:19 : client: [89] process command "close"
Aug 17 10:19 : client: [89] command returned 3
Aug 17 10:19 : client: [89] closed
Aug 17 10:19 : client: [88] process command "currentsong"
Aug 17 10:19 : client: [88] command returned 0
Aug 17 10:19 : client: [88] process command "close"
Aug 17 10:19 : client: [88] command returned 3
Aug 17 10:19 : client: [88] closed
Aug 17 10:19 : client: [90] opened from 127.0.0.1:49168
Aug 17 10:19 : client: [90] process command "close"
Aug 17 10:19 : client: [90] command returned 3
Aug 17 10:19 : client: [90] closed
Aug 17 10:19 : client: [91] opened from 127.0.0.1:49172
Aug 17 10:19 : client: [91] process command "status"
Aug 17 10:19 : client: [91] command returned 0
Aug 17 10:19 : client: [91] process command "idle"
Aug 17 10:19 : client: [91] command returned 1
Aug 17 10:19 : state_file: Saving state file /var/lib/mpd/state
CURRENTSONG INFO
pi@rp3:~ $ telnet localhost 6600
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.20.0
currentsong
file: USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif
Last-Modified: 2017-08-12T19:11:04Z
Time: 226
duration: 226.000
Pos: 49
Id: 53
OK
currentsong
file: USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif
Last-Modified: 2016-03-07T23:11:46Z
Time: 221
duration: 221.000
Pos: 50
Id: 54
OK
currentsong
file: USB/EXFAT-128GB/Test_music/zippers/11 It's Your Problem.aif
Last-Modified: 2016-03-09T10:05:39Z
Time: 67
duration: 67.307
Pos: 51
Id: 55
OK
MEDIAINFO DUMPS
pi@rp3:~ $ mediainfo "/var/lib/mpd/music/USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif"
General
Complete name : /var/lib/mpd/music/USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif
Format : AIFF
Format/Info : Apple/SGI
File size : 38.2 MiB
Duration : 3mn 46s
Overall bit rate mode : Constant
Overall bit rate : 1 416 Kbps
Album : Let Love In
Part/Position : 1
Part/Total : 1
Track name : Ain't Gonna Rain Anymore
Track name/Position : 8
Track name/Total : 10
Performer : Nick Cave & The Bad Seeds
Accompaniment : Nick Cave & The Bad Seeds
Composer : Nick Cave/Nick Cave & The Bad Seeds
Genre : Indie Rock
Recorded date : 1994
Cover : Yes
Cover MIME : image/jpeg
iTunPGAP : 0
iTunes_CDDB_1 : 850B530A+217627+10+150+26938+44364+72975+85536+113329+132434+149595+166545+189700
iTunes_CDDB_TrackNumber : 8
Audio
Format : PCM
Format settings, Endianness : Big
Duration : 3mn 46s
Bit rate mode : Constant
Bit rate : 1 411.2 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 38.0 MiB (100%)
Hi,
I'm not able to get Album or Artist tags read from aiff files using MPD 0.20.9. I don't recall this happening in 0.19.19 so maybe a regression?
I have several sets of sample files, the most recent can be downloaded at the link below.
-Tim
SAMPLE FILES
http://moodeaudio.org/files/mike_aiff_test.zip
OS PLATFORM INFO
Raspbian Jessie Lite 2017-07-05 Linux kernel 4.9.41-v7+
MPD INFO
pi@rp3:~ $ mpd -V Music Player Daemon 0.20.9
Copyright (C) 2003-2007 Warren Dukes warren.dukes@gmail.com Copyright 2008-2017 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
Storage plugins: local
Decoders plugins: [mad] mp3 mp2 [mpg123] mp3 [vorbis] ogg oga [oggflac] ogg oga [flac] flac [dsdiff] dff [dsf] dsf [faad] aac [wavpack] wv [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 [pcm]
Filters: soxr
Tag plugins: id3tag
Output plugins: shout null fifo pipe alsa httpd recorder
Encoder plugins: null vorbis lame wave flac
Archive plugins: [iso] iso
Input plugins: file alsa archive curl ffmpeg cdio_paranoia
Playlist plugins: extm3u m3u pls soundcloud flac cue embcue
Protocols: file:// http:// https:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// cdda:// alsa://
Other features: avahi epoll icu inotify systemd tcp un
COMPILE INFO
sudo apt-get install libmad0-dev libmpg123-dev libid3tag0-dev \ libflac-dev libvorbis-dev libfaad-dev \ libwavpack-dev \ libavcodec-dev libavformat-dev \ libmp3lame-dev \ libsoxr-dev \ libcdio-paranoia-dev libiso9660-dev \ libcurl4-gnutls-dev \ libasound2-dev \ libshout3-dev libyajl-dev \ libmpdclient-dev \ libavahi-client-dev \ libsystemd-daemon-dev libwrap0-dev \ libboost-dev \ libicu-dev \ libglib2.0-dev
sudo wget http://www.musicpd.org/download/mpd/0.20/mpd-0.20.9.tar.xz sudo tar xf mpd-0.20.9.tar.xz cd mpd-0.20.9 sudo sh autogen.sh
sudo ./configure --enable-database --enable-libmpdclient --enable-alsa \ --enable-curl --enable-dsd --enable-ffmpeg --enable-flac \ --enable-id3 --enable-soundcloud --enable-lame-encoder --enable-mad \ --enable-mpg123 --enable-pipe-output --enable-recorder-output --enable-shout \ --enable-vorbis --enable-wave-encoder --enable-wavpack --enable-httpd-output \ --enable-soxr --with-zeroconf=avahi \ --disable-bzip2 --disable-zzip --disable-fluidsynth --disable-gme \ --disable-wildmidi --disable-sqlite --disable-jack --disable-ao --disable-oss \ --disable-ipv6 --disable-pulse --disable-nfs --disable-smbclient \ --disable-upnp --disable-expat --disable-lsr \ --disable-sndfile --disable-audiofile --disable-sidplay
FFMPEG INFO
pi@rp3:~ $ avconv -version avconv version 11.9-6:11.9-1~deb8u1+rpi1, Copyright (c) 2000-2017 the Libav developers built on Apr 26 2017 06:57:28 with gcc 4.9.2 (Raspbian 4.9.2-10) avconv 11.9-6:11.9-1~deb8u1+rpi1 libavutil 54. 3. 0 / 54. 3. 0 libavcodec 56. 1. 0 / 56. 1. 0 libavformat 56. 1. 0 / 56. 1. 0 libavdevice 55. 0. 0 / 55. 0. 0 libavfilter 5. 0. 0 / 5. 0. 0 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 0. 0 / 3. 0. 0
pi@rp3:~ $ dpkg -l | grep libav ii libav-tools 6:11.9-1~deb8u1+rpi1 armhf Multimedia player, encoder and transcoder ii libavcodec-dev 6:11.9-1~deb8u1+rpi1 armhf Development files for libavcodec ii libavcodec56:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav codec library ii libavdevice55:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav device handling library ii libavfilter5:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav video filtering library ii libavformat-dev 6:11.9-1~deb8u1+rpi1 armhf Development files for libavformat ii libavformat56:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav file format library ii libavresample-dev 6:11.9-1~deb8u1+rpi1 armhf Development files for libavresample ii libavresample2:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav audio resampling library ii libavutil-dev 6:11.9-1~deb8u1+rpi1 armhf Development files for libavutil ii libavutil54:armhf 6:11.9-1~deb8u1+rpi1 armhf Libav utility library
LOG OUTPUT
pi@rp3:~ $ tail -f /var/log/mpd/mpd.log Aug 17 10:17 : client: [59] opened from 127.0.0.1:49044 Aug 17 10:17 : client: [60] opened from 127.0.0.1:49048 Aug 17 10:17 : client: [60] process command "rescan" Aug 17 10:17 : update: spawned thread for update job id 4 Aug 17 10:17 : update: starting Aug 17 10:17 : client: [60] command returned 0 Aug 17 10:17 : client: [60] closed Aug 17 10:17 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac Aug 17 10:17 : client: [53] process command "status" Aug 17 10:17 : client: [53] command returned 0 Aug 17 10:17 : client: [58] process command "status" Aug 17 10:17 : client: [58] command returned 0 Aug 17 10:17 : update: recursive directory found Aug 17 10:17 : client: [53] process command "currentsong" Aug 17 10:17 : client: [53] command returned 0 Aug 17 10:17 : client: [58] process command "currentsong" Aug 17 10:17 : client: [58] command returned 0 Aug 17 10:17 : client: [53] process command "close" Aug 17 10:17 : client: [53] command returned 3 Aug 17 10:17 : client: [53] closed Aug 17 10:17 : client: [58] process command "close" Aug 17 10:17 : client: [58] command returned 3 Aug 17 10:17 : client: [58] closed Aug 17 10:17 : update: updating USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif Aug 17 10:17 : ffmpeg/aiff: max_analyze_duration 5000000 reached Aug 17 10:17 : update: updating USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif Aug 17 10:17 : ffmpeg/aiff: max_analyze_duration 5000000 reached Aug 17 10:17 : update: updating USB/EXFAT-128GB/Test_music/zippers/11 It's Your Problem.aif Aug 17 10:17 : ffmpeg/aiff: max_analyze_duration 5000000 reached Aug 17 10:17 : simple_db: removing empty directories from DB Aug 17 10:17 : simple_db: sorting DB Aug 17 10:17 : simple_db: writing DB Aug 17 10:17 : update: finished Aug 17 10:17 : client: [62] opened from 127.0.0.1:49056 Aug 17 10:17 : client: [62] process command "status" Aug 17 10:17 : client: [62] command returned 0 Aug 17 10:17 : client: [62] process command "currentsong" Aug 17 10:17 : client: [62] command returned 0 Aug 17 10:17 : client: [62] process command "close" Aug 17 10:17 : client: [62] command returned 3 Aug 17 10:17 : client: [62] closed Aug 17 10:17 : client: [63] opened from 127.0.0.1:49060 Aug 17 10:17 : client: [63] process command "close" Aug 17 10:17 : client: [63] command returned 3 Aug 17 10:17 : client: [63] closed Aug 17 10:17 : client: [64] opened from 127.0.0.1:49064 Aug 17 10:17 : client: [65] opened from 127.0.0.1:49068 Aug 17 10:17 : client: [65] process command "status" Aug 17 10:17 : client: [65] command returned 0 Aug 17 10:17 : client: [65] process command "idle" Aug 17 10:17 : client: [65] command returned 1 Aug 17 10:17 : client: [64] process command "playlistinfo" Aug 17 10:17 : client: [64] command returned 0 Aug 17 10:17 : client: [64] process command "close" Aug 17 10:17 : client: [64] command returned 3 Aug 17 10:17 : client: [64] closed Aug 17 10:18 : client: [66] opened from 127.0.0.1:49072 Aug 17 10:18 : client: [66] process command "close" Aug 17 10:18 : client: [66] command returned 3 Aug 17 10:18 : client: [66] closed Aug 17 10:18 : client: [67] opened from 127.0.0.1:49076 Aug 17 10:18 : client: [67] process command "close" Aug 17 10:18 : client: [67] command returned 3 Aug 17 10:18 : client: [67] closed Aug 17 10:18 : client: [68] opened from 127.0.0.1:49080 Aug 17 10:18 : client: [68] process command "status" Aug 17 10:18 : client: [68] command returned 0 Aug 17 10:18 : client: [68] process command "currentsong" Aug 17 10:18 : client: [68] command returned 0 Aug 17 10:18 : client: [68] process command "close" Aug 17 10:18 : client: [68] command returned 3 Aug 17 10:18 : client: [68] closed Aug 17 10:18 : client: [69] opened from 127.0.0.1:49084 Aug 17 10:18 : client: [69] process command "lsinfo" Aug 17 10:18 : client: [69] command returned 0 Aug 17 10:18 : client: [69] process command "close" Aug 17 10:18 : client: [69] command returned 3 Aug 17 10:18 : client: [69] closed Aug 17 10:18 : client: [70] opened from 127.0.0.1:49088 Aug 17 10:18 : client: [70] process command "close" Aug 17 10:18 : client: [70] command returned 3 Aug 17 10:18 : client: [70] closed Aug 17 10:18 : client: [71] opened from 127.0.0.1:49092 Aug 17 10:18 : client: [72] opened from 127.0.0.1:49096 Aug 17 10:18 : client: [72] process command "status" Aug 17 10:18 : client: [72] command returned 0 Aug 17 10:18 : client: [72] process command "idle" Aug 17 10:18 : client: [72] command returned 1 Aug 17 10:18 : client: [71] process command "playlistinfo" Aug 17 10:18 : client: [71] command returned 0 Aug 17 10:18 : client: [71] process command "close" Aug 17 10:18 : client: [71] command returned 3 Aug 17 10:18 : client: [71] closed Aug 17 10:18 : client: [73] opened from 127.0.0.1:49100 Aug 17 10:18 : client: [73] process command "lsinfo "USB"" Aug 17 10:18 : client: [73] command returned 0 Aug 17 10:18 : client: [73] process command "close" Aug 17 10:18 : client: [73] command returned 3 Aug 17 10:18 : client: [73] closed Aug 17 10:18 : client: [74] opened from 127.0.0.1:49104 Aug 17 10:18 : client: [74] process command "lsinfo "USB/EXFAT-128GB"" Aug 17 10:18 : client: [74] command returned 0 Aug 17 10:18 : client: [74] process command "close" Aug 17 10:18 : client: [74] command returned 3 Aug 17 10:18 : client: [74] closed Aug 17 10:18 : client: [75] opened from 127.0.0.1:49108 Aug 17 10:18 : client: [75] process command "lsinfo "USB/EXFAT-128GB/Test_music"" Aug 17 10:18 : client: [75] command returned 0 Aug 17 10:18 : client: [75] process command "close" Aug 17 10:18 : client: [75] command returned 3 Aug 17 10:18 : client: [75] closed Aug 17 10:18 : client: [76] opened from 127.0.0.1:49112 Aug 17 10:18 : client: [76] process command "add "USB/EXFAT-128GB/Test_music/zippers"" Aug 17 10:18 : client: [76] command returned 0 Aug 17 10:18 : client: [76] process command "close" Aug 17 10:18 : client: [76] command returned 3 Aug 17 10:18 : client: [76] closed Aug 17 10:18 : client: [72] process command "status" Aug 17 10:18 : client: [72] command returned 0 Aug 17 10:18 : client: [65] process command "status" Aug 17 10:18 : client: [65] command returned 0 Aug 17 10:18 : client: [72] process command "currentsong" Aug 17 10:18 : client: [72] command returned 0 Aug 17 10:18 : client: [65] process command "currentsong" Aug 17 10:18 : client: [65] command returned 0 Aug 17 10:18 : client: [72] process command "close" Aug 17 10:18 : client: [72] command returned 3 Aug 17 10:18 : client: [72] closed Aug 17 10:18 : client: [65] process command "close" Aug 17 10:18 : client: [65] command returned 3 Aug 17 10:18 : client: [65] closed Aug 17 10:18 : client: [77] opened from 127.0.0.1:49116 Aug 17 10:18 : client: [77] process command "close" Aug 17 10:18 : client: [77] command returned 3 Aug 17 10:18 : client: [77] closed Aug 17 10:18 : client: [78] opened from 127.0.0.1:49120 Aug 17 10:18 : client: [79] opened from 127.0.0.1:49124 Aug 17 10:18 : client: [79] process command "status" Aug 17 10:18 : client: [79] command returned 0 Aug 17 10:18 : client: [79] process command "idle" Aug 17 10:18 : client: [79] command returned 1 Aug 17 10:18 : client: [78] process command "playlistinfo" Aug 17 10:18 : client: [78] command returned 0 Aug 17 10:18 : client: [78] process command "close" Aug 17 10:18 : client: [78] command returned 3 Aug 17 10:18 : client: [78] closed Aug 17 10:18 : state_file: Saving state file /var/lib/mpd/state Aug 17 10:18 : client: [80] opened from 127.0.0.1:49128 Aug 17 10:18 : client: [80] process command "play 49" Aug 17 10:18 : playlist: play 49:"USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif" Aug 17 10:18 : client: [80] command returned 0 Aug 17 10:18 : playlist: queue song 50:"USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif" Aug 17 10:18 : client: [80] process command "close" Aug 17 10:18 : client: [80] command returned 3 Aug 17 10:18 : client: [80] closed Aug 17 10:18 : decoder_thread: probing plugin ffmpeg Aug 17 10:18 : ffmpeg: detected input format 'aiff' (Audio IFF) Aug 17 10:18 : ffmpeg/aiff: max_analyze_duration 5000000 reached Aug 17 10:18 : ffmpeg: codec 'pcm_s16be' Aug 17 10:18 : decoder: audio_format=44100:16:2, seekable=true Aug 17 10:18 : decoder: converting to 384000:32:2 Aug 17 10:18 : soxr: soxr engine 'double-precision' Aug 17 10:18 : soxr: samplerate conversion ratio to 8.71 Aug 17 10:18 : alsa_output: opened hw:0,0 type=HW Aug 17 10:18 : alsa_output: buffer: size=64..65536 time=166..170667 Aug 17 10:18 : alsa_output: period: size=32..32768 time=83..85334 Aug 17 10:18 : alsa_output: default period_time = buffer_time/4 = 170666/4 = 42666 Aug 17 10:18 : alsa_output: format=S32_LE (Signed 32 bit Little Endian) Aug 17 10:18 : alsa_output: buffer_size=65536 period_size=16384 Aug 17 10:18 : output: opened plugin=alsa name="ALSA default" audio_format=384000:32:2 Aug 17 10:18 : client: [79] process command "status" Aug 17 10:18 : client: [79] command returned 0 Aug 17 10:18 : client: [79] process command "currentsong" Aug 17 10:18 : client: [79] command returned 0 Aug 17 10:18 : client: [79] process command "close" Aug 17 10:18 : client: [79] command returned 3 Aug 17 10:18 : client: [79] closed Aug 17 10:18 : client: [81] opened from 127.0.0.1:49132 Aug 17 10:18 : client: [81] process command "close" Aug 17 10:18 : client: [81] command returned 3 Aug 17 10:18 : client: [81] closed Aug 17 10:18 : client: [82] opened from 127.0.0.1:49136 Aug 17 10:18 : client: [82] process command "status" Aug 17 10:18 : client: [82] command returned 0 Aug 17 10:18 : client: [82] process command "idle" Aug 17 10:18 : client: [82] command returned 1 Aug 17 10:18 : state_file: Saving state file /var/lib/mpd/state Aug 17 10:18 : client: [83] opened from 127.0.0.1:49140 Aug 17 10:18 : client: [83] process command "play 50" Aug 17 10:18 : playlist: play 50:"USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif" Aug 17 10:18 : decoder_thread: probing plugin ffmpeg Aug 17 10:18 : ffmpeg: detected input format 'aiff' (Audio IFF) Aug 17 10:18 : ffmpeg/aiff: max_analyze_duration 5000000 reached Aug 17 10:18 : ffmpeg: codec 'pcm_s16be' Aug 17 10:18 : decoder: audio_format=44100:16:2, seekable=true Aug 17 10:18 : client: [83] command returned 0 Aug 17 10:18 : playlist: queue song 51:"USB/EXFAT-128GB/Test_music/zippers/11 It's Your Problem.aif" Aug 17 10:18 : client: [83] process command "close" Aug 17 10:18 : client: [83] command returned 3 Aug 17 10:18 : client: [83] closed Aug 17 10:18 : client: [82] process command "status" Aug 17 10:18 : client: [82] command returned 0 Aug 17 10:18 : client: [82] process command "currentsong" Aug 17 10:18 : client: [82] command returned 0 Aug 17 10:18 : decoder: converting to 384000:32:2 Aug 17 10:18 : soxr: soxr engine 'double-precision' Aug 17 10:18 : soxr: samplerate conversion ratio to 8.71 Aug 17 10:18 : client: [82] process command "close" Aug 17 10:18 : client: [82] command returned 3 Aug 17 10:18 : client: [82] closed Aug 17 10:18 : client: [84] opened from 127.0.0.1:49144 Aug 17 10:18 : client: [84] process command "close" Aug 17 10:18 : client: [84] command returned 3 Aug 17 10:18 : client: [84] closed Aug 17 10:18 : client: [85] opened from 127.0.0.1:49148 Aug 17 10:18 : client: [85] process command "status" Aug 17 10:18 : client: [85] command returned 0 Aug 17 10:18 : client: [85] process command "idle" Aug 17 10:18 : client: [85] command returned 1 Aug 17 10:18 : state_file: Saving state file /var/lib/mpd/state Aug 17 10:18 : client: [86] opened from 127.0.0.1:49152 Aug 17 10:18 : client: [86] process command "play 51" Aug 17 10:18 : playlist: play 51:"USB/EXFAT-128GB/Test_music/zippers/11 It's Your Problem.aif" Aug 17 10:18 : decoder_thread: probing plugin ffmpeg Aug 17 10:18 : ffmpeg: detected input format 'aiff' (Audio IFF) Aug 17 10:18 : ffmpeg/aiff: max_analyze_duration 5000000 reached Aug 17 10:18 : ffmpeg: codec 'pcm_s16be' Aug 17 10:18 : decoder: audio_format=44100:16:2, seekable=true Aug 17 10:18 : client: [86] command returned 0 Aug 17 10:18 : client: [85] process command "status" Aug 17 10:18 : client: [85] command returned 0 Aug 17 10:18 : client: [86] process command "close" Aug 17 10:18 : client: [86] command returned 3 Aug 17 10:18 : client: [86] closed Aug 17 10:18 : decoder: converting to 384000:32:2 Aug 17 10:18 : client: [85] process command "currentsong" Aug 17 10:18 : client: [85] command returned 0 Aug 17 10:18 : soxr: soxr engine 'double-precision' Aug 17 10:18 : soxr: samplerate conversion ratio to 8.71 Aug 17 10:18 : client: [85] process command "close" Aug 17 10:18 : client: [85] command returned 3 Aug 17 10:18 : client: [85] closed Aug 17 10:18 : client: [87] opened from 127.0.0.1:49156 Aug 17 10:18 : client: [87] process command "close" Aug 17 10:18 : client: [87] command returned 3 Aug 17 10:18 : client: [87] closed Aug 17 10:18 : client: [88] opened from 127.0.0.1:49160 Aug 17 10:18 : client: [88] process command "status" Aug 17 10:18 : client: [88] command returned 0 Aug 17 10:18 : client: [88] process command "idle" Aug 17 10:18 : client: [88] command returned 1 Aug 17 10:18 : state_file: Saving state file /var/lib/mpd/state Aug 17 10:19 : client: [89] opened from 127.0.0.1:49164 Aug 17 10:19 : client: [89] process command "pause" Aug 17 10:19 : client: [89] command returned 0 Aug 17 10:19 : output: closed plugin=alsa name="ALSA default" Aug 17 10:19 : client: [88] process command "status" Aug 17 10:19 : client: [88] command returned 0 Aug 17 10:19 : client: [89] process command "close" Aug 17 10:19 : client: [89] command returned 3 Aug 17 10:19 : client: [89] closed Aug 17 10:19 : client: [88] process command "currentsong" Aug 17 10:19 : client: [88] command returned 0 Aug 17 10:19 : client: [88] process command "close" Aug 17 10:19 : client: [88] command returned 3 Aug 17 10:19 : client: [88] closed Aug 17 10:19 : client: [90] opened from 127.0.0.1:49168 Aug 17 10:19 : client: [90] process command "close" Aug 17 10:19 : client: [90] command returned 3 Aug 17 10:19 : client: [90] closed Aug 17 10:19 : client: [91] opened from 127.0.0.1:49172 Aug 17 10:19 : client: [91] process command "status" Aug 17 10:19 : client: [91] command returned 0 Aug 17 10:19 : client: [91] process command "idle" Aug 17 10:19 : client: [91] command returned 1 Aug 17 10:19 : state_file: Saving state file /var/lib/mpd/state
CURRENTSONG INFO
pi@rp3:~ $ telnet localhost 6600 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. OK MPD 0.20.0 currentsong file: USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif Last-Modified: 2017-08-12T19:11:04Z Time: 226 duration: 226.000 Pos: 49 Id: 53 OK currentsong file: USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif Last-Modified: 2016-03-07T23:11:46Z Time: 221 duration: 221.000 Pos: 50 Id: 54 OK currentsong file: USB/EXFAT-128GB/Test_music/zippers/11 It's Your Problem.aif Last-Modified: 2016-03-09T10:05:39Z Time: 67 duration: 67.307 Pos: 51 Id: 55 OK
MEDIAINFO DUMPS
pi@rp3:~ $ mediainfo "/var/lib/mpd/music/USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif" General Complete name : /var/lib/mpd/music/USB/EXFAT-128GB/Test_music/zippers/08 Ain't Gonna Rain Anymore.aif Format : AIFF Format/Info : Apple/SGI File size : 38.2 MiB Duration : 3mn 46s Overall bit rate mode : Constant Overall bit rate : 1 416 Kbps Album : Let Love In Part/Position : 1 Part/Total : 1 Track name : Ain't Gonna Rain Anymore Track name/Position : 8 Track name/Total : 10 Performer : Nick Cave & The Bad Seeds Accompaniment : Nick Cave & The Bad Seeds Composer : Nick Cave/Nick Cave & The Bad Seeds Genre : Indie Rock Recorded date : 1994 Cover : Yes Cover MIME : image/jpeg iTunPGAP : 0 iTunes_CDDB_1 : 850B530A+217627+10+150+26938+44364+72975+85536+113329+132434+149595+166545+189700 iTunes_CDDB_TrackNumber : 8
Audio Format : PCM Format settings, Endianness : Big Duration : 3mn 46s Bit rate mode : Constant Bit rate : 1 411.2 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Bit depth : 16 bits Stream size : 38.0 MiB (100%)
pi@rp3:~ $ mediainfo "/var/lib/mpd/music/USB/EXFAT-128GB/Test_music/zippers/08 Pedestal.aif"