1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-03-15 04:59:40 +01:00

[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:
disk0x 2018-12-04 17:16:19 +02:00 committed by LogMANOriginal
parent 2184f523cd
commit 30e2b79c38

View File

@ -41,6 +41,9 @@ class SoundCloudBridge extends BridgeAbstract {
. '/stream?client_id='
. self::CLIENT_ID
. '">';
$item['enclosures'] = array($tracks[$i]->uri
. '/stream?client_id='
. self::CLIENT_ID);
$item['id'] = self::URI
. urlencode($this->getInput('u'))