Am running Deluge headless and can use the Web UI to connect to the daemon just fine.
For some reason, using the deluge plugin under flexget, it fails with a "raise BadLoginError("Username does not exist")" error.
If I copy the auth file from /var/lib/deluge (where the package installed it) over to ~/.config/deluge/auth then the plugin works without issue.
Does this make sense to anyone?
Apologies but I don't know where the fault lies, other than there seems to be one
The flexget plugin may need to know where the config folder is for your Deluge.. It may be assuming it's in the default location for the user running flexget.
andar wrote:
The flexget plugin may need to know where the config folder is for your Deluge.. It may be assuming it's in the default location for the user running flexget.
The flexget plugin is using deluge.ui.client to connect, that should take care of finding auth file no?
So is /var/lib the new default location for deluge?
Looks like the init script tutorial you followed set the home directory for the deluge user to /var/lib/deluge. So no, not default, you set it to that when you created the deluge user.
andar wrote:
The flexget plugin may need to know where the config folder is for your Deluge.. It may be assuming it's in the default location for the user running flexget.
The flexget plugin is using deluge.ui.client to connect, that should take care of finding auth file no?
It will check the default config directory for the auth file, which is usually $HOME/.config/deluge. In this case, the user is running deluge with a config folder set to /var/lib/deluge using the -c option, so Flexget will need to have an option available to set the config directory location (and possibly port) of the daemon it wants to interact with.
andar wrote:
The flexget plugin may need to know where the config folder is for your Deluge.. It may be assuming it's in the default location for the user running flexget.
The flexget plugin is using deluge.ui.client to connect, that should take care of finding auth file no?
It will check the default config directory for the auth file, which is usually $HOME/.config/deluge. In this case, the user is running deluge with a config folder set to /var/lib/deluge using the -c option, so Flexget will need to have an option available to set the config directory location (and possibly port) of the daemon it wants to interact with.
There is already: host, port, username and password options in the flexget plugin, so I think you could just connect using another user you have added to auth, instead of specifying where the auth file is located.
gazpachoking wrote:
There is already: host, port, username and password options in the flexget plugin, so I think you could just connect using another user you have added to auth, instead of specifying where the auth file is located.