Add MediaInfo

This commit is contained in:
Steffen Lange 2024-09-22 18:10:58 +02:00
parent cb98e58f74
commit 93876bfa69

14
modules/MediaInfo.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class MediaInfo extends PatchBase {
function __construct() {
parent::__construct('MediaArea.net SARL', 'MediaInfo', 'https://mediaarea.net/MediaInfo/Download');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/MediaArea/MediaInfo/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>