[SoundcloudBridge] Add RSS enclosures (#952)
Minimum viable code change to get SoundcloudBridge produce feeds that podcatchers like gPodder can understand.
This commit is contained in:
parent
2184f523cd
commit
30e2b79c38
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ class SoundCloudBridge extends BridgeAbstract {
|
||||||
. '/stream?client_id='
|
. '/stream?client_id='
|
||||||
. self::CLIENT_ID
|
. self::CLIENT_ID
|
||||||
. '">';
|
. '">';
|
||||||
|
$item['enclosures'] = array($tracks[$i]->uri
|
||||||
|
. '/stream?client_id='
|
||||||
|
. self::CLIENT_ID);
|
||||||
|
|
||||||
$item['id'] = self::URI
|
$item['id'] = self::URI
|
||||||
. urlencode($this->getInput('u'))
|
. urlencode($this->getInput('u'))
|
||||||
|
|
Loading…
Reference in a new issue