kz26 / dottorrent-gui

An advanced GUI torrent file creator with batch functionality, powered by PyQt and dottorrent
https://pypi.org/project/dottorrent-gui/
GNU General Public License v3.0
324 stars 32 forks source link

Auto Piece Size can cause trouble #26

Open monkey113 opened 5 years ago

monkey113 commented 5 years ago

Hi kz26

Thank you for dottorrent-gui, me and my friend use it regularly and are very happy with it!

Today the team of the tracker I mostly use reported me a problem that seems to be caused by the dottorrent-gui auto piece size. Some clients can't handle sizes that aren't multiplications of 16 KiB and some can't even handle piece sizes >16 MiB. At first I thought only crappy clients like uTorrent would have that problem, but Transmission and qbittorrent couldn't handle the torrent, too (52 GB Torrent, made with auto piece size). Only Deluge could start the download (that's also the client I use on my server and I guess that's the reason I never noticed the problem). Sorry, I don't know so much about the topic and I couldn't find a final answer which piece sizes are included in the bittorrent standard (I guess this isn't really regulated). I just thought I'd report this "problem" to you. I have no idea if others run into this. It'd probably solve it if you just use the tiers listed in the GUI up to maximum 16 MiB piece size?

Thanks a lot again - your tool is such a perfect addition to deluge-web (which can't create torrents).

kz26 commented 5 years ago

This is the first I've heard of dottorrent-produced torrents with large piece sizes crashing clients. Do you know what piece size dottorrent-gui chose for your 52GB torrent? If possible, can you create a torrent with the same content and piece size using another tool? This will help isolate whether the issue is due to something in dottorrent or something in the clients.

monkey113 commented 5 years ago

Hi and thanks for your reply.

I'll do further testing. It seems the auto setting can cause troubles in general. I'll comment again as soon as I found out more.

mighelch commented 5 years ago

Can you add option to limit the piece size in auto mode (up to 16, 32)?

kz26 commented 5 years ago

I will put this on the list for the next release.

maxiwheat commented 4 years ago

I would love this feature too

jagrjones commented 3 years ago

I created a github account to +1 this feature / fix. Some trackers have started to disallow torrents with piece sizes larger than 16MB because of issues with some clients. It would be great to have a limiter option for auto piece size and/or to be able to disable it in batch mode. Thank you for your consideration!

maxiwheat commented 3 years ago

I created a github account to +1 this feature / fix. Some trackers have started to now allow torrents with piece sizes larger than 16MB because of issues with some clients. It would be great to have a limiter option for auto piece size and/or to be able to disable it in batch mode. Thank you for your consideration!

I think you meant some trackers have started to now disallow torrents with piece sizes larger than 16MB

jagrjones commented 3 years ago

I think you meant some trackers have started to now disallow torrents with piece sizes larger than 16MB

Yes thank you for this important clarification.