EM7075 Scripting

From Eminent Opensource

Jump to: navigation, search

Contents

Scripts information

The EM7075 uses several script calls in DMAOSD.

nzbscript.sh 
btscript.sh
bt_pause_script.sh 
bt_resume_script.sh
/opt/init/nzbget.sh
/opt/init/transmission.sh
/opt/init/unpack.sh

nzbscript.sh

Is called before starting nzbget
Sets up swap (needed for smooth operations, especially unpacking..)
Sets up /tmp/hddinfo with mount path of USB media.
Starts /opt/init/nzbget.sh $1 &

btscript.sh

Is called before starting Transmission / web server
Does not set up swap. (not needed, Transmission is not memory-hungry)
Sets up /tmp/hddinfo with mount path of USB media.
Starts /opt/init/nzbget.sh $1 &


bt_pause_script.sh and bt_resume_script.sh

These handle the pause/resume of Transmission during the playback of movies.
Transmission can eat up a lot of resources. So we send it a pause command when playing video.
We could consider pausing NZBget as well but it is not needed.)

Personal tools