Add Open Streaming Platform
This commit is contained in:
parent
f723fe30ba
commit
e7635ef3ac
1 changed files with 14 additions and 0 deletions
14
modules/OSP.php
Normal file
14
modules/OSP.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class OSP extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Deamos', 'Open Streaming Platform', 'https://openstreamingplatform.com/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://gitlab.com/api/v4/projects/Deamos%2Fflask-nginx-rtmp-manager/releases', true))
|
||||
return $this->parse_json('tag_name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue