|
@@ -179,7 +179,6 @@ class _StationsModule extends CoreClass {
|
|
const mediaSources = [];
|
|
const mediaSources = [];
|
|
if (!config.get("experimental.soundcloud")) {
|
|
if (!config.get("experimental.soundcloud")) {
|
|
mediaSources.push(/^soundcloud:/);
|
|
mediaSources.push(/^soundcloud:/);
|
|
- mediaSources.push(/.*soundcloud.com.*/);
|
|
|
|
}
|
|
}
|
|
if (!config.get("experimental.spotify")) {
|
|
if (!config.get("experimental.spotify")) {
|
|
mediaSources.push(/^spotify:/);
|
|
mediaSources.push(/^spotify:/);
|
|
@@ -317,8 +316,7 @@ class _StationsModule extends CoreClass {
|
|
!station.currentSong ||
|
|
!station.currentSong ||
|
|
(!config.get("experimental.soundcloud") &&
|
|
(!config.get("experimental.soundcloud") &&
|
|
station.currentSong.mediaSource &&
|
|
station.currentSong.mediaSource &&
|
|
- (station.currentSong.mediaSource.startsWith("soundcloud:") ||
|
|
+ station.currentSong.mediaSource.startsWith("soundcloud:")) ||
|
|
- station.currentSong.mediaSource.indexOf("soundcloud.com") !== -1)) ||
|
|
|
|
(!config.get("experimental.spotify") &&
|
|
(!config.get("experimental.spotify") &&
|
|
station.currentSong.mediaSource &&
|
|
station.currentSong.mediaSource &&
|
|
station.currentSong.mediaSource.startsWith("spotify:"))
|
|
station.currentSong.mediaSource.startsWith("spotify:"))
|