Skip to content

Instantly share code, notes, and snippets.

@yyolk
Last active March 8, 2017 07:05
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yyolk/4747010 to your computer and use it in GitHub Desktop.
Save yyolk/4747010 to your computer and use it in GitHub Desktop.
transmission settings.json on openele
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 2,
"dht-enabled": true,
"download-dir": "/var/media/orng/dl/",
"download-queue-enabled": true,
"download-queue-size": 1,
"encryption": 2,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/var/media/orng/dl//incoming",
"incomplete-dir-enabled": true,
"lpd-enabled": false,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-limit-global": 100,
"peer-limit-per-torrent": 20,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 0,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 0,
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{43041796ac49801e85577ba94a0e4ee5642d53a6soamZcAy",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "",
"rpc-whitelist": "127.0.0.1, 192.168.1.*",
"rpc-whitelist-enabled": true,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-slots-per-torrent": 14,
"utp-enabled": true,
"watch-dir": "/var/media/orng/dl//watch",
"watch-dir-enabled": true
}

OK! THIS IS HOW TO DO IT.

3 things to think about.

/storage/.cache/transmission/settings.json and /storage/.xbmc/addons/service.downloadmanager.transmission/bin/transmission.start and /storage/.xbmc/addons/service.downloadmanager.transmission/bin/transmission.stop

  1. Stop transmission with "./transmission.stop" when in /storage/.xbmc/addons/service.downloadmanager.transmission/bin/

  2. When Transmission starts, it uses the transmission.start script, where there are some settings set. No matter if you change the download-dir or incomplete dir in the settings.json, the startup script will overwrite it.

  3. I wanted to disable the incomplete-dir, and I had to put a # infront the line TRANSMISSION_ARG="$TRANSMISSION_ARG --incomplete-dir "$TRANSMISSION_DL_DIR/incoming"" in the startup script.

  4. In the /storage/.cache/transmission/settings.json I then put "false" on the option to use a incomplete dir.

  5. I then started Transmission with the "./transmission.start" when in /storage/.xbmc/addons/service.downloadmanager.transmission/bin/

No more then this is needed. I guess you need to do the same things for some other settings.

/Söder

from http://openelec.tv/forum/78-transmission-bt-client/10992-transmission-settings-not-saved?start=42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment