Closed Sleepyowl closed 7 years ago
The issue was the creation date timestamp being in milliseconds instead of seconds which it should be according to the specification.
I've added support for this in v2.2.4, which should be available on NuGet shortly.
There's one more torrent file that fails on version 2.2.4 with the same exception and stack trace.
Please find it attached.
That's even worse. That creation date appears to be in microseconds. I'll see if I can handle that as well.
@Krusen Just for reference, libtorrent (and qbittorrent as a consequence) does not implement any special logic to handle that. It just treats creation date as time_t
(unix time). For the torrent I've attached qBittorrent displays creation date as "6/21/2083 17:44".
Actually it's not even microseconds, it just seems to be invalid.
2,2.5 should be available soon and will just return epoch (1970-01-01) if the timestamp is not in either seconds or milliseconds.
Parsing a specific torrent file fails with ArgumentOutOfRangeException:
qbittorent opens file without any errors or warnings.
Please find the torrent file in question attached.
3AC38643197FE34CD73DC311BBB75DF416E617E6.zip