From b96ed08694e1f89a7606fa610bd0b7da87e1e38a Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 4 Nov 2023 15:02:38 +0200 Subject: [PATCH] apply Bencode library update --- src/Controller/TorrentController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Controller/TorrentController.php b/src/Controller/TorrentController.php index e577e4a..4b49411 100644 --- a/src/Controller/TorrentController.php +++ b/src/Controller/TorrentController.php @@ -204,7 +204,9 @@ class TorrentController extends AbstractController 'private' => $file->isPrivate(), 'source' => $file->getSource(), 'comment' => $file->getComment(), - 'tree' => $file->getFileTree(), + 'tree' => $file->getFileTree( + \Rhilip\Bencode\TorrentFile::FILETREE_SORT_NATURAL // #34 @TODO cyrillic + ), //'trackers' => $file->getAnnounceList(), 'hash' => [