Library Update doesnt work bc corrupted file - zOr7gA8 - 08-04-2021
hey there,
on the usb stick which contains media and is attached to the pi is a big container file - about 130 GB.
*edit* this was the exspected reason, that library update doesn t work.
is there a way to skip the file or a folder while scan? would help very much. filename can be changed to everything.
solution is in #4
investigate log of update. here I found a corrupted file.
RE: Library Update doesnt work bc. big file - zOr7gA8 - 08-04-2021
solved with documentation:
https://mpd.readthedocs.io/en/stable/user.html
Quote:To exclude a file from the update, create a file called
in its parent directory. Each line of that file may contain a list of shell wildcards. Matching files in the current directory and all subdirectories are excluded.
Test is running
RE: Library Update doesnt work bc. big file - zOr7gA8 - 08-04-2021
doesn't work. also a change of filename to .name.ending doesn't fix it.
here is the log
Code: 20210804 232408 worker: -- Start
20210804 232408 worker: Successfully daemonized
20210804 232408 worker: Integrity check (passed)
20210804 232409 worker: File check (OK)
20210804 232409 worker: Session vacuumed
20210804 232409 worker: Session loaded
20210804 232409 worker: Debug logging (OFF)
20210804 232409 worker: -- Audio debug
20210804 232409 worker: ALSA cards: (0:sndrpirpidac | 1:empty | 2:empty | 3:empty
20210804 232409 worker: MPD config: (0:Generic-2 I2S (rpi-dac) | mixer:(none) | card:0)
20210804 232410 worker: ALSA mixer actual (none)
20210804 232410 worker: ALSA volume (none)
20210804 232410 worker: -- System
20210804 232412 worker: Host (moode)
20210804 232412 worker: moOde (7.3.0 2021-06-25)
20210804 232412 worker: RaspiOS (10.6)
20210804 232412 worker: Kernel (5.4.77-v7+ #1371)
20210804 232412 worker: Platform (Pi-3A+ 1.0 512MB)
20210804 232412 worker: ARM arch (armv7l, 32-bit kernel)
20210804 232412 worker: MPD ver (0.22.8_p0x3)
20210804 232412 worker: CPU gov (performance)
20210804 232412 worker: USB boot not enabled yet
20210804 232412 worker: File system expanded
20210804 232412 worker: HDMI port off
20210804 232412 worker: -- Network
20210804 232412 worker: eth0 exists
20210804 232412 worker: IP addr (192.168.178.21)
20210804 232412 worker: Netmask (255.255.255.0)
20210804 232412 worker: Gateway (192.168.178.1)
20210804 232412 worker: Pri DNS (192.168.178.1)
20210804 232412 worker: Domain (fritz.box)
20210804 232412 worker: wlan0 does not exist
20210804 232412 worker: -- Audio config
20210804 232413 worker: MPD conf updated
20210804 232413 worker: ALSA card number (0)
20210804 232413 worker: MPD audio output (Generic-2 I2S (rpi-dac))
20210804 232413 worker: Audio formats (S16_LE, S24_LE)
20210804 232413 worker: ALSA mixer name (none)
20210804 232413 worker: MPD volume control (none)
20210804 232413 worker: Hdwr volume controller not detected
20210804 232413 worker: ALSA output mode (Default: plughw)
20210804 232413 worker: ALSA loopback (Off)
20210804 232413 worker: Reset renderer active flags
20210804 232413 worker: CamillaDSP (off)
20210804 232413 worker: -- MPD startup
20210804 232413 worker: MPD started
20210804 232413 worker: MPD accepting connections
20210804 232414 worker: MPD output 1 ALSA Default (on)
20210804 232414 worker: MPD output 2 ALSA Bluetooth (off)
20210804 232414 worker: MPD output 3 HTTP Server (on)
20210804 232414 worker: MPD crossfade (off)
20210804 232414 worker: MPD ignore CUE files (yes)
20210804 232414 worker: -- Feature availability
20210804 232414 worker: Source select (available)
20210804 232414 worker: Source select (source: MPD)
20210804 232414 worker: Source select (output: Generic-2 I2S (rpi-dac))
20210804 232414 worker: Bluetooth (available)
20210804 232414 worker: Airplay renderer (available)
20210804 232414 worker: Spotify renderer (available: started)
20210804 232414 worker: Squeezelite (available)
20210804 232414 worker: RoonBridge renderer (not installed)
20210804 232414 worker: UPnP renderer (available: started)
20210804 232414 worker: DLNA server (available)
20210804 232414 worker: UPnP browser (available)
20210804 232414 worker: GPIO button handler (available)
20210804 232414 worker: Stream recorder (n/a)
20210804 232414 worker: -- Music sources
20210804 232414 worker: USB source (PI_DATA_1)
20210804 232414 worker: USB source (PI_DATA_2)
20210804 232414 worker: NAS and UPnP sources (none configured)
20210804 232414 worker: -- Other
20210804 232414 worker: USB volume knob (Off)
20210804 232414 worker: Shellinabox SSH started
20210804 232414 worker: USB auto-mounter (udisks-glue)
20210804 232414 worker: LED0 (On)
20210804 232414 worker: LED1 (On)
20210804 232414 worker: Saved MPD vol level (0)
20210804 232414 worker: Preamp volume level (0)
20210804 232414 worker: MPD volume level (0) restored
20210804 232414 worker: ALSA volume level (None)
20210804 232414 worker: Auto-play (Off)
20210804 232414 worker: Maintenance interval (3 hours)
20210804 232414 worker: Screen saver activation (Never)
20210804 232414 worker: Session permissions (OK)
20210804 232414 worker: Watchdog started
20210804 232414 worker: Ready
20210804 232500 worker: Job update_library
20210804 232500 mpdindex: Start
20210804 232500 thmcache: Start
20210804 232500 thmcache: Priority: Embedded cover
20210804 232500 thmcache: Res,Qual: Auto
20210804 232500 thmcache: Px ratio: 1
20210804 232500 thmcache: Th width: 100
20210804 232500 thmcache: Thm qual: 75
20210804 232500 thmcache: Scanning: NAS, SDCARD, UPNP, PI_DATA_1, PI_DATA_2
20210804 232517 thmcache: Done: 734 folders scanned, 0 thumbs created, 734 already in cache.
20210804 233140 watchdog: Error: MPD restarted (check syslog for errors)
20210804 233142 mpdindex: Done: indexed 22 artists, 22 albums, 100 songs
20210804 233142 worker: Job update_library done
any ideas?
RE: Library Update doesnt work bc. big file - Tim Curtis - 08-04-2021
Examine the MPD log for errors.
Code: cat /var/log/mpd/log
RE: Library Update doesnt work bc. big file - zOr7gA8 - 08-05-2021
thx Tim.
Quote:Aug 04 23:31 : update: added USB/PI_DATA_2/sets/sets neu8/Paramida110721.mp3
[src/libmpg123/parse.c:1185] error: Giving up searching valid MPEG header after 65536 bytes of junk.
Aug 04 23:31 : mpg123: mpg123_getformat() failed: Message: I am done with this track.
Aug 04 23:31 : ffmpeg/mp3: Format mp3 detected only with low score of 1, misdetection possible!
looks like corrupted file. test is running.
RE: Library Update doesnt work bc. big file - zOr7gA8 - 08-05-2021
SOLVED ;-)
RE: Library Update doesnt work bc. big file - DRONE7 - 08-05-2021
You can mark the post solved by doing this... it helps others having similar problems ..
https://moodeaudio.org/forum/showthread.php?tid=2977&pid=24624#pid24624
Bob
RE: Library Update doesnt work bc. big file - TheOldPresbyope - 08-05-2021
But to be clear, the cause cited in the title of this thread "...bc. big file" is not, in fact, the cause of the issue, right? Best to fix the title as well as marking the thread as solved.
Regards,
Kent
RE: Library Update doesnt work bc corrupted file - zOr7gA8 - 08-06-2021
sorry for the delay. was busy ;-)
thread is updated.
|