Add ReadyMedia
This commit is contained in:
parent
2bd4db43a0
commit
844c51f943
1 changed files with 14 additions and 0 deletions
14
modules/Minidlna.php
Normal file
14
modules/Minidlna.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Minidlna extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Justin Maggard', 'ReadyMedia', 'https://sourceforge.net/projects/minidlna/files/');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://sourceforge.net/projects/minidlna/files/latest/download'))
|
||||||
|
return $this->parse('/<div class="file-name">\s*minidlna-([\d\.]+)\.tar\.gz\s*<\/div>/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue