mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-03 23:09:18 +02:00
fix(op3): remove scheme when wraping audio URI
This commit is contained in:
parent
964cbba54f
commit
0ad22e49bc
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ class OP3
|
|||
|
||||
public function wrap(URI $audioURI, Episode $episode): string
|
||||
{
|
||||
// remove scheme from audioURI
|
||||
$audioURI->setScheme('');
|
||||
|
||||
return $this->host . '/e,pg=' . $episode->podcast->guid . '/' . $audioURI;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue