Skip to content

Commit 3e944f3

Browse files
authored
Fix trackypes for streaming services
1 parent 0cf482c commit 3e944f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/plugins/music_service/mpd/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,9 @@ ControllerMpd.prototype.parseTrackInfo = function (objTrackInfo) {
383383
if (resp.uri.indexOf('cdda:///') >= 0) {
384384
resp.trackType = 'CD Audio';
385385
resp.title = resp.uri.replace('cdda:///', 'Track ');
386-
} else if (resp.uri.indexOf('qobuz.com') >= 0) {
386+
} else if (resp.uri.indexOf('qobuz') >= 0) {
387387
resp.trackType = 'qobuz';
388-
} else if (resp.uri.indexOf('tidal.com') >= 0) {
388+
} else if (resp.uri.indexOf('tidal') >= 0) {
389389
resp.trackType = 'tidal';
390390
} else if (resp.uri.indexOf('http://') >= 0) {
391391
resp.service = 'dirble';

0 commit comments

Comments
 (0)