[Solved] WebUI Settings not saving.
Posted: Fri Aug 28, 2015 9:14 am
Hi,
I've set up qBittorrent on my Raspberry Pi 2 running headless Raspian (Debian Wheezy, 3.18 kernel).
qBT is up and running with downloads and uploads working fine.
The last thing to complete my setup is to get 'Run an external program on torrent completion' to work.
My scripts work fine if I run them manually, but entering them into the field in WebUI does not seem to save.
The checkbox remains checked but the script field is blank when it reloads. The scripts i use output to a log and do not appear to be running.
I had a look in ~/.config/qBittorrent/qBittorrent.conf to manually enter the script but didn't see an appropriate value to edit.
Can someone please shed some light on this?
Thank you.
EDIT:
It turns out that the version of qbittorent I am using differs from the Windows version.
You cannot pass on as many strings, it seems to only literally accept <program> %F and %N.
I just had to write a script to sit in the middle that passed on %F and %N to my scripts.
Once I added in only script %N %F it all saved correctly.
Perhaps a warning dialogue box would be of use in this situation?
Hope this helps someone else down the track.
I've set up qBittorrent on my Raspberry Pi 2 running headless Raspian (Debian Wheezy, 3.18 kernel).
qBT is up and running with downloads and uploads working fine.
The last thing to complete my setup is to get 'Run an external program on torrent completion' to work.
My scripts work fine if I run them manually, but entering them into the field in WebUI does not seem to save.
The checkbox remains checked but the script field is blank when it reloads. The scripts i use output to a log and do not appear to be running.
I had a look in ~/.config/qBittorrent/qBittorrent.conf to manually enter the script but didn't see an appropriate value to edit.
Can someone please shed some light on this?
Thank you.
EDIT:
It turns out that the version of qbittorent I am using differs from the Windows version.
You cannot pass on as many strings, it seems to only literally accept <program> %F and %N.
I just had to write a script to sit in the middle that passed on %F and %N to my scripts.
Once I added in only script %N %F it all saved correctly.
Perhaps a warning dialogue box would be of use in this situation?
Hope this helps someone else down the track.