mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#1730)
* Minor improvements * Updated * Updated * Update common.php * Update common.php * Updated * Revert "Updated" This reverts commit204d196ba5
. * Revert "Update common.php" This reverts commiteb24dc1c85
. * Updated * Updated * Update build_check_updates.php * Update build_check_updates.php * Update common.php * Update build_check_updates.php * Updated * Update CHANGELOG.md
This commit is contained in:
parent
4a076a09cc
commit
768837608b
9 changed files with 119 additions and 71 deletions
|
@ -35,7 +35,7 @@ if (!$info_hash = (string)$this->request['info_hash'] or !ctype_xdigit($info_has
|
|||
$this->ajax_die("Invalid info_hash: $info_hash");
|
||||
}
|
||||
|
||||
$isAudio = !empty($this->request['is_audio']);
|
||||
$isAudio = isset($this->request['is_audio']) && $this->request['is_audio'];
|
||||
|
||||
// Get ffprobe info from TorrServer
|
||||
$ffpInfo = (new \TorrentPier\TorrServerAPI())->getFfpInfo($info_hash, $file_index, $attach_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue