rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.35k stars 604 forks source link

PTB no longer working #3339

Open raymondjstone opened 1 month ago

raymondjstone commented 1 month ago

Since pulling the lastest version today any searches using PTB fail

2024-05-26 08:22:52 | ERROR | Uncaught exception: Traceback (most recent call last):File "/app/headphones/headphones/logger.py", line 215, in new_runold_run(*args, **kwargs)File "/usr/lib/python3.10/threading.py", line 953, in runself._target(*self._args, **self._kwargs)File "/app/headphones/headphones/searcher.py", line 245, in searchforalbumdo_sorted_search(album, new, losslessOnly)File "/app/headphones/headphones/searcher.py", line 374, in do_sorted_searchsend_to_downloader(data, result, album)File "/app/headphones/headphones/searcher.py", line 1085, in send_to_downloaderqbittorrent.setSeedRatio(torrentid, seed_ratio)File "/app/headphones/headphones/qbittorrent.py", line 289, in setSeedRatioreturn qbclient.qb.set_share_ratio(hash.lower(), ratio)File "/app/headphones/lib/qbittorrentv2/client.py", line 800, in set_share_ratioreturn self._post('torrents/setShareLimits', data=data)File "/app/headphones/lib/qbittorrentv2/client.py", line 64, in _postreturn self._request(endpoint, 'post', data, **kwargs)File "/app/headphones/lib/qbittorrentv2/client.py", line 88, in _requestrequest.raise_for_status()File "/app/headphones/lib/requests/models.py", line 960, in raise_for_statusraise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://chuwi01:8081/api/v2/torrents/setShareLimits -- | -- | -- 2024-05-26 08:22:52 | WARNING | Could not get seed ratio for The Pirate Bay
raymondjstone commented 1 month ago

mirror set was https://prbay.top/

rembo10 commented 1 month ago

Do you mind checking the qbittorrent logs to see what might have gone wrong?

raymondjstone commented 1 month ago

no errors on that side, only on the headphones side which would I assume be where the seeder count is checked since that is a config setting in headphones