Open Finomosec opened 2 months ago
Hi there,
you added "support" for Web-Seeds here: https://github.com/mpetazzoni/ttorrent/pull/240/commits/ebb5c29149bd6b7afcd8184ba2c40e408f0d2e3b
But you forgot to add it in (at least) TorrentMetadata and TorrentSerializer, so the info gets lost, when doing this:
private void makeTorrent(File torrentFile) { final var builder = new MetadataBuilder(); // builder.setXYZ(...); saveTorrent(builder.build(), torrentFile); } private void saveTorrent(TorrentMetadata torrent, Path file) throws IOException { try (FileOutputStream fos = new FileOutputStream(file.toFile())) { fos.write(new TorrentSerializer().serialize(torrent)); } }
The WebSeeds are missing in the saved torrent file.
Hi there,
you added "support" for Web-Seeds here: https://github.com/mpetazzoni/ttorrent/pull/240/commits/ebb5c29149bd6b7afcd8184ba2c40e408f0d2e3b
But you forgot to add it in (at least) TorrentMetadata and TorrentSerializer, so the info gets lost, when doing this:
The WebSeeds are missing in the saved torrent file.