mirror of
https://github.com/anthonyaxenov/iptv.git
synced 2024-12-22 06:15:48 +00:00
"Ссылка для ТВ" с протоколом
This commit is contained in:
parent
cfda93e022
commit
6e0e9fa04a
@ -24,10 +24,10 @@ class Playlist extends BasicPlaylist
|
||||
empty($params['pls']) && throw new \Exception(
|
||||
"Плейлист с ID=$id обязан иметь параметр pls или redirect"
|
||||
);
|
||||
$this->url = str_replace(['http://', 'https://'], '', base_url($id));
|
||||
$this->url = base_url($id);
|
||||
$this->name = empty($params['name']) ? "Плейлист #$id" : $params['name'];
|
||||
$this->desc = empty($params['desc']) ? null : $params['desc'];
|
||||
$this->pls = empty($params['pls']) ? null : $params['pls'];
|
||||
$this->pls = $params['pls'];
|
||||
$this->src = empty($params['src']) ? null : $params['src'];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user