Solved Skipping first song when music via NFS on sleeping NAS
#1
This change in v19 (from alpha1) just caught me out and so posting this to guide others.
Symptom: music files stored on a NAS drive and access via NFS, you could notice that when you go to play an album when the NAS is sleeping then the first song gets skipped and playback starts with the second song.

Checking the log you see something like
INFO <general>: CNFSFile::Open: Unable to open file : 'XXX.flac' error : 'open call failed with "Command timed out"'

Basically the NFS access is timing out.

Up until v19, NFS access was wait forever but this sometimes causes UI deadlocks. Hence this was changed to a 5s wait, and a property added to advancedsettings.xml to allow the user to configure it. See https://github.com/xbmc/xbmc/pull/15686. On my system 5s is way too short, hence I have restored the previous wait forever with the following entry in advancedsettings.xml
 
Code:
<network>
    <nfstimeout>0</nfstimeout>
</network>
Reply

Logout Mark Read Team Forum Stats Members Help
Skipping first song when music via NFS on sleeping NAS0