rndusr / torf-cli

CLI tool for creating, reading and editing torrent files
GNU General Public License v3.0
134 stars 13 forks source link

question: any way to reuse a torrent that gives error ['info']['piece length'] is invalid #35

Closed swannie-eire closed 1 year ago

swannie-eire commented 1 year ago

i have a torrent that i wanted to reuse but change source and trackers but am getting the following error.

torf: Invalid metainfo: ['info']['piece length'] is invalid: 827392

torrent seems to add fine and download fine in qbittorrent.

question: any way to reuse a torrent that gives this error ['info']['piece length'] is invalid

rndusr commented 1 year ago

The piece length is not nicely divisible by 16 Kib:

827392 / (16 * 1024) = 50.5

Try --novalidate or -V.

swannie-eire commented 1 year ago

Thank you.

Weird I know. Don't know how you can even create torrent like this.