Add SongRec

This commit is contained in:
Steffen Lange 2021-10-06 01:11:27 +02:00
parent 452cb7ffd9
commit c71525b9d1

14
modules/SongRec.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class SongRec extends PatchBase {
function __construct() {
parent::__construct('Marin Moulinier', 'SongRec', 'https://github.com/marin-m/SongRec');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/marin-m/SongRec/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>