Configure external storage for saving and loading deluge settings

From WikiDLXTV
Revision as of 13:02, 12 March 2010 by Mimikino (Talk | contribs)

Jump to: navigation, search

Problem

There is problem that deluge client only save settings while device is plugged in. On next time then device is plug in you need to set up deluge again.

Solution

  1. Enable startup of deluge on you device
  2. Configure settings you want in deluge.
  3. Stop deluge daemon.
  4. Copy deluge settings folder from "/tmp/deluge" to you external storage folder, i.e, "-deluge". This path is always stored in variable DELUGECONFIG in scripts we need make.
  5. Create deluge modified start/stop script named "deluge.script", located in DELUGECONFIG, and type [this (follow link)] source code.
  6. Create script "S00custom-options", type [this (follow link)] source code, and place it in root folder of you external storage.
  7. Create script "power.down", type [this (follow link)] source code, and place it in root folder of you external storage.
  8. Ok, now you need set up variable DEVICEID in "S00custom-options". Value is a external storage id. To see it, type command "mount" in ssh on you device. You will see string like "/tmp/media/usb/USB1/8d29b444-7459-41c2-a12a-c2a97087aef4". And "8d29b444-7459-41c2-a12a-c2a97087aef4" - is id of you device.
  9. Set up DELUGECONFIG in "S00custom-options" with value you selected erlier.
  10. Disable startup of deluge on you device


Usage

Well, there is ways to using torrent on external storage:

Loading with torrent

  1. Plug off device
  2. Connect external storage
  3. Plug on device
  4. Wait about 1-2 mins, device will load and start deluge

For safe eject of external storage, push OFF button on remote. Script will close deluge and unmount filesystem.

Loading without torrent

  1. Plug off device
  2. Plug on device
  3. Wait for end of loading (you will see OSD main screen)
  4. Connect external storage