[Plugin] YaRSS2 - RSS plugin with GTKUI support

Suggest, post, or discuss plugins for Deluge
User avatar
ambipro
Moderator
Moderator
Posts: 776
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by ambipro »

Not sure if it would work in this case, but you can always just remove the "-py3.10" suffix and it should load. The version of python in this case may matter for some of the features but in the past for compatibility, the -py3.10 type of suffix isn't necessarily required.
User avatar
ambipro
Moderator
Moderator
Posts: 776
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by ambipro »

tsa3000 wrote: Fri May 08, 2026 1:28 pm YaRSS2 v2.2.5 — modernized fork (looking for testers)

I've forked the long-running YaRSS2 RSS plugin (originally Camillo Dell'mour 2009, maintained by bendikro through v2.1.5 in 2021) and shipped six version bumps modernizing it. Looking for testers.

Repo: github.com/TSA3000/deluge-yarss2-webui
Releases: prebuilt eggs for Python 3.10–3.14
License: GPLv3 (unchanged)
Tested on: Deluge 2.2.0 / Ubuntu 24.04 / Python 3.12 and Deluge 2.2.1-dev / Ubuntu 25.10 / Python 3.14

shinger wrote: Wed Aug 05, 2026 3:53 pm
Hi TSA,

I am currently in a migration step using Docker, then later on going to use Kubernetes.

Tried using it, but it will not work.

Deluge version: version: 2.2.0-ls59
Docker image: https://hub.docker.com/r/linuxserver/deluge
Docker image tag: linuxserver/deluge:2.2.0-libtorrentv1
Python version within docker container:

Code: Select all

<USER>@<VM>:~/docker-containers/deluge$ docker exec -it deluge /bin/bash
root@dc0968a48494:/# python --version
Python 3.12.13
Plugin version:

Code: Select all

<USER>@<VM>:~/docker-containers/deluge/config/plugins$ ll YaRSS2-2.*
-rwxr-x--- 1 <USER> <GROUP> 7060669 Aug  5 17:32 YaRSS2-2.1.5.egg.old*
-rwxr-x--- 1 <USER> <GROUP> 7518206 Apr 28 17:18 YaRSS2-2.2.5-py3.12.egg*

Full deluge logs within docker container:

Code: Select all

<USER>@<VM>:~/docker-containers/deluge$ docker compose up -d && docker logs -f deluge
[+] up 2/2
✔ Network deluge_default Created                                                                                                                                                                                                                        0.0s
✔ Container deluge       Started                                                                                                                                                                                                                        0.3s
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

██╗     ███████╗██╗ ██████╗
██║     ██╔════╝██║██╔═══██╗
██║     ███████╗██║██║   ██║
██║     ╚════██║██║██║   ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝

Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 2.2.0-ls59
Build-date: 2026-08-03T17:25:23+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
17:44:20 [INFO    ][deluge.configmanager:49  ] Setting config directory to: /config
/lsiopy/lib/python3.12/site-packages/deluge/pluginmanagerbase.py:16: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30.
Refrain from using this package or pin to Setuptools<81.
import pkg_resources
17:44:20 [INFO    ][deluge.core.daemon            :1672] Deluge daemon 2.2.0
17:44:20 [INFO    ][deluge.core.core              :1672] Successfully loaded session.state: /config/session.state
17:44:20 [INFO    ][deluge.core.core              :1672] Successfully loaded session.state: /config/session.state.bak
17:44:20 [INFO    ][deluge.core.alertmanager      :1672] Alert Queue Size set to 10000
17:44:21 [INFO    ][deluge.core.rpcserver         :1672] Starting DelugeRPC server :58846
17:44:21 [INFO    ][deluge.core.daemon            :1672] Deluge daemon starting...
17:44:21 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin MyScheduler enabled...
17:44:21 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Notifications enabled...
17:44:21 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin ltConfig enabled...
/config/plugins/LabelPlus-0.3.2.5.egg/labelplus/common/label.py:48: SyntaxWarning: invalid escape sequence '\*'
/config/plugins/LabelPlus-0.3.2.5.egg/labelplus/common/label.py:48: SyntaxWarning: invalid escape sequence '\*'
17:44:21 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin LabelPlus enabled...
17:44:21 [ERROR   ][deluge.pluginmanagerbase      :1672] Unable to instantiate plugin 'YaRSS2' from '/config/plugins/YaRSS2-2.2.5-py3.12.egg'!
17:44:21 [ERROR   ][deluge.pluginmanagerbase      :1672] No module named 'urllib3.packages.six.moves'
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/deluge/pluginmanagerbase.py", line 149, in enable_plugin
instance = cls(plugin_name.replace('-', '_'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/__init__.py", line 42, in __init__
from .core import Core as CorePluginClass
File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/core.py", line 14, in <module>
from yarss2.rssfeed_scheduler import RSSFeedScheduler
File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/rssfeed_scheduler.py", line 20, in <module>
from yarss2.torrent_handling import TorrentHandler
File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/torrent_handling.py", line 12, in <module>
import requests
File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/include/requests/requests/__init__.py", line 43, in <module>
import urllib3
File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/include/urllib3/src/urllib3/__init__.py", line 7, in <module>
from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/include/urllib3/src/urllib3/connectionpool.py", line 11, in <module>
from .exceptions import (
File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/include/urllib3/src/urllib3/exceptions.py", line 2, in <module>
from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
17:44:21 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Stats enabled...
17:44:21 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Blocklist enabled...
17:44:21 [INFO    ][deluge.core.authmanager       :1672] Opening auth for load: /config/auth
17:44:21 [INFO    ][deluge.core.authmanager       :1672] Successfully loaded auth: /config/auth
17:44:21 [INFO    ][deluge.core.torrentmanager    :1672] Loading torrent state: /config/state/torrents.state
17:44:21 [INFO    ][deluge.core.torrentmanager    :1672] Successfully loaded /config/state/torrents.state
17:44:21 [INFO    ][deluge.core.torrentmanager    :1672] Opening torrents.fastresume for load: /config/state/torrents.fastresume
17:44:21 [INFO    ][deluge.core.torrentmanager    :1672] Successfully loaded torrents.fastresume: /config/state/torrents.fastresume
17:44:21 [INFO    ][deluge.core.torrentmanager    :1672] on_alert_external_ip: 169.150.242.5
17:44:21 [INFO    ][deluge.core.torrentmanager    :1672] Torrent Udemy - Observability with Grafana, Prometheus,Loki, Alloy and Tempo from user "localclient" loaded
17:44:21 [INFO    ][deluge.core.torrentmanager    :1672] Finished loading 1 torrents in 0:00:00.058752
Connection to 127.0.0.1 58846 port [tcp/*] succeeded!
17:44:21 [INFO    ][deluge.core.rpcserver         :1672] Deluge Client connection made from: 127.0.0.1:53244
17:44:21 [INFO    ][deluge.core.rpcserver         :1672] Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
17:44:21 [INFO    ][deluge.configmanager:49  ] Setting config directory to: /config
17:44:21 [INFO    ][deluge.ui.ui:68  ] Deluge ui 2.2.0
17:44:21 [INFO    ][deluge.ui.ui:70  ] Starting web ui..
/lsiopy/lib/python3.12/site-packages/deluge/pluginmanagerbase.py:16: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30.Refrain from using this package or pin to Setuptools<81.
import pkg_resources
17:44:22 [INFO    ][deluge.i18n.util           :103 ] Setting up translations from /lsiopy/lib/python3.12/site-packages/deluge/i18n
17:44:22 [INFO    ][deluge.ui.web.server       :1672] Starting webui server at PID 218
17:44:22 [INFO    ][deluge.ui.web.server       :1672] Serving at http://0.0.0.0:8112/
Connection to 127.0.0.1 8112 port [tcp/*] succeeded!
[ls.io-init] done.
I placed the two appropriate python .egg's for the version of python I'm using as well as removed the -py suffix altogether (something works for plugins built on a certain version) - but neither load through Plugin Manager. Error below:

Code: Select all

41:00 [ERROR   ][deluge.pluginmanagerbase      :1672] Unable to instantiate plugin 'YaRSS2' from '/config/plugins/YaRSS2-2.2.5-py3.12.egg'!
11:41:00 [ERROR   ][deluge.pluginmanagerbase      :1672] No module named 'urllib3.packages.six.moves'
Traceback (most recent call last):
  File "/lsiopy/lib/python3.12/site-packages/deluge/pluginmanagerbase.py", line 149, in enable_plugin
    instance = cls(plugin_name.replace('-', '_'))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/__init__.py", line 42, in __init__
    from .core import Core as CorePluginClass
  File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/core.py", line 14, in <module>
    from yarss2.rssfeed_scheduler import RSSFeedScheduler
  File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/rssfeed_scheduler.py", line 20, in <module>
    from yarss2.torrent_handling import TorrentHandler
  File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/torrent_handling.py", line 12, in <module>
    import requests
  File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/include/requests/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/include/urllib3/src/urllib3/__init__.py", line 7, in <module>
    from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
  File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/include/urllib3/src/urllib3/connectionpool.py", line 11, in <module>
    from .exceptions import (
  File "/config/plugins/YaRSS2-2.2.5-py3.12.egg/yarss2/include/urllib3/src/urllib3/exceptions.py", line 2, in <module>
    from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
running `pip install urllib3` allows it to start (on the daemon/core in the docker container) - I can reach out to binhex and linuxserver and get them to add this, but its your project so however you want to handle it.

I'm going to try testing the plugin.

Just a note, i only had to install this on the core/daemon container - which means if you're runnign headless then the server is the only place that needs the package pip installed.

Update: you also need to `pip install six` as well, and then it loaded the RSS feed as I ran it. So it appears on its face to have basic functionality working. As far as the more granular settings/filters and all that, and whether it crashes as the previous version did is going to take longer to figure out.

But it did read the RSS feed and add the torrents.
shinger
Seeder
Seeder
Posts: 186
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

ambipro wrote: Wed Aug 05, 2026 4:34 pm Not sure if it would work in this case, but you can always just remove the "-py3.10" suffix and it should load. The version of python in this case may matter for some of the features but in the past for compatibility, the -py3.10 type of suffix isn't necessarily required.
If you meant removing 3.12 suffix to be like this. It still did not work. See the output below.

Code: Select all

<USER>@<VM>:~/docker-containers/deluge/config/plugins$ ll YaRSS2-2.*
-rwxr-x--- 1 <USER> <GROUP> 7060669 Aug  5 17:32 YaRSS2-2.1.5.egg.old*
-rwxr-x--- 1 <USER> <GROUP> 7518206 Apr 28 17:18 YaRSS2-2.2.5-py.egg*
Let mee tinker a bit more with it.

Code: Select all

Linuxserver.io version: 2.2.0-ls59                                                                                                                                                                                                         20:20:00 [53/1499]
Build-date: 2026-08-03T17:25:23+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
20:20:00 [INFO    ][deluge.configmanager:49  ] Setting config directory to: /config
/lsiopy/lib/python3.12/site-packages/deluge/pluginmanagerbase.py:16: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30.
Refrain from using this package or pin to Setuptools<81.
import pkg_resources
20:20:00 [INFO    ][deluge.core.daemon            :1672] Deluge daemon 2.2.0
20:20:00 [INFO    ][deluge.core.core              :1672] Successfully loaded session.state: /config/session.state
20:20:00 [INFO    ][deluge.core.core              :1672] Successfully loaded session.state: /config/session.state.bak
20:20:00 [INFO    ][deluge.core.alertmanager      :1672] Alert Queue Size set to 10000
20:20:00 [INFO    ][deluge.core.rpcserver         :1672] Starting DelugeRPC server :58846
20:20:00 [INFO    ][deluge.core.daemon            :1672] Deluge daemon starting...
20:20:00 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin MyScheduler enabled...
20:20:00 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Notifications enabled...
20:20:00 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin ltConfig enabled...
/config/plugins/LabelPlus-0.3.2.5.egg/labelplus/common/label.py:48: SyntaxWarning: invalid escape sequence '\*'
/config/plugins/LabelPlus-0.3.2.5.egg/labelplus/common/label.py:48: SyntaxWarning: invalid escape sequence '\*'
20:20:00 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin LabelPlus enabled...
20:20:00 [ERROR   ][deluge.pluginmanagerbase      :1672] Unable to instantiate plugin 'YaRSS2' from '/config/plugins/YaRSS2-2.2.5-py.egg'!
20:20:00 [ERROR   ][deluge.pluginmanagerbase      :1672] No module named 'urllib3.packages.six.moves'
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/deluge/pluginmanagerbase.py", line 149, in enable_plugin
instance = cls(plugin_name.replace('-', '_'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/__init__.py", line 42, in __init__
from .core import Core as CorePluginClass
File "/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/core.py", line 14, in <module>
from yarss2.rssfeed_scheduler import RSSFeedScheduler
File "/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/rssfeed_scheduler.py", line 20, in <module>
from yarss2.torrent_handling import TorrentHandler
File "/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/torrent_handling.py", line 12, in <module>
import requests
File "/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/include/requests/requests/__init__.py", line 43, in <module>
import urllib3
File "/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/include/urllib3/src/urllib3/__init__.py", line 7, in <module>
from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
File "/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/include/urllib3/src/urllib3/connectionpool.py", line 11, in <module>
from .exceptions import (
File "/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/include/urllib3/src/urllib3/exceptions.py", line 2, in <module>
from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
20:20:00 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Stats enabled...
20:20:00 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Blocklist enabled...
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.2.0
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
shinger
Seeder
Seeder
Posts: 186
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

ambipro wrote: Wed Aug 05, 2026 4:34 pm Not sure if it would work in this case, but you can always just remove the "-py3.10" suffix and it should load. The version of python in this case may matter for some of the features but in the past for compatibility, the -py3.10 type of suffix isn't necessarily required.
I think i also got it to work... @tsa, the option above looks nice with deluge-web, but i think its overkill as you don't need it daily. (see the attachment). I am going to start testing it and i will give you any feedback while using it.

For other users to use this with the docker container.

Step 1: Start the docker container and log in to it.
So after starting, do a docker exec -it <name of the container> /bin/bash
Step 2: Pip is already installed, so just install the missing packages.
pip install urllib3 six
Step 3: Log out of the container and restart the container
docker restart <container name>

Code: Select all

───────────────────────────────────────
Linuxserver.io version: 2.2.0-ls59
Build-date: 2026-08-03T17:25:23+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
20:35:23 [INFO    ][deluge.configmanager:49  ] Setting config directory to: /config
/lsiopy/lib/python3.12/site-packages/deluge/pluginmanagerbase.py:16: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30.
Refrain from using this package or pin to Setuptools<81.
import pkg_resources
20:35:23 [INFO    ][deluge.core.daemon            :1672] Deluge daemon 2.2.0
20:35:23 [INFO    ][deluge.core.core              :1672] Successfully loaded session.state: /config/session.state
20:35:23 [INFO    ][deluge.core.core              :1672] Successfully loaded session.state: /config/session.state.bak
20:35:23 [INFO    ][deluge.core.alertmanager      :1672] Alert Queue Size set to 10000
20:35:23 [INFO    ][deluge.core.rpcserver         :1672] Starting DelugeRPC server :58846
20:35:23 [INFO    ][deluge.core.daemon            :1672] Deluge daemon starting...
20:35:23 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin MyScheduler enabled...
20:35:23 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Notifications enabled...
20:35:23 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin ltConfig enabled...
/config/plugins/LabelPlus-0.3.2.5.egg/labelplus/common/label.py:48: SyntaxWarning: invalid escape sequence '\*'
/config/plugins/LabelPlus-0.3.2.5.egg/labelplus/common/label.py:48: SyntaxWarning: invalid escape sequence '\*'
20:35:23 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin LabelPlus enabled...
/config/plugins/YaRSS2-2.2.5-py.egg/yarss2/include/requests/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (2.7.0) or chardet (7.4.3) doesn't match a supported version!
20:35:23 [WARNING ][deluge.config                 :401 ] Unable to open config file /config/yarss2.conf: [Errno 2] No such file or directory: '/config/yarss2.conf'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'from_address'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'default_email_subject'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'smtp_authentication'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'default_email_to_address'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'send_email_on_torrent_events'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'smtp_port'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'smtp_password'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'default_email_message'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'smtp_server'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.yarss_config:353: Insert missing config key 'smtp_username'
20:35:23 [WARNING ][deluge.config                 :478 ] Unable to open config file: /config/yarss2.conf because: [Errno 2] No such file or directory: '/config/yarss2.conf'
20:35:23 [WARNING ][deluge.config                 :503 ] Unable to backup old config: [Errno 2] No such file or directory: '/config/yarss2.conf'
20:35:23 [INFO    ][yarss2.core                   :1672] YaRSS2.core:52: Enabled YaRSS2 2.2.5
20:35:23 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin YaRSS2 enabled...
20:35:23 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Stats enabled...
20:35:23 [INFO    ][deluge.pluginmanagerbase      :1672] Plugin Blocklist enabled...
20:35:23 [INFO    ][deluge.core.authmanager       :1672] Opening auth for load: /config/auth
20:35:23 [INFO    ][deluge.core.authmanager       :1672] Successfully loaded auth: /config/auth
20:35:23 [INFO    ][deluge.core.torrentmanager    :1672] Loading torrent state: /config/state/torrents.state
20:35:23 [INFO    ][deluge.core.torrentmanager    :1672] Successfully loaded /config/state/torrents.state
20:35:23 [INFO    ][deluge.core.torrentmanager    :1672] Opening torrents.fastresume for load: /config/state/torrents.fastresume
Attachments
Deluge-Yarss2.png
Deluge-Yarss2.png (12.74 KiB) Viewed 21 times
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.2.0
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
shinger
Seeder
Seeder
Posts: 186
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

tsa3000 wrote: Fri May 08, 2026 1:28 pm YaRSS2 v2.2.5 — modernized fork (looking for testers)

I've forked the long-running YaRSS2 RSS plugin (originally Camillo Dell'mour 2009, maintained by bendikro through v2.1.5 in 2021) and shipped six version bumps modernizing it. Looking for testers.
- [Deluge-web][BUG] On the second tab (subscriptions). When i have added a subscription and i wanted to give the download directory and also the directory when it is finished, it suddenly jumps to the left, hiding the field names. I can simply save/close the window and reopen it or resize it and it suddenly appears again.
- [Deluge-gtk] - RSS FEEDS tab, i cannot resize the fields.
- [Deluge-gtk] - Settings tab, i am unable to fill in the authentication (username + password). I can only fill in From email address, smtp server and port.

So far it looks good.

I am not sure about the TTL value not being able to convert to int (integer i assume). This sunday it should have a hit, i will then try to post the output of the run.

Code: Select all

(2026-08-06T21:09:49): Manually running Subscription 'One Piece'
(2026-08-06T21:09:49): Update handler executed on RSS Feed 'Nyaa.si (nyaa.si)' (Update interval 120 min)
(2026-08-06T21:09:49): Fetching subscription 'One Piece'.
(2026-08-06T21:09:49): Fetching RSS Feed: 'Nyaa.si' with Cookie: '{}' and User-agent: 'Deluge v2.2.0 YaRSS2 v2.2.5 Linux/6.8.0-136-generic'.
(2026-08-06T21:09:49): Failed to convert TTL value 'None' to int!
(2026-08-06T21:09:49): Subscription 'One Piece': 75 items in feed, 0 matches.
(2026-08-06T21:09:49): isodate_to_datetime error:
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.2.0
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
User avatar
ambipro
Moderator
Moderator
Posts: 776
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by ambipro »

Keep in mind, most of the UNIT3D trackers all resort to using UTC time, so it wont necessarily match up with local system time.
shinger
Seeder
Seeder
Posts: 186
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

ambipro wrote: Thu Aug 06, 2026 8:06 pm Keep in mind, most of the UNIT3D trackers all resort to using UTC time, so it wont necessarily match up with local system time.
I have already given a different timezone if that is what you meant by it. The plugin should do a check every 120 minutes, so even if the application would resort to UTC time, it does not affect much.

Docker compose file that i am using.

Code: Select all

---
services:
  deluge:
    image: linuxserver/deluge:2.2.0-libtorrentv1
    container_name: deluge
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Amsterdam
      - DELUGE_LOGLEVEL=info #optional
      - UMASK=007
    volumes:
      - ./config:/config
      - /mnt/data/deluge:/downloads
    ports:
      - "0.0.0.0:8112:8112"
      - "127.0.0.1:3000:3000"
      - "127.0.0.1:3000:3000/udp"
      - "0.0.0.0:58846:58846"
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8112"]
      interval: 30s
      timeout: 10s
      retries: 3

Code: Select all

<USER>@<VM>:~/docker-containers/deluge$ docker exec -it deluge date
Thu Aug  6 22:23:10 CEST 2026
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.2.0
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
User avatar
ambipro
Moderator
Moderator
Posts: 776
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by ambipro »

shinger wrote: Thu Aug 06, 2026 8:25 pm
ambipro wrote: Thu Aug 06, 2026 8:06 pm Keep in mind, most of the UNIT3D trackers all resort to using UTC time, so it wont necessarily match up with local system time.
I have already given a different timezone if that is what you meant by it. The plugin should do a check every 120 minutes, so even if the application would resort to UTC time, it does not affect much.

Docker compose file that i am using.

Code: Select all

---
services:
  deluge:
    image: linuxserver/deluge:2.2.0-libtorrentv1
    container_name: deluge
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Amsterdam
      - DELUGE_LOGLEVEL=info #optional
      - UMASK=007
    volumes:
      - ./config:/config
      - /mnt/data/deluge:/downloads
    ports:
      - "0.0.0.0:8112:8112"
      - "127.0.0.1:3000:3000"
      - "127.0.0.1:3000:3000/udp"
      - "0.0.0.0:58846:58846"
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8112"]
      interval: 30s
      timeout: 10s
      retries: 3

Code: Select all

<USER>@<VM>:~/docker-containers/deluge$ docker exec -it deluge date
Thu Aug  6 22:23:10 CEST 2026
i tested it with a `.+` filter - and it added all the RSS entries (should have filtered more - it was like 150 releases) - but it appears to be working.

The previous version worked somewhat, but often caused crashes. It's nice to see someone has put the time and effort into fixing it.
shinger
Seeder
Seeder
Posts: 186
Joined: Sat Jun 05, 2010 1:02 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by shinger »

Updating every 120 minutes also seems like to work, looking at the time of the messages, but also looking at the "last update" in the RSS FEEDS tab. Not sure what can be done about the error messages. I don't want to set a lower warning level for Deluge if it is related to that. I'd rather want to solve the problem instead of hiding it.

Code: Select all

21:09:52 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
21:09:52 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
22:52:16 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
22:52:16 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
00:51:44 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
00:51:44 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
02:53:20 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
02:53:20 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
04:52:48 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
04:52:48 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
06:52:16 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
06:52:16 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
08:51:44 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
08:51:44 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
10:53:20 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
10:53:20 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
12:52:48 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
12:52:48 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
14:52:16 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
14:52:16 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
16:51:44 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
16:51:44 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
18:53:20 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
18:53:20 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
20:52:48 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
20:52:48 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
22:52:16 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
22:52:16 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
00:51:44 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
00:51:44 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
02:53:20 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
02:53:20 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
04:52:48 [WARNING] YaRSS2.rssfeed_handling:470: Failed to convert TTL value 'None' to int!
04:52:48 [WARNING] YaRSS2.common:89: isodate_to_datetime error:
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.2.0
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
User avatar
ambipro
Moderator
Moderator
Posts: 776
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by ambipro »

You could just use a comprehension to do if the value is None then use a default value or a specified TTL in the options?
Post Reply