Library

Hi,
I connected my Raspberry Pi with Volumio to a NAS with approximately 12000 tracks, but even after rescanning it shows about 7700 tracks. if I make changes. like adding a CD, and rescan, the amount changes, but it never shows the real amount of tracks. How can I troubleshoot?