Skip to content

Commit

Permalink
[SoundcloudBridge] Add RSS enclosures (#952)
Browse files Browse the repository at this point in the history
Minimum viable code change to get SoundcloudBridge produce feeds that podcatchers like gPodder can understand.
  • Loading branch information
disk0x authored and logmanoriginal committed Dec 4, 2018
1 parent 2184f52 commit 30e2b79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bridges/SoundcloudBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public function collectData(){
. '/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'))
Expand Down

0 comments on commit 30e2b79

Please sign in to comment.