-
Thank you for your marvellous work on Tribler! While trying to configure Tribler with a Bash script, I experienced some difficulties finding where the configurations are stored. To find where the configurations are stored, I tried to set a recognisable directory watch folder name, like However, since I was not able to run a stable release of 7.11 on Ubuntu, I downloaded this `.deb file to run Tribler. That version 7.12.0-alpha.4-3 crashes if I go into settings and click a directory (e.g. the watch folder) on my instance of Ubuntu 22.04. Hence, I would like to ask (either):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Approach II first inspected the command line arguments for Tribler. However, I did not find a setting for the watch folder. Next I searched the repository for "watch folder". Searching Watch Folder SettingAfter inspecting the Tribler source code I think I found the boolean that determines whether or not Tribler monitors a watch folder at /src/tribler/core/components/watch_folder/settings.py from tribler.core.config.tribler_config_section import TriblerConfigSection
# pylint: disable=no-self-argument
class WatchFolderSettings(TriblerConfigSection):
enabled: bool = False
directory: str = '' Changing Watch Folder SettingI am not yet sure how to find that file when Tribler is installed using:
However, I will look into it. Approach II (successful)The error I described when clicking on the folder icon in
SolutionSo I think I would be able to pre-pend this:
to the |
Beta Was this translation helpful? Give feedback.
-
Hi!
You have to add the following lines to the [watch_folder]
enabled = True
directory = /home/username/watchfolder
We use an ini-like config file that is stored in
There is no special CLI API but you can use Tribler's REST API Still, the easiest way to change the config is to modify directly The full specification of the config is here: tribler/src/tribler/core/config/tribler_config.py Lines 34 to 56 in d9c44f2 |
Beta Was this translation helpful? Give feedback.
Hi!
You have to add the following lines to the
triblerd.conf
file:We use an ini-like config file that is stored in
~/.Tribler/<TRIBLER_VERSION>/triblerd.conf
whereTRIBLER_VERSION
is Tribler version, like7.11
or7.12
.There is no special CLI API but you can use Tribler's REST API
Still, the easiest wa…