Minor improvements (#1730)

* Minor improvements

* Updated

* Updated

* Update common.php

* Update common.php

* Updated

* Revert "Updated"

This reverts commit 204d196ba5.

* Revert "Update common.php"

This reverts commit eb24dc1c85.

* 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:
Roman Kelesidis 2025-01-01 20:52:34 +07:00 committed by GitHub
commit 768837608b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 119 additions and 71 deletions

View file

@ -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);