diff --git a/playback_m3u.php b/playback_m3u.php index d4dc419e4..13b285d3c 100644 --- a/playback_m3u.php +++ b/playback_m3u.php @@ -33,9 +33,6 @@ if (!$topic_id) { bb_die($lang['INVALID_TOPIC_ID'], 404); } -// Download mode -$dl_m3u = request_var('dl_m3u', 0); - // Getting torrent info from database $sql = 'SELECT attach_id, info_hash, info_hash_v2 FROM ' . BB_BT_TORRENTS . ' @@ -51,11 +48,6 @@ if (!$m3uFile = (new \TorrentPier\TorrServerAPI())->getM3UPath($row['attach_id'] bb_die($lang['ERROR_NO_ATTACHMENT']); } -// Start downloading -if ($dl_m3u) { - dump($m3uFile); -} - // Parse M3U file $m3uParser = new M3uParser\M3uParser(); $m3uParser->addDefaultTags();