diff --git a/src/Service/TorrentService.php b/src/Service/TorrentService.php index 0427730..6c3d2a4 100644 --- a/src/Service/TorrentService.php +++ b/src/Service/TorrentService.php @@ -189,6 +189,11 @@ class TorrentService $keywords[] = $hash; } + if ($name = $file->getName(false)) + { + $keywords[] = $name; + } + $keywords = array_merge($keywords, $words); } }