@effemmeffe wrote:
I just updated flexget and got the notification that I should migrate my clean_transmission plugin.
I followed the wiki and change my task to this:clean-transmission: # task priority: 150 from_transmission: yes disable: [seen, seen_info_hash] if: - transmission_progress == 100: accept - not transmission_seed_ratio_ok: reject - not transmission_idle_limit_ok: reject transmission: <<: *transmission-settings action: remove
The transmission-settings anchor is defined in the config:
transmission-anchors: _transmission-settings: &transmission-settings host: "{? transmission.host ?}" port: 9091 username: "{? transmission.user ?}" password: "{? transmission.pass ?}"
The anchor is used in some of my tasks and it works fine there, but in the clean-transmission task I get this error:
fmf@kodi:~/.flexget$ flexget --test execute --task clean-transmission 2019-03-20 12:04 INFO manager Test mode, creating a copy from database ... 2019-03-20 12:04 INFO manager Test database created 2019-03-20 12:04 VERBOSE task_queue There are 1 tasks to execute. Shutdown will commence when they have completed. 2019-03-20 12:04 INFO transmission clean-transmission Trying to connect to transmission... 2019-03-20 12:04 INFO transmission clean-transmission Successfully connected to transmission. 2019-03-20 12:04 INFO transmission clean-transmission Trying to connect to transmission... 2019-03-20 12:04 CRITICAL plugin clean-transmission Username/password for transmission is incorrect. Cannot connect. 2019-03-20 12:04 WARNING task clean-transmission Aborting task (plugin: from_transmission) 2019-03-20 12:04 INFO manager Removed test database
I double checked the transmission settings and I can connect to the daemon with my username and password, it seems that only in the clean task the connection doesn't work.
Any idea?
Posts: 2
Participants: 2