[SoundcloudBridge] Fix returned URL and title (#1449)
This commit is contained in:
parent
5bd07723ad
commit
e5303efba3
1 changed files with 5 additions and 1 deletions
|
@ -59,9 +59,13 @@ class SoundCloudBridge extends BridgeAbstract {
|
||||||
return parent::getIcon();
|
return parent::getIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getURI(){
|
||||||
|
return 'https://soundcloud.com/' . $this->getInput('u');
|
||||||
|
}
|
||||||
|
|
||||||
public function getName(){
|
public function getName(){
|
||||||
if(!is_null($this->getInput('u'))) {
|
if(!is_null($this->getInput('u'))) {
|
||||||
return self::NAME . ' - ' . $this->getInput('u');
|
return $this->getInput('u') . ' - ' . self::NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
return parent::getName();
|
return parent::getName();
|
||||||
|
|
Loading…
Reference in a new issue