diff --git a/src/Controller/TorrentController.php b/src/Controller/TorrentController.php index a328cbc..1b8e77a 100644 --- a/src/Controller/TorrentController.php +++ b/src/Controller/TorrentController.php @@ -299,6 +299,11 @@ class TorrentController extends AbstractController [ 'name' => $file->getName(), 'size' => $file->getSize(), + 'hash' => + [ + 'v1' => $file->getInfoHashV1(false), + 'v2' => $file->getInfoHashV2(false) + ], ], 'scrape' => [