Kodi Community Forum

Full Version: Mount external drives only when using Kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way to do this
I don't need my drives running and making noise when they're not being used
I don't know of an easy way to do this. OS X is just kind of an a-hole about accessing drives when it doesn't need to.
Jumbo - My Kodi setup doesn't access my networked connected drives when it doesn't need to. I've connected my WD MyBook to my Router and setup my movie library through Kodi connecting using SMB. It only connects when updating the library with new media, fan art, or playing. Not sure of your setup.

I use a Mac Mini with OSX 10.10 (Yosemite).

Thanks
I believe he's talking about locally connected drives, such as USB.
Im using usb drives. my router is old and doesn't have usb support. I don't wanna spend $$$ on a new router
If i got a USB adapter it would work but the drives would be on all the time.
It shouldn't be hard as long as you intend to quit and relaunch Kodi when you say 'using Kodi'. It would just involve writing a script in whatever you want and in it, issue commands to mount and unmount drives as required. You can execute scripts using the Kodi addon to launch user scripts.
(2015-06-03, 06:03)activate Wrote: [ -> ]It would just involve writing a script in whatever you want and in it, issue commands to mount and unmount drives as required. You can execute scripts using the Kodi addon to launch user scripts.
On my system (Mac Mini (late 2012), OS X 10.10.3) the external drives spin up again after being unmounted for a while. At least the FireWire drives, do.
(2015-06-03, 11:08)Brian OBlivion Wrote: [ -> ]
(2015-06-03, 06:03)activate Wrote: [ -> ]It would just involve writing a script in whatever you want and in it, issue commands to mount and unmount drives as required. You can execute scripts using the Kodi addon to launch user scripts.
On my system (Mac Mini (late 2012), OS X 10.10.3) the external drives spin up again after being unmounted for a while. At least the FireWire drives, do.

Maybe the disk manager software for the external drive can help with sleeping.
You could use the app mountain, it has some more controls, with an interface and some nice settings depending on the mounted share.

see
http://appgineers.de/mountain
I solved this problem with a small AppleScript on my MacMini and replaced my Kodi Icon with it.