Posts: 13
Joined: Jun 2015
Reputation:
0
I'm having a weird problem. Every now and then Kodi can't access my network shares. It normally happens when I've rebooted my PC where the shares live. The shares are running over an NFS server on Windows 7 (Hanewin) but Kodi also can't see the shares over SMB. It's like Kodi isn't on the network.
I'm running Plexbmc as an add on to Kodi on the same Pi which can see and play the files no problem, so it's obviously a problem unique to Kodi.
Any idea what's going on?
Posts: 13
Joined: Jun 2015
Reputation:
0
Any ideas? This line in the debug log seems to be relevant - 09:58:44 T:1774146624 WARNING: Process directory 'nfs://192.168.1.5/media/Movies/' does not exist - skipping scan.
A reboot of my router and/or a reboot of the NFS server normally seems to bring the NFS share back.
Posts: 542
Joined: May 2013
Reputation:
4
I've also experienced the 'invisible Windows shares' - it has never been as good as when I was using XP on my main PC (PC died). Got worse with Win7 and same with Win8/8.1.
I suspect, but don't know how to verify it, that your nfs problem is Windows handling of file handles established by the RPi - when the PC is rebooted it disdains any reference to an old handle, and the RPi end doesn't try to re-establish the link.
Note: this my personal feeling, with no evidence except experience.
Posts: 714
Joined: Mar 2015
Reputation:
17
I had this problem. There is a registry setting somewhere that fixed it for me. I will have a look for it, but you may be able to find it yourself with this information.
Posts: 542
Joined: May 2013
Reputation:
4
Thanks for the link.
I don't think the registry edit is apposite, as here the PC is getting rebooted, not acting as a 24/7 fileserver.
I think that Windows shares not being visible may be due to differences in the SMB implementation - linux implementation having changed, and may not be paralleling what Windows does now.