08-01-2022, 02:29 AM
@Tim Curtis
FYI, I tried a slightly different test.
Test artifact: moOde 8.1.2 with SMB NAS share "OMV-Music"
1. update library ( m > Update library)
2. Add a new album to the NAS: OMV-Music/rips/A Change of Pace/Prepare the Masses/ containing 10 tracks (no judgment, please---this came as a test from elsewhere)
3. In the Library/Folder view, drill down to the rips folder and "Update this folder"
Like you, I see only the 10 new tracks in this folder being added in the mpd log, implying that only the chosen folder is being scanned, but additionally
thumb-gen seems to have scanned all sources. (It added just the one new album thumb as expected.) Scanning the OP's 5500+ folders and 100+K tracks could be "expensive."
The mpdindex counts in my second update might seem wacky but actually make sense. The additional album contained 10 tracks and it turns out their metadata collectively comprise 8 album names and 8 artists. (Like I said, it came from elsewhere for testing.) Seems like the operation itself wouldn't be "expensive", even for a large library, since it's just asking mpd for its current stats.
Or not?
Regards,
Kent
FYI, I tried a slightly different test.
Test artifact: moOde 8.1.2 with SMB NAS share "OMV-Music"
1. update library ( m > Update library)
Code:
20220731 194844 worker: Job update_library
20220731 194844 mpdindex: Start
20220731 194844 thumb-gen: Start
20220731 194844 thumb-gen: Priority: Embedded cover
20220731 194844 thumb-gen: Res,Qual: Auto
20220731 194844 thumb-gen: Px ratio: 1
20220731 194844 thumb-gen: Th width: 100
20220731 194844 thumb-gen: Thm qual: 75
20220731 194844 thumb-gen: Scanning: NAS, SDCARD
20220731 194905 thumb-gen: Done: 526 folders scanned, 0 thumbs created, 526 already in cache.
20220731 194927 mpdindex: Done: indexed 726 artists, 518 albums, 5871 songs
20220731 194927 worker: Job update_library done
2. Add a new album to the NAS: OMV-Music/rips/A Change of Pace/Prepare the Masses/ containing 10 tracks (no judgment, please---this came as a test from elsewhere)
3. In the Library/Folder view, drill down to the rips folder and "Update this folder"
Like you, I see only the 10 new tracks in this folder being added in the mpd log, implying that only the chosen folder is being scanned, but additionally
Code:
20220731 210524 worker: Job update_library
20220731 210524 mpdindex: Start
20220731 210525 thumb-gen: Start
20220731 210525 thumb-gen: Priority: Embedded cover
20220731 210525 thumb-gen: Res,Qual: Auto
20220731 210525 thumb-gen: Px ratio: 1
20220731 210525 thumb-gen: Th width: 100
20220731 210525 thumb-gen: Thm qual: 75
20220731 210525 thumb-gen: Scanning: NAS, SDCARD
20220731 210549 thumb-gen: Done: 527 folders scanned, 1 thumbs created, 526 already in cache.
20220731 210614 mpdindex: Done: indexed 734 artists, 526 albums, 5881 songs
20220731 210614 worker: Job update_library done
thumb-gen seems to have scanned all sources. (It added just the one new album thumb as expected.) Scanning the OP's 5500+ folders and 100+K tracks could be "expensive."
The mpdindex counts in my second update might seem wacky but actually make sense. The additional album contained 10 tracks and it turns out their metadata collectively comprise 8 album names and 8 artists. (Like I said, it came from elsewhere for testing.) Seems like the operation itself wouldn't be "expensive", even for a large library, since it's just asking mpd for its current stats.
Or not?
Regards,
Kent