This commit is contained in:
Steffen Lange 2020-04-28 18:49:34 +02:00
parent 47af608db2
commit 37dfa2060a

14
modules/Kodi.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Kodi extends PatchBase {
function __construct() {
parent::__construct('XBMC Foundation', 'Kodi', 'https://kodi.tv/download');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/xbmc/xbmc/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>