.torrent auto opening
Pusha1d opened this issue · 7 comments
Could you add the possibility of automatic download start if new .torrent file is put in the specific folder?
For example, we set some folder for .torrent files and when I put file there, the downloading starts automatically.
https://github.com/transmission/transmission/wiki/Editing-Configuration-Files
- watch-dir: String
- watch-dir-enabled: Boolean (default = false) Watch a directory for torrent files and add them to transmission.
Well I iimplement this feature with d7bff3e
Now in transgui.ini in the [interface] section you can define 3 values to watch a LOCAL folder for .torrent files
WatchLocalFolder= {LOCAL Folder to watch for torrent files}
WatchDestinationFolder= {REMOTE destination where the data would be saved, if missing or empty last destination folder is used}
WatchInterval=1 {Time period in MINUTES between folder scans for torrents, may be fractional values
0,50 = 30 seconds}
The only MANDATORY for watch a local folder is WatchLocalFolder and this folder has to exist and be writable (for delete the .torrents after adding it) if the other two values are missing or empty the folder would be scanned every 1 minute and saved in the last destination used by TransGUI.
I almost sure what this works in all platforms but for security I really need to someone test this in LINUX & MacOSX and give some feedback.
Anyone?
Well I´m closing this because nobody test in other OS.
I assume what when this got released if any error somebody would open a issue.
In the other subject i noticed what I addresed several requests from people who do not even bother writing a simple "thank you".
Very frustrating.
v5.15.0 released.
@antekgla Just looking for this feature and it's amazing, that's implemented and so sad, that no body test it on other OSs. I do have Mac as well as Ubuntu, so I can test the both.
Just - the advanced stuff on OSX is bit tricky for me, not yet know where I should look for, so If you point me out where I can find that transgui.ini will give a try.
EDIT:
is this correct?
$ defaults write com.transgui "WatchLocalFolder" "~/Downloads"
$ defaults write com.transgui "WatchInterval" "2"
$ defaults read com.transgui
{
"NSNavLastRootDirectory:ChooseFolder:0" = "/Volumes/downloads";
"NSNavLastRootDirectory:GetFile:0" = "~/Downloads";
"NSNavPanelExpandedSizeForOpenMode:ChooseFolder:0" = "{712, 448}";
"NSNavPanelExpandedSizeForOpenMode:GetFile:0" = "{712, 448}";
WatchInterval = 2;
WatchLocalFolder = "~/Downloads";
}
Just - the advanced stuff on OSX is bit tricky for me, not yet know where I should look for, so If you point me out where I can find that transgui.ini will give a try.
- You may find transgui.ini i n hidden
config
folder of your home directory. Just open home directory and press shift+command+. - WatchLocalFolder = "~/Downloads" this does not work, specify full path WatchLocalFolder=/Users/user_dir/Downloads