You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have qbittorrent and cross-seed daemon both running in containers. The qbittorrent is using a VPN, via the hotio image. Ideally I wanted to run a completion script from qbittorrent via the Run external program on torrent completion option, however the qbittorrent container can't seem to connect to the cross_seed container. My guess is because it's on a VPN network, but it could also be an issue on my end.
Nonetheless, I setup a script within radarr and sonarr to run on import, however, both of those don't pass the torrent name, but DO pass the torrent hash. I've got cross seed working by simply modifying the following https://github.com/mmgoodnow/cross-seed/blob/7d161eb9983089cbaee61e34b2b7bd57b3d54d58/src/torrent.ts#L147:
const findResult = db
.get(INDEXED_TORRENTS)
.value()
.find((e) => e.name === name || e.infoHash === name);
It works, but it's lazy. If I get time, I'll do this properly, but I wanted to see if it's even worth the time first.
The text was updated successfully, but these errors were encountered:
afraazali
changed the title
[FEATURE] - Allow Daemon mode to search for cross seeds via hash
[FEATURE] - Allow daemon mode to search for cross seeds via hash
Jul 28, 2021
I think this is a great idea and would 100% accept a PR for this. Should be pretty easy, I'd just pass around {name, infoHash} pairs instead of the bare name. Then you can search by infohash if it exists, and if not, search by name.
I have qbittorrent and cross-seed daemon both running in containers. The qbittorrent is using a VPN, via the hotio image. Ideally I wanted to run a completion script from qbittorrent via the
Run external program on torrent completion
option, however the qbittorrent container can't seem to connect to the cross_seed container. My guess is because it's on a VPN network,but it could also be an issue on my end.Nonetheless, I setup a script within radarr and sonarr to run on import, however, both of those don't pass the torrent name, but DO pass the torrent hash. I've got cross seed working by simply modifying the following
https://github.com/mmgoodnow/cross-seed/blob/7d161eb9983089cbaee61e34b2b7bd57b3d54d58/src/torrent.ts#L147
:It works, but it's lazy. If I get time, I'll do this properly, but I wanted to see if it's even worth the time first.
The text was updated successfully, but these errors were encountered: