Posts: 40
Joined: May 2018
Reputation:
0
sitush
Junior Member
Posts: 40
I've searched high and low for a solution but am getting frustrated now. Using 17.6 and Windows 10, I have set up a music source in Kodi that points to a NAS shared folder. Kodi scans that folder and produces a list of the artist folders on the NAS and sublists for each album within the artist folders. But if I click on any album, the content is blank - just a ".."
Clearly, Kodi is scanning the file system but not picking up the tags. However, the music most definitely is tagged and I used MusicBrainz Picard to do that job. The Kodi music settings are at their default.
Any ideas? I think I must be doing something obvious wrong but as far as I can tell I have followed the manual procedures and, as I said, I'm not finding any help in general web searches or past posts here. Thanks.
Posts: 40
Joined: May 2018
Reputation:
0
sitush
Junior Member
Posts: 40
Hi, I am trying to create the library using the steps that you refer to in the wiki. It shows a scan progress bar at top right and does appear to cycle through the folders. I've even removed the Kodi music library source and added from scratch in case there was some sort of corruption but the same problem occurred.
I'll try again shortly and enable logging etc as requested above.
Posts: 4,545
Joined: Jun 2015
Reputation:
269
Yes, a log may be helpful because this does seem very unusual.
What format are your music files - mp3, Flac etc.?
Can you see the music files from file view?
Posts: 40
Joined: May 2018
Reputation:
0
sitush
Junior Member
Posts: 40
Just hang on, folks. After uploading the log file, I turned off logging, deleted the music source and tried yet again to set it up from scratch. This time the scan seems to be taking ages compared to previous attempts. I have used exactly the same method as previous but let's just see what happens - no point wasting your time on this if it does resolve.
Posts: 4,545
Joined: Jun 2015
Reputation:
269
Could be some kind of access or permissions issue on the NAS. The log, took a quick look, just shows it check one folder and say it has not changed so no (re-)scan happened. Or maybe the NAS was sleeping and for some reason did not wake?
Let us know if you get a music library this time.
Posts: 40
Joined: May 2018
Reputation:
0
sitush
Junior Member
Posts: 40
It still failed. The NAS is definitely not sleeping, which I suspect is kind of confirmed by the fact that I get the Artist and Album levels.
Posts: 4,545
Joined: Jun 2015
Reputation:
269
When you say you get artist and album levels, I think you mean that you are looking at your folders in file view. To confirm this change an artist or album folder name on the NAS drive (from Windows). What you see is the new name? Kodi music library does not care what you call folders, it uses the tags to identify artists, and albums etc. not folder names.
If file view can not see the music files, scanning to a library isn't going to work. It will cycle through the folders (it can see) looking for music files to read tags from and build the library, but the result will be empty. Next time you do a scan to library it just checks the folders and finds them unchanged so does nothing.
So the question is why can't Kodi see your music files, when it can see your folders? That is a new one on me. Please check the file permissions.
The only other thing I know is that folders with names starting with "." are taken as system folders and ignored. But you can't possibly have every music file in a folder beneath an album folder named starting with ".", can you?
If you can't see anything odd about file permissions, then remove the source one more time, turn on debugging, and add the source again. Paste that log, and I'll see if I can spot anything.
Posts: 4,545
Joined: Jun 2015
Reputation:
269
My other suggestion would be use NFS not Samba. I don't understand the details, but I know that SMB can be trouble.
Posts: 10,533
Joined: Oct 2011
Reputation:
640
jjd-uk
Team-Kodi Member
Posts: 10,533
Can you access both the folder and files via Windows Explorer?
Posts: 40
Joined: May 2018
Reputation:
0
sitush
Junior Member
Posts: 40
I am wondering whether this is some sort of tagging problem. If I open Groove Music on the Kodi machine and add the shared NAS folder then that too does not pick up the tracks; however, if I open the shared folder using Windows Explorer on the Kodi machine and double-click on a track, it opens Groove Music (the default app) and plays just fine.