Solved: How to raise the waiting time until file access is possible?
|
14th Jul, 2016, 09:47 PM
Post: #1
|
|||
|
|||
How to raise the waiting time until file access is possible?
Hi guys,
There is a thing bothering me now for over a year and finally, I had to ask you for help. How can I raise the period of time-out, when accessing a file? I have a Synology NAS, which goes into deep-sleep, when not needed. Now, when I try to start a move or anything, while it is "sleeping", the waiting/wake-up period often is too long, so Kodi thinks the file is not there (anymore). In other words the time-out period of Kodi's accessing of files needs to be raised. In the meantime the Synology is awake and when I click/ start that movie again, it works as usual and plays it. Thank you in advance, guys. |
|||
14th Jul, 2016, 10:07 PM
(This post was last modified: 14th Jul, 2016 10:08 PM by Nachteule.)
Post: #2
|
|||
|
|||
RE: How to raise the waiting time until file access is possible?
Two questions:
1) how long is long? 2) how does Kodi access those files on NAS? (permanently mounted share, SAMBA, NFS, mount NAS by autofs, user defined NFS/SAMBA or whatever source within Kodi) I do not have a Synology NAS or similar, I'm using self made NAS and my library disks are usually always in sleep mode. But never had any issues accessing files. I'm using autofs for mounting shares (SAMBA and/or NFS, does not make difference). If disk has to spin up, it takes about 10s longer to start video, but starts always. 3) Did you already looked into Kodi's log file? |
|||
14th Jul, 2016, 10:13 PM
Post: #3
|
|||
|
|||
RE: How to raise the waiting time until file access is possible? | |||
14th Jul, 2016, 11:32 PM
Post: #4
|
|||
|
|||
RE: How to raise the waiting time until file access is possible?
Alright, I checked it out shortly: I am using Samba
sources and I have an advancedsettings.xml, of course, but I do not know the exact code/command to insert it there. The thread was mentioning something like that, but not specifically what to use/do. I then checked the expert settings of Kodi, but there is no setting for this either. I do not know exactly, what "long" is, but I guess it is something about 10 seconds and 15 seconds might be better or maybe it is 15 and 20 would be better. I am not sure right now. |
|||
15th Jul, 2016, 02:40 AM
Post: #5
|
|||
|
|||
RE: How to raise the waiting time until file access is possible?
Seems you did not search a lot
Look here for a complete documentation of advancedsettings.xml. You do not have to scroll a lot, important settings for your issue should be displayed immediately HTH |
|||
15th Jul, 2016, 03:09 AM
Post: #6
|
|||
|
|||
RE: How to raise the waiting time until file access is possible?
Oh, man, thanks a lot. That site was just huge and
I totally stayed in the first advancedsettings.xml describing area. I will try now <samba> <clienttimeout>10</clienttimeout> </samba> and see, if that brings the solution. |
|||
15th Jul, 2016, 03:14 AM
(This post was last modified: 15th Jul, 2016 03:15 AM by Nachteule.)
Post: #7
|
|||
|
|||
RE: How to raise the waiting time until file access is possible?
Don't forget to restart Kodi
Maybe 10s is too short, I would set it to 30 |
|||
15th Jul, 2016, 09:33 PM
Post: #8
|
|||
|
|||
RE: How to raise the waiting time until file access is possible?
Yeah, I set it to 30 and did a restart.
I read in that article, that changes in this file are not on-the-fly. |
|||
16th Jul, 2016, 08:59 AM
Post: #9
|
|||
|
|||
RE: How to raise the waiting time until file access is possible?
Alright, that worked good, I think.
|
|||
« Next Oldest | Next Newest »
|