MusicPlayerDaemon / MPD

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

New music isn't found #1870

Closed paulfrische closed 11 months ago

paulfrische commented 11 months ago

Bug report

Describe the bug

I added new music to my music directory and multiple times ran mpc update/mpc rescan and restarted mpd.

Expected Behavior

All the new music should be visible in a mpd client

Actual Behavior

MPD seems to only recognize one of the new albums.

Version

Music Player Daemon 0.23.13 (0.23.13)
Copyright 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2021 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 udisks nfs curl

Neighbor plugins:
 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
 [openmpt] mptm mod s3m xm it 669 amf ams c67 dbm digi dmf dsm dtm far imf ice j2b m15 mdl med mms mt2 mtm nst okt plm psm pt36 ptm sfx sfx2 st26 stk stm stp ult wow gdm mo3 oxm umx xpk ppm mmcmp
 [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
 [sidplay] sid mus str prg P00
 [wildmidi] mid
 [fluidsynth] mid
 [gme] ay gbs gym hes kss nsf nsfe rsn sap spc vgm vgz
 [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 rtp:// rtsp:// rtsps://
 [pcm]

Filters:
 libsamplerate soxr

Tag plugins:
 id3tag

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

Encoder plugins:
 null vorbis opus lame twolame wave flac

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

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

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

Protocols:
 file:// alsa:// cdda:// ftp:// ftps:// gopher:// hls+http:// hls+https:// http:// https:// mms:// mmsh:// mmst:// mmsu:// nfs:// qobuz:// rtmp:// rtmpe:// rtmps:// rtmpt:// rtmpte:// rtmpts:// rtp:// rtsp:// rtsps:// scp:// sftp:// smb:// srtp://

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

Configuration

db_file             "~/d/music/database"
music_directory     "~/d/music"
auto_update         "yes"
playlist_directory  "~/d/music/playlists"
log_file "~/mpd.log"
log_level "verbose"

audio_output {
    type    "pipewire"
    name    "Pipewire Sound Server"
}

Log

Sep 26 20:35 : event: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
Sep 26 20:35 : inotify: initializing inotify
Sep 26 20:35 : inotify: watching music directory
Sep 26 20:36 : update: spawned thread for update job id 1
Sep 26 20:36 : update: starting
Sep 26 20:36 : inotify: updating '' job=1
Sep 26 20:36 : update: finished

Sep 26 20:42 : update: reading Megadeth - So Far, So Good… So What!/08 - Megadeth - Hook in Mouth.wav
Sep 26 20:42 : update: added Megadeth - So Far, So Good… So What!/08 - Megadeth - Hook in Mouth.wav
Sep 26 20:42 : update: reading Megadeth - So Far, So Good… So What!/04 - Megadeth - Mary Jane.wav
Sep 26 20:42 : update: added Megadeth - So Far, So Good… So What!/04 - Megadeth - Mary Jane.wav
Sep 26 20:42 : update: reading Megadeth - So Far, So Good… So What!/01 - Megadeth - Into the Lungs of Hell.wav
Sep 26 20:42 : update: added Megadeth - So Far, So Good… So What!/01 - Megadeth - Into the Lungs of Hell.wav
Sep 26 20:42 : update: reading Megadeth - So Far, So Good… So What!/05 - Megadeth - 502.wav
Sep 26 20:42 : update: added Megadeth - So Far, So Good… So What!/05 - Megadeth - 502.wav
Sep 26 20:42 : update: reading Megadeth - So Far, So Good… So What!/06 - Megadeth - In My Darkest Hour.wav
Sep 26 20:42 : update: added Megadeth - So Far, So Good… So What!/06 - Megadeth - In My Darkest Hour.wav
Sep 26 20:42 : update: reading Megadeth - So Far, So Good… So What!/02 - Megadeth - Set the World Afire.wav
Sep 26 20:42 : update: added Megadeth - So Far, So Good… So What!/02 - Megadeth - Set the World Afire.wav
Sep 26 20:42 : update: reading Megadeth - So Far, So Good… So What!/03 - Megadeth - Anarchy in the U.K..wav
Sep 26 20:42 : update: added Megadeth - So Far, So Good… So What!/03 - Megadeth - Anarchy in the U.K..wav
Sep 26 20:42 : update: reading Megadeth - So Far, So Good… So What!/07 - Megadeth - Liar.wav
Sep 26 20:42 : update: added Megadeth - So Far, So Good… So What!/07 - Megadeth - Liar.wav

"So Far, So Good… So What!" is one of the new albums which don't get added even though log says it.

paulfrische commented 11 months ago

nvm I didn't tag the music properly.