From e5303efba301d26bfec9647488291e8ed60ff4b7 Mon Sep 17 00:00:00 2001 From: 86423355844265459587182778 <47747986+86423355844265459587182778@users.noreply.github.com> Date: Fri, 7 Feb 2020 15:16:55 +0000 Subject: [PATCH] [SoundcloudBridge] Fix returned URL and title (#1449) --- bridges/SoundcloudBridge.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bridges/SoundcloudBridge.php b/bridges/SoundcloudBridge.php index 9607d33d..99a21174 100644 --- a/bridges/SoundcloudBridge.php +++ b/bridges/SoundcloudBridge.php @@ -59,9 +59,13 @@ class SoundCloudBridge extends BridgeAbstract { return parent::getIcon(); } + public function getURI(){ + return 'https://soundcloud.com/' . $this->getInput('u'); + } + public function getName(){ if(!is_null($this->getInput('u'))) { - return self::NAME . ' - ' . $this->getInput('u'); + return $this->getInput('u') . ' - ' . self::NAME; } return parent::getName();