Transmission config file location/path

Status
Not open for further replies.

Brad1961

Dabbler
Joined
Mar 10, 2016
Messages
17
Disclaimer I know I am a total Noob

What is the correct command to enter transmission 2.90 config file
I'm using freenas 9.3 stable and I use nano for my editor my editor
all I want to do is change the call script when torrent done from "false" to "true"

enter transmission config.PNG


and the result is

result.PNG


thanks in advance
 

Attachments

  • enter transmission config.PNG
    enter transmission config.PNG
    5 KB · Views: 551
  • result.PNG
    result.PNG
    8.8 KB · Views: 486
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
the command would be the below
Code:
nano /var/db/transmission/settings.json


But, you shouldn't be editing that setting in the config. If you make the value for "Script Torrent Done" blank the plugin has some logic to change 'script-torrent-done-enabled' to 'false'.
 

Brad1961

Dabbler
Joined
Mar 10, 2016
Messages
17
Ok Thanks Joshua

Then I think I may have buggered what I am trying to achieve rite up.

I was following the wiki for torrent to media script by Clinton Hall (Thanks heeps for the work he and his friends have put in there) https://github.com/clinton-hall/nzbToMedia/wiki/transmission
my understanding was to download his script edit the parameters to suit your individual needs and save that script to a convenient location and have transmission point to said location
I have chosen to save the script to my scripts folder on windows CIFS share

Then i was to edit the settings.json to the below.

"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/usr/local/nzbToMedia/TorrentToMedia.py",

However in my case it would be the absolute path for the location of my script

I'm very new to freenas and any king of scripting but generally find enough help from other posts on the nett to bumble my way through.

This being the last step in total automation of my freenas media thing

Am I on the write track???????????
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
yup, you can follow what he outlines, just instead of editing the settings.json add the script location to FreeNAS WebUI (Left Panel) > Plugins > Transmission

I have a fully automated setup using the nzbToMedia scripts as well. I documented it at my blog which you can find by google searching "jruehlig freenas"
 

Brad1961

Dabbler
Joined
Mar 10, 2016
Messages
17
Hmmmmmm
seems that transmission is not running the script for some reason.


Does the nzbToMedia scripts need to be made executable????? If so, how would one go about that.

should the first line of the script have a shebang thing ????? "#! bin/sh"

Or could it be a permissions issue ????? And I hope not,,,,,, because I'm really shit at that.

probably be my luck to be a combination of all

sorry to be a pain

I did have a look at your blog and had a play around with transmission using some of your steps and the commands However although these JAILS on freenas are pretty bullet proof, I finished up breaking it an had to trash my old jail and reinstall transmission as a new plugin. which updated me to the latest version 2.92

One thing I have not mentioned is that transmission is set to use Open VPN with PIA........ I don't think that would be the issue though
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hmmmmmm
seems that transmission is not running the script for some reason.


Does the nzbToMedia scripts need to be made executable????? If so, how would one go about that.

should the first line of the script have a shebang thing ????? "#! bin/sh"

Or could it be a permissions issue ????? And I hope not,,,,,, because I'm really shit at that.

probably be my luck to be a combination of all

sorry to be a pain

I did have a look at your blog and had a play around with transmission using some of your steps and the commands However although these JAILS on freenas are pretty bullet proof, I finished up breaking it an had to trash my old jail and reinstall transmission as a new plugin. which updated me to the latest version 2.92

One thing I have not mentioned is that transmission is set to use Open VPN with PIA........ I don't think that would be the issue though
yes the scripts should be executable, the scripts already have shebangs and should not be modified. if you pull them using git as described in my blog the work as expected.

I don't know, I don't use a VPN so I can't comment on that.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Status
Not open for further replies.
Top