Weird scenario where track.uri is null - save navigation to the rescue

This commit is contained in:
James Barnsley
2022-03-09 20:30:14 +13:00
parent 0bc858387a
commit 74b2658d93

View File

@ -738,7 +738,7 @@ const formatTrack = function (data) {
// Remove lower-case encoding of ':'
// See https://github.com/tkem/mopidy-dleyna/issues/72
track.uri = track.uri.replace('%3a', '%3A');
track.uri = track.uri?.replace('%3a', '%3A');
return track;
};