Posts: 12
Joined: Sep 2013
Reputation:
0
2013-09-03, 07:24
(This post was last modified: 2013-09-03, 07:25 by minoccio.)
Hi, I have a shared Mysql library on a Qnap Nas and two AppleTV2 , a Raspberry Pi and an Android Xbmc. My problem is that my Nas is not accessible 24h, and when it is powered-off, Xbmc hang on and doesn't start. My question is: Is there some configuration to maintain actual Nas Mysql library but that permits to start xbmc also with Nas off ?
Thank You
Posts: 304
Joined: Sep 2012
Reputation:
9
If your NAS can be woken up with "Wake On LAN", then there is an add-on available to send a WOL packet to the NAS when you load XBMC.
Posts: 12
Joined: Sep 2013
Reputation:
0
Is there some command to put in the advancesettings.xml?
Posts: 31,445
Joined: Jan 2011
2013-09-06, 06:28
(This post was last modified: 2013-09-06, 06:30 by Ned Scott.)
Use a nightly (wiki) or monthly (wiki) build and do this: http://wiki.xbmc.org/index.php?title=Auto_wake_on_lan
EDIT: just saw you said your NAS doesn't have wake on lan. Are you sure about that? Besides, how are you going to use the library if the NAS is off? I assume your movies are on there too..
Posts: 12
Joined: Sep 2013
Reputation:
0
Yes, I am sure that my nas doesn't have the Wake-On-Lan feature. And yes, you are right, most movies are on NAS, but sometimes my wife and daughter need to use XBMC with internal storage or with some streaming plugin....
Posts: 31,445
Joined: Jan 2011
I looked it up, and it might not even be worth turning it off, considering how power efficient that unit is:
Even if you left it on sleep more for an entire year, that's about the cost of a hamburger.
Posts: 12
Joined: Sep 2013
Reputation:
0
You're right regards costs. I only wish to leave NAS powered off because I don't need it sometime for 6-7 days and I think to preserve hard disk doing this way...
Posts: 31,445
Joined: Jan 2011
The TS-110 sleep mode should spin the HDD down, so the platters won't even be moving.
It's a very nice QNAP model. I would trust it to stay on all the time :)
but to each their own.
Posts: 12
Joined: Sep 2013
Reputation:
0
Tested with profiles, creating a profile with an advancesettings.xml that doesn't include MySQL address, but I didn't resolve the issue. If the NAS is on, I can choose the profile without shared libraries; if the NAS is off, XBMC hangs on startup screen with xbmc logo, before the screen with profile chosing...
Posts: 31,445
Joined: Jan 2011
Master profile needs to be the non-MySQL profile, because it will be loaded by default when you see the log-in screen. The MySQL profile should be a secondary profile. That's how I used to set up my laptop.
Posts: 12
Joined: Sep 2013
Reputation:
0
2013-09-10, 16:36
(This post was last modified: 2013-09-10, 17:10 by minoccio.)
OK, finally it works Thank you Ned !!!
Posts: 31,445
Joined: Jan 2011