Posts: 42
Joined: Oct 2008
Reputation:
0
joolz
Junior Member
Posts: 42
Hi,
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?
Posts: 1,832
Joined: Nov 2010
Reputation:
58
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)
Posts: 42
Joined: Oct 2008
Reputation:
0
joolz
Junior Member
Posts: 42
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.
Posts: 2,529
Joined: Apr 2009
Reputation:
8
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.
Posts: 2,529
Joined: Apr 2009
Reputation:
8
/usr/bin/xbmc-standalone it looks like.. part of xbmc not XBMCbuntu. Called from XBMC.desktop?
Posts: 542
Joined: Mar 2010
Reputation:
1
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.
* MikroTik RB5009UG+S+IN :: ZyXEL GS1900-8HP v1 :: EAP615-Wall v1 :: Netgear GS108T v3 running OpenWrt 23.05
* LibreELEC 11:
HTPC Gigabyte Brix GB-BXA8-5545 with
CEC adapter, Sony XR-64A84K ::
Desktop AMD Ryzen 7 5800X / Sapphire Nitro+ Radeon 6700XT / 27" Dell U2717D QHD
* Debian Bookworm x86_64: Celeron G1610, NFS/MariaDB/ZFS server
*
Blog
Posts: 825
Joined: Oct 2009
Reputation:
7
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.
Posts: 103
Joined: May 2009
Reputation:
0
JaccoH
Senior Member
Posts: 103
Adding delays is ugly in my opinion. Either use the NFS support in XBMC or use automount.
Posts: 20
Joined: Apr 2009
Reputation:
0
I'm mounting my NFS-shares in fstab, and I had some issues where the shares took a while to mount and were not ready when scanning. Adding nfsvers=3 in fstab solved it. Fstab then looked like this:
Path:/to/share /mount/point nfs nfsvers=3,defaults 0 0