XBMCbuntu boots too fast. - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: XBMCbuntu boots too fast. (/showthread.php?tid=124428)
Pages: 1 2
XBMCbuntu boots too fast. - joolz - 2012-03-02 13:46
I boot xbmcbuntu from an Intel 520 SSD drive. I mount my movies using nfs from a NAS.
The problem is, about half the time i boot up the library is not re-scaned. I think its beacuse my network and/or nfs mounts is not ready yet. If i do a manual "scan for new content" it works fine.
Question, is there any way to somehow delay the start of xbmc or delay the scan?
- Wozza_au - 2012-03-02 13:49
joolz Wrote:Hi,Maybe this?
- joethefox - 2012-03-02 16:18
and if can help to speed up nfs mounts, disable any DNS lookups in the nfs server, for example putting the ipaddress of the clients into the /etc/hosts of the nfs server (there are several and much more elegant ways, I think this is the fastest)
- tpunder - 2012-03-02 19:31
I had this exact problem with my network not coming up by the time XBMC loaded. I fixed it by editing /etc/network/interfaces and added this:
Tweak the interface name based on your hardware...
That made the startup scripts wait for the network to come up before it loaded XBMC.
Hope that helps!
- joolz - 2012-03-06 11:27
Thanks for the suggestions. Tried both static network configuration and disabling dns lookups on the nfs server. Still no go.
I'm wondering where the best place is to put a sleep statement. /usr/bin/runXBMC is not used in xbmcbuntu. I tired putting it in /usr/bin/startxbmcbuntu but it had no effect.
- vikjon0 - 2012-03-06 12:22
Good question. I cant find the start script for the xbmc session on github right now but it is not startxbmcbuntu. Thats script start the openbox based xbmcbuntu session, not XBMC.
You could put a timeout in lightdm.conf ( I guess) as a workaround until you find the right script.
- vikjon0 - 2012-03-06 12:41
/usr/bin/xbmc-standalone it looks like.. part of xbmc not XBMCbuntu. Called from XBMC.desktop?
- .:B:. - 2012-03-09 14:36
Why not mount the NFS shares inside Xbmc? Eden has support for that. Maybe that solves your problem if you have them in fstab now.
RE: XBMCbuntu boots too fast. - TugboatBill - 2012-04-25 05:32
I'm running the release xbmcbuntu and the script I put my delay in is /usr/bin/xbmc. I confirmed that it is running and the delay I added ensured the nfs mount was complete before XBMC started.
RE: XBMCbuntu boots too fast. - JaccoH - 2012-04-25 12:33
Adding delays is ugly in my opinion. Either use the NFS support in XBMC or use automount.