pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.79k stars 276 forks source link

Deprecation Warning Call set_torrent_stop_at_ratio to Deluge #9896

Closed neo-neo1 closed 2 years ago

neo-neo1 commented 3 years ago

When Medusa snatches torrents to Deluge with any number besides 0 set in Seed ratio under Provider Options & Feel results in Deluge showing the below Depreciated warning call error (error taken from Deluge logs). My Deluge log file is polluted and overfilled with this same error anytime a torrent is snatched.

/usr/lib/python3/dist-packages/deluge/core/rpcserver.py:326: DeprecationWarning: Call to deprecated function set_torrent_stop_at_ratio.

  ret = self.factory.methods[method](*args, **kwargs)

/usr/lib/python3/dist-packages/deluge/core/rpcserver.py:326: DeprecationWarning: Call to deprecated function set_torrent_stop_ratio.

  ret = self.factory.methods[method](*args, **kwargs)

Medusa

Deluge

p0psicles commented 2 years ago

Your right, the api command needs to be upgraded to: set_torrent_options. Only thing is that I can't see from wich version this can be used. As soon as I know that, i'll try to update it.

p0psicles commented 2 years ago

https://forum.deluge-torrent.org/viewtopic.php?f=8&t=56055