It appears that libtorrent is expecting you to pass in an auto_managed
parameter. Based on the error, this may be due to the 'paused': False
parameter you are passing in; you may need to pass 'auto_managed': True
along with this, though I haven't used libtorrent myself so I'm not sure. You might also want to try removing the 'paused': True
, and see if that works.
After taking a closer look, it looks like add_magnet_uri()
is deprecated in libtorrent. Instead, you are simply supposed to call add_torrent()
and pass in a url
parameter with the magnet URL. You might want to give that a try.