diff --git a/apiclient.js b/apiclient.js index 7c5032f..783159c 100644 --- a/apiclient.js +++ b/apiclient.js @@ -3192,7 +3192,7 @@ class ApiClient { for (let i = 0, length = items.length; i < length; i++) { const item = items[i]; - const streamUrl; + let streamUrl; if (item.MediaType === 'Audio') { streamUrl = this.getAudioStreamUrl(item, transcodingProfile, directPlayContainers, maxBitrate, maxAudioSampleRate, maxAudioBitDepth, startPosition, enableRemoteMedia); @@ -4367,4 +4367,4 @@ function compareVersions(a, b) { return 0; } -export default ApiClient; \ No newline at end of file +export default ApiClient;