Add SMPlayer

This commit is contained in:
Steffen Lange 2023-02-20 13:47:18 +01:00
parent ba9d82662e
commit 7ca732654e

14
modules/SMPlayer.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class SMPlayer extends PatchBase {
function __construct() {
parent::__construct('Ricardo Villalba', 'SMPlayer', 'https://celestia.space/download.html');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/smplayer-dev/smplayer/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>