Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jul 30, 2024
1 parent fee3cc2 commit c57eb57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions locale/pt_BR.php
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,7 @@
$t['Destination Application Name'] = 'Destination Application Name';
$t['Destination Host'] = 'Destination Host';
$t['Destination Port'] = 'Destination Port';
$t['Details'] = 'Detalhes';
$t['Detect language from IP'] = 'Detect language from IP';
$t['Device'] = 'Device';
$t['Devices Stream Info'] = 'Devices Stream Info';
Expand Down
3 changes: 3 additions & 0 deletions plugin/AVideoPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3136,17 +3136,20 @@ public static function canRecordVideo($key)

public static function videoHLSProtectionByPass($videos_id)
{
global $_useDownloadProtectionReason;
$plugins = Plugin::getAllEnabled();
foreach ($plugins as $value) {
self::YPTstart();
$p = static::loadPlugin($value['dirName']);
if (is_object($p)) {
if($p->videoHLSProtectionByPass($videos_id)){
$_useDownloadProtectionReason[] = " videoHLSProtectionByPass {$videos_id} Plugin {$value['dirName']} return true ".__LINE__;
return true;
}
}
self::YPTend("{$value['dirName']}::" . __FUNCTION__);
}
$_useDownloadProtectionReason[] = __LINE__;
return false;
}
}
Expand Down

0 comments on commit c57eb57

Please sign in to comment.