mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 18:20:31 -05:00
add: torrent folder name to files list
This commit is contained in:
@@ -141,6 +141,7 @@ class TorrentController extends BaseController
|
||||
$torrent->info_hash = $infohash;
|
||||
$torrent->file_name = $fileName;
|
||||
$torrent->num_file = $meta['count'];
|
||||
$torrent->folder = Bencode::get_name($decodedTorrent);
|
||||
$torrent->announce = $decodedTorrent['announce'];
|
||||
$torrent->size = $meta['size'];
|
||||
$torrent->nfo = ($request->hasFile('nfo')) ? TorrentTools::getNfo($request->file('nfo')) : '';
|
||||
|
||||
Reference in New Issue
Block a user