call torrentexpander

Discussion of Transmission that doesn't fit in the other categories
Post Reply
ZaPHoN
Posts: 9
Joined: Sun Aug 19, 2012 5:54 pm

call torrentexpander

Post by ZaPHoN »

Could someone tell mow how to get torrentexpander working with transmission-daemon? It works fine with the transmission front end but not with transmission-daemon. When it does work torrentexpander tries to extract and move as soon as the any files within the torrent is downloaded by transmission.

I've tried the following on /etc/transmission-daemon/settings.json

"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/home/mario/.transmissionscripts/torrentexpander.sh $TR_TORRENT_DIR/$TR_TORRENT_NAME"

and

"script-torrent-done-filename": "/home/mario/.transmissionscripts/torrentexpander.sh"


********************************

transmission-daemon variables in "/etc/transmission-daemon/settings.json"
{
"alt-speed-down": 400,
"alt-speed-enabled": false,
"alt-speed-time-begin": 1380,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": true,
"alt-speed-time-end": 480,
"alt-speed-up": 60,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"blocklist-url": "http://list.iblocklist.com/?list=bt_lev ... eformat=gz",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/home/mario/Transmission/Complete",
"download-limit": 100,
"download-limit-enabled": 0,
"download-queue-enabled": true,
"download-queue-size": 1,
"encryption": 2,
"idle-seeding-limit": 1,
"idle-seeding-limit-enabled": true,
"incomplete-dir": "/home/mario/Transmission/Incoming",
"incomplete-dir-enabled": true,
"lpd-enabled": false,
"max-peers-global": 200,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 34100,
"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": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 1,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "{4f2d10223d6ab3bf68257cabca5721f4b249f2c0dKVY2J9/",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "admin",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": true,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/home/mario/.transmissionscripts/torrentexpander.sh $TR_TORRENT_DIR/$TR_TORRENT_NAME"
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 900,
"speed-limit-down-enabled": true,
"speed-limit-up": 160,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": true,
"umask": 18,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"utp-enabled": true,
"watch-dir": "/home/mario/torrentwatch",
"watch-dir-enabled": true
}
********************************
Torrentexpander variables set in torrentexpander_settings.ini located at "/home/mario/.transmissionscripts/torrentexpander.sh" :

unrar_bin=/usr/bin/unrar
unzip_bin=/usr/bin/unzip
wget_curl=/usr/bin/wget
ccd2iso_bin=incorrect_or_not_set
text_editor_bin=/bin/nano
mkvdts2ac3_bin=incorrect_or_not_set
torrent_daemon_bin=/usr/bin/transmission-remote
all_files_script=incorrect_or_not_set
processed_torrent_script=incorrect_or_not_set
post_run_script=incorrect_or_not_set
destination_folder=/home/mario/Transmission/Extract/
tv_shows_post_path=/home/mario/TV/
movies_post_path=/home/mario/Movies/
music_post_path=no
third_party_log=no
destructive_mode=yes
user_defined_other_movies_patterns=
user_defined_scene_patterns=
tv_shows_fix_numbering=yes
clean_up_filenames=yes
movies_rename_schema=type_1
subtitles_handling=no
repack_handling=no
wii_post=no
img_post=no
tv_shows_post=move
tv_shows_post_path_mode=s
movies_post=move
force_single_file_movies_folder=no
music_post=no
imdb_poster=no
imdb_poster_format=normal
imdb_nfo=no
imdb_fanart=no
imdb_fanart_format=w1280
disable_nmj_scan=no
dts_post=no
user_perm_post=no
group_perm_post=no
files_perm_post=no
folder_perm_post=no
edit_perm_as_sudo=no
reset_timestamp=no
supported_extensions=avi,mkv,divx,mp4,ts,iso,img,mp3,m4a,wav,srt,idx,sub,dvd
tv_show_extensions=avi,mkv,divx,mp4,srt,idx,sub
movies_extensions=avi,mkv,divx,mp4,ts,iso,img,srt,idx,sub
music_extensions=mp3,m4a,wav,flac
debug_mode=no
auto_update_script=no
remove_torrent_from_client=yes
torrent_daemon_login=admin
torrent_daemon_password=1ZaPHoN[
torrent_daemon_port=9091
all_files_script_enabled=no
all_files_script_variable_1=
all_files_script_variable_2=
all_files_script_variable_3=
all_files_script_variable_4=
all_files_script_variable_5=
processed_torrent_script_enabled=no
processed_torrent_script_variable_1=
processed_torrent_script_variable_2=
processed_torrent_script_variable_3=
processed_torrent_script_variable_4=
processed_torrent_script_variable_5=
post_run_script_enabled=no


*******************************



transmission-daemon 2.60-0ubuntu0.11.10.1
Post Reply