YouROK / TorrServer

Torrent stream server
GNU General Public License v3.0
1.61k stars 202 forks source link

[BUG] Panic -1 Crash when openning stream of private torrent #432

Open Nathan-Kr opened 4 months ago

Nathan-Kr commented 4 months ago

Describe the bug I'm trying to use torrserver along with stremio and It appears that there is a problem with the combination of private torrent and stremio

Private torrent + stremio player: crash Same private torrent + VLC/MPV/HTML5 player: no crash Public torrent + stremio player: no crash

To Reproduce upload private torrent to torrserver copy stream link play in stremio (If needed I can provide a very simple addon to do so)

Expected behavior No crash

Screenshots image

Desktop (please complete the following information):

Additional context In the screenshot the torrent has exactly 5107 pieces. And it appears that torrserver crash when trying to load that last piece. It seams that stremio player is loading every single piece at startup whereas with vlc I don't see all these "piece N completion changed" iteration when starting the stream.