Depends on: Safeguarding/sciop#347
Depends on: Safeguarding/sciop#448
Now that we have qbittorrent adapter merged, once the server is capable of telling us about repacked torrents, we should add a command
sciop-cli sync repacks should be a command that
- checks our configured clients for a list of infohashes of current torrents
- sends those to
/api/v1/uploads/repacks ( Safeguarding/sciop#448 )
- gets a list of updated torrents
- removes the torrent item in the client but not the files of the torrent from the disk
- adds the updated torrent with the same path on disk as the torrent being updated.
The command should by default replace any torrents that have been marked as repacked by the uploader of the original torrents (see Safeguarding/sciop#448 ). however it should also display the presence of repacks by other accounts, and offer an option to apply a specific repack from a different account, e.g. by short hash. Bonus points would be to display these "extra" repacks along with the "description" field of the upload, which may contain information about the repack.
Depends on: https://codeberg.org/Safeguarding/sciop/issues/347
Depends on: https://codeberg.org/Safeguarding/sciop/issues/448
Now that we have qbittorrent adapter merged, once the server is capable of telling us about repacked torrents, we should add a command
`sciop-cli sync repacks` should be a command that
- checks our configured clients for a list of infohashes of current torrents
- sends those to `/api/v1/uploads/repacks` ( https://codeberg.org/Safeguarding/sciop/issues/448 )
- gets a list of updated torrents
- removes the *torrent item in the client* but not the *files of the torrent from the disk*
- adds the updated torrent with the same path on disk as the torrent being updated.
The command should by default replace any torrents that have been marked as repacked *by the uploader of the original torrents* (see https://codeberg.org/Safeguarding/sciop/issues/448 ). however it should also *display* the presence of repacks by other accounts, and offer an option to apply a specific repack from a different account, e.g. by short hash. Bonus points would be to display these "extra" repacks along with the "description" field of the upload, which may contain information about the repack.