(07-14-2020, 01:59 PM)arick Wrote: ... The new library update process never ends, It stayed active for several weeks
Something is out of whack here.
What do your moOde and MPD logs say?
Let's work the numbers based on data from one of my players.
moOde 6.6.0 on an RPi4B, Hi-band (5GHz) WiFi connection to AP, then Ethernet connection to OpenMediaVault NAS running on a modest SBC (Odroid HC1) and SSD disk storage.
Here's what happens when I update the library
Code:
20200714 101255 worker: Job update_library
20200714 101255 thmcache: Start
20200714 101255 thmcache: Scanning: NAS, SDCARD, UPNP, MUSIC
20200714 101635 thmcache: Done: 635 album dirs processed
20200714 102504 worker: Job update_library done
That's 12+ minutes to update 6980 tracks in 635 album directories. Note that only the thmcache process writes to the moOde log. MPD is configured to write to its own log.
Let's assume we're talking the same number of tracks per album on average since they are the basis of MPD's scan. A straightline extrapolation to 30 000 albums would project the update will take about 10 hours. This is nowhere near several days or weeks.
On your player does thmcache report to the moOde log that it is done? Have you tried tracking progress in the MPD log?
From the command line you can execute the following
Code:
tail -f /var/log/mpd/log
You should see a progression of one or more lines per track, similar to these, until the update process is done
Code:
Jul 14 10:24 : update: added NAS/OMV-Music/Classical/London Symphony Orchestra, Andre Previn/G. Gershwin- Rhapsody In Blue - An American In Paris - Concerto in F/04 London Symphony Orchestra, Andre Previn - George Gershwin - Piano Concerto In F - II. Andante con moto.flac
Jul 14 10:24 : update: added NAS/OMV-Music/Classical/London Symphony Orchestra, Andre Previn/G. Gershwin- Rhapsody In Blue - An American In Paris - Concerto in F/02 London Symphony Orchestra, Andre Previn - George Gershwin - An American In Paris.flac
Jul 14 10:25 : update: added NAS/OMV-Music/Classical/London Symphony Orchestra, Andre Previn/G. Gershwin- Rhapsody In Blue - An American In Paris - Concerto in F/01 London Symphony Orchestra, Andre Previn - George Gershwin - Rhapsody In Blue.flac
^C
In this case the listing stopped because the update is complete but you'll have to CTRL-C to end the "tail -f" process whether the update is complete or not.
What model RPi are you using?
Regards,
Kent