Jump to content

http command for "spin up"?


Recommended Posts

Is there a way to initiate "spin up" through an http command over the network?

 

I am using a pseudotv addon in xbmc that creates a fake cable tv interface full of fake channels that can be fully customized. But when switching channels, I get a long pause due to disks spinning up. I was wondering if there is an http command to spin up all drives, so I can set xbmc to send it before launching pseudotv.

 

I am on 4.7

 

Thanks

 

PS. I saw Joe L.'s script titled spinup_when_accessed.sh. Although it is really cool, I'd rather not have them spin up every time xbmc is running. It would be greener to limit it to only during pseudotv addon use.

Link to comment

I don't know one way or another whether or not an http command could work, but why not just issue a normal read command over smtp or nfs, whichever you use? You could just echo the contents of a small text file on the drive in question or something like that in the startup script for your program.

Link to comment

I don't know one way or another whether or not an http command could work, but why not just issue a normal read command over smtp or nfs, whichever you use? You could just echo the contents of a small text file on the drive in question or something like that in the startup script for your program.

yes, you can use http commands, the exact same ones the web-management page uses when you press the Spinup button.

 

See here: http://lime-technology.com/forum/index.php?topic=13019.msg123528#msg123528

 

On older versions of unRAID, this worked too... 

http://lime-technology.com/forum/index.php?topic=1421.msg9629#msg9629

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...