mirror of
https://github.com/timendum/Youtube-dl-WebUI.git
synced 2025-02-28 23:53:10 +08:00
Changed way of identification of 100%
This commit is contained in:
parent
97be4c4a3b
commit
00170f3c2e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class FileHandler
|
|||
|
||||
try {
|
||||
$lines = explode("\r", file_get_contents($file));
|
||||
$content["100"] = strpos($lines[count($lines)-1], ' in ') > 0;
|
||||
$content["100"] = strpos($lines[count($lines)-1], ' 100% of ') > 0;
|
||||
} catch (Exception $e) {
|
||||
$content["100"] = False;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue