2016-11-21 18:56:56 +01:00
|
|
|
<?php
|
2020-10-15 00:19:31 +02:00
|
|
|
|
2021-07-19 07:53:45 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2018-08-05 00:05:14 +02:00
|
|
|
namespace App\Radio\Frontend;
|
2016-11-21 18:56:56 +01:00
|
|
|
|
2018-09-22 13:52:43 +02:00
|
|
|
use App\Entity;
|
2018-10-05 01:12:12 +02:00
|
|
|
use GuzzleHttp\Psr7\Uri;
|
|
|
|
use Psr\Http\Message\UriInterface;
|
2018-09-22 13:52:43 +02:00
|
|
|
|
2018-12-27 09:24:07 +01:00
|
|
|
class Remote extends AbstractFrontend
|
2016-11-21 18:56:56 +01:00
|
|
|
{
|
2021-01-24 17:40:30 +01:00
|
|
|
public function isInstalled(): bool
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2018-10-05 01:12:12 +02:00
|
|
|
public function getStreamUrl(Entity\Station $station, UriInterface $base_url = null): UriInterface
|
2018-09-07 03:39:49 +02:00
|
|
|
{
|
2018-10-05 01:12:12 +02:00
|
|
|
return new Uri('');
|
2018-09-07 03:39:49 +02:00
|
|
|
}
|
2017-10-22 10:32:12 +02:00
|
|
|
|
2020-10-15 00:19:31 +02:00
|
|
|
/**
|
|
|
|
* @inheritDoc
|
|
|
|
*/
|
2018-10-05 01:12:12 +02:00
|
|
|
public function getStreamUrls(Entity\Station $station, UriInterface $base_url = null): array
|
2017-10-22 10:32:12 +02:00
|
|
|
{
|
2018-09-22 13:52:43 +02:00
|
|
|
return [];
|
2017-10-22 10:32:12 +02:00
|
|
|
}
|
|
|
|
|
2018-10-05 01:12:12 +02:00
|
|
|
public function getAdminUrl(Entity\Station $station, UriInterface $base_url = null): UriInterface
|
2017-10-22 10:32:12 +02:00
|
|
|
{
|
2018-10-05 01:12:12 +02:00
|
|
|
return new Uri('');
|
2017-10-22 10:32:12 +02:00
|
|
|
}
|
2018-08-05 00:05:14 +02:00
|
|
|
}
|