Kodi Community Forum

Full Version: SMB audio library is not scanned
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The audio library is not scanned via SMB finds only 6 performers (folders) the rest does not scan, I tried to clear the music database - it does not help.

Logs: https://drive.google.com/drive/folders/1...sp=sharing
the audio library is not scanned via SMB finds only 6 performers (folders) the rest does not scan, I tried to clear the music database - it does not help.
(2021-04-13, 22:34)KillerHT Wrote: [ -> ]I tried to clear the music database - it does not help.

Not sure what you mean exactly by "clear" the database, but the Clean Database operation is indeed likely not enough. Kodi still needs to be learned a few tricks there.
Make a backup copy of the current music database, and start with a totally new/empty music database.

Then in case of problems, provide a new debug log (wiki) file, preferably via our own paste service (retention = approx 60 days) instead of a Google account. IMO, Google doesn't need to know everything.
@KillerHT Please remove the three banned repositories from your setup.  You don't appear to have any addons installed from them, but even so. Then submit a clean fresh log.  Thanks.

In the meantime, the music info scanner generates an exception, presumably because it can't find a file.

2021-04-13 22:59:20.490 T:10972 ERROR <general>: Could not find 'smb://ultranas.local/music/7000$/7000$ - 2003 - [1CD11LiveTracks] ''31.10.03.'' (KDK Record Company C30357)/7000$ - [1CD11LiveTracks] ''31.10.03.''.flac' referenced in cue, case sensitivity issue?
2021-04-13 22:59:20.492 T:10972 DEBUG <general>: CSMBFile::Close closing fd 10000
2021-04-13 22:59:20.499 T:10972 ERROR <general>: MusicInfoScanner: Exception while scanning.
2021-04-13 22:59:20.500 T:10972 DEBUG <general>: Process - Finished scan
I found one of the problems: the folder had a $ symbol in its name, for example $ 7000, but the library is still not scanned completely - apparently there are still "problems" with the names of directories / files - when will this be fixed?
(2021-04-14, 13:40)KillerHT Wrote: [ -> ]for example $ 7000, but the library is still not scanned completely

2021-04-13 22:59:20.389 T:10972 DEBUG <general>: DoScan Skipping dir 'smb://ultranas.local/music/7000$/' due to no change

It was scanned but *NO* changes were observed.

Edit: ahum.. I forgot the word 'no' .
Perhaps too obvious, but do your music files have embedded metadata @KillerHT? Scanning to library requires tags or cuesheets.
(2021-04-14, 14:51)DaveBlake Wrote: [ -> ]Perhaps too obvious, but do your music files have embedded metadata @KillerHT? Scanning to library requires tags or cuesheets.
Of course, there is metadata in audio files, and cue if needed, but it's not about the fact that some files are not added to the library, but the scanning process stops altogether! In the music section, I have 176 artist folders, and kodi scans only 10-20 pieces and is interrupted ..
I think the problem is that my library folders that Kodi scans are torrent distributions in transmission which has a feature - for some reason it downloads files even those that are not marked for download (this is its feature / problem) - it applies the extension to large files .part but to .cue is not because it is too small and it turns out that there are .cue files that refer to empty (not downloaded) files .. I cannot change transmission because it is on the NAS server.

The problem could be solved if it was possible to specify Kodi exceptions for certain file extensions (.cue) - but I did not find one like this, it seems there is no such functionality?