03-26-2025, 12:31 PM
(03-25-2025, 04:06 PM)nosferatu_cat Wrote: I'm having the same difficulty. I've tried repeatedly using the library update on a fresh installation. I'm going to try the database regen. This is the sub-directory it has died in at least 4 times:
Code:Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/13--Two & Three Part Inventions No. 6 in E major, BWV777.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/14--Two & Three Part Inventions No. 6 in E major, BWV792.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/15--Two & Three Part Inventions No. 7 in E minor, BWV778.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/16--Two & Three Part Inventions No. 7 in E minor, BWV793.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/17--Two & Three Part Inventions No. 8 in F major, BWV779.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/18--Two & Three Part Inventions No. 8 in F major, BWV794.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/19--Two & Three Part Inventions No. 9 in F minor, BWV780.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/20--Two & Three Part Inventions No. 9 in F minor, BWV795.flac
Mar 25 09:01:24 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/21--Two & Three Part Inventions No. 10 in G major, BWV781.flac
Mar 25 09:01:25 : update: added NAS/RobertLockwood/Classical Files/Bach/glenn gould/Glenn Gould - Bach - Toccatas & Inventions/cd2/22--Two & Three Part Inventions No. 10 in G major, BWV796.flac
Mar 25 09:01:25 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Mar 25 09:01:25 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Mar 25 09:01:25 : ffmpeg: Unsupported libavcodec SampleFormat value: name depth (?)
Disregard my previous test results with the album you provided.
When testing this morning I was able to reproduce the "database update never finishes" issue.
In this particular case track 09 is a zero-byte file.
-rw-r--r-- 1 root root 0 Aug 4 2014 '09--Variation 8 a 2 Clav..flac'
If I remove that file and restart MPD, the database update completes successfully. I'll need to run the same test with prior version of MPD and the 0-byte file to see what happens.
I'll forward the download link to @TheOldPresbyope and @Nutul in case they want to try and repro.
Code:
#
# MPD LOG DURING DATABASE UPDATE
# IT ENDS WHILE PROCESSING THE NEXT FILE AFTER "18--Variation"
#
pi@moode9:~ $ tail -f /var/log/mpd/log
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/06--Variation 5 a 1 ovvero 2 Clav..flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/17--Variation 16 a 1 Clav. Ouverture.flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/13--Variation 12 a 1 Clav. Canone alla Quarta.flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/19--Variation 18 a 1 Clav. Canone alla Sesta.flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/26--Variation 25 a 2 Clav..flac
Mar 26 07:48:29 : update: added USB/VFAT64/Test/nosferatu_cat/Glenn Gould - Bach - Goldberg Variations (1981)/18--Variation 17 a 2 Clav..flac
Mar 26 07:48:29 : ffmpeg/flac: Format flac detected only with low score of 1, misdetection possible!
Mar 26 07:48:29 : ffmpeg/flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Mar 26 07:48:29 : ffmpeg: Unsupported libavcodec SampleFormat value: name depth (?)
^C
#
[size=small][font=Monaco, Consolas, Courier, monospace]# MPD DATABASE UPDATE STILL RUNNING[/font][/size]
#
pi@moode9:~ $ mpc update
Updating DB (#1) ...
volume: 20% repeat: off random: off single: off consume: off
pi@moode9:~ $
#
# ALBUM DIR LISTING SHOWING 0-BYTE FILE
# -rw-r--r-- 1 root root 0 Aug 4 2014 '09--Variation 8 a 2 Clav..flac'
#
pi@moode9:~ $ ls -l /media/VFAT64/Test/nosferatu_cat/Glenn\ Gould\ -\ Bach\ -\ Goldberg\ Variations\ \(1981\)/
total 174336
-rw-r--r-- 1 root root 9077197 Aug 4 2014 01--Aria.flac
-rw-r--r-- 1 root root 4791487 Aug 4 2014 '02--Variation 1 a 1 Clav..flac'
-rw-r--r-- 1 root root 2936829 Aug 4 2014 '03--Variation 2 a 1 Clav..flac'
-rw-r--r-- 1 root root 5469987 Aug 4 2014 "04--Variation 3 a 1 Clav. Canone all'Unisono.flac"
-rw-r--r-- 1 root root 3577350 Aug 4 2014 '05--Variation 4 a 1 Clav..flac'
-rw-r--r-- 1 root root 2389620 Aug 4 2014 '06--Variation 5 a 1 ovvero 2 Clav..flac'
-rw-r--r-- 1 root root 2497101 Aug 4 2014 '07--Variation 6 a 1 Clav. Canone alla Seconda.flac'
-rw-r--r-- 1 root root 4244563 Aug 4 2014 '08--Variation 7 a 1 ovvero 2 Clav..flac'
-rw-r--r-- 1 root root 0 Aug 4 2014 '09--Variation 8 a 2 Clav..flac'
-rw-r--r-- 1 root root 3570390 Aug 4 2014 '10--Variation 9 a 1 Clav. Canone alla Terza.flac'
-rw-r--r-- 1 root root 4500537 Aug 4 2014 '11--Variation 10 a 1 Clav. Fughetta.flac'
-rw-r--r-- 1 root root 3426707 Aug 4 2014 '12--Variation 11 a 2 Clav..flac'
-rw-r--r-- 1 root root 6928268 Aug 4 2014 '13--Variation 12 a 1 Clav. Canone alla Quarta.flac'
-rw-r--r-- 1 root root 8674311 Aug 4 2014 '14--Variation 13 a 2 Clav..flac'
-rw-r--r-- 1 root root 4443087 Aug 4 2014 '15--Variation 14 a 2 Clav..flac'
-rw-r--r-- 1 root root 16100709 Aug 4 2014 '16--Variation 15 a 1 Clav. Canone alla Quinta.flac'
-rw-r--r-- 1 root root 7092665 Aug 4 2014 '17--Variation 16 a 1 Clav. Ouverture.flac'
-rw-r--r-- 1 root root 3296982 Aug 4 2014 '18--Variation 17 a 2 Clav..flac'
-rw-r--r-- 1 root root 3824575 Aug 4 2014 '19--Variation 18 a 1 Clav. Canone alla Sesta.flac'
-rw-r--r-- 1 root root 3322892 Aug 4 2014 '20--Variation 19 a 1 Clav..flac'
-rw-r--r-- 1 root root 3734560 Aug 4 2014 '21--Variation 20 a 2 Clav..flac'
-rw-r--r-- 1 root root 9098839 Aug 4 2014 '22--Variation 21 Canone alla Settima.flac'
-rw-r--r-- 1 root root 4410082 Aug 4 2014 '23--Variation 22 a 1 Clav. Alla breve.flac'
-rw-r--r-- 1 root root 3990467 Aug 4 2014 '24--Variation 23 a 2 Clav..flac'
-rw-r--r-- 1 root root 6005410 Aug 4 2014 "25--Variation 24 a 1 Clav. Canone all'Ottava.flac"
-rw-r--r-- 1 root root 16747785 Aug 4 2014 '26--Variation 25 a 2 Clav..flac'
-rw-r--r-- 1 root root 3775330 Aug 4 2014 '27--Variation 26 a 2 Clav..flac'
-rw-r--r-- 1 root root 5346269 Aug 4 2014 '28--Variation 27 a 2 Clav. Canone alla Nona.flac'
-rw-r--r-- 1 root root 3935363 Aug 4 2014 '29--Variation 28 a 2 Clav..flac'
-rw-r--r-- 1 root root 4579301 Aug 4 2014 '30--Variation 29 1 ovvero 2 Clav..flac'
-rw-r--r-- 1 root root 6083447 Aug 4 2014 '31--Variation 30 a 1 Clav. Quodlibet.flac'
-rw-r--r-- 1 root root 9914295 Aug 4 2014 '32--Aria da capo e fine.flac'
-rw-r--r-- 1 root root 157 Dec 16 2021 album.json
-rw-r--r-- 1 root root 113500 Dec 16 2021 cover.jpg
-rw-r--r-- 1 root root 22391 Dec 16 2021 cover-thumb.jpg
drwxr-xr-x 2 root root 32768 Mar 26 06:16 scans
pi@moode9:~ $