@svrooij/sonos
Advanced tools
Comparing version 2.4.1 to 2.4.2-beta.1
@@ -1215,3 +1215,9 @@ "use strict"; | ||
} | ||
await this.AVTransportService.SetAVTransportURI({ InstanceID: 0, CurrentURI: originalMediaInfo.CurrentURI, CurrentURIMetaData: originalMediaInfo.CurrentURIMetaData }); | ||
await this.AVTransportService.SetAVTransportURI({ | ||
InstanceID: 0, | ||
CurrentURI: originalMediaInfo.CurrentURI, | ||
CurrentURIMetaData: originalMediaInfo.CurrentURIMetaData, | ||
}).catch((err) => { | ||
this.debug('Error settingAVTransportURI, but this shouldn\'t stop the queue: %o', err); | ||
}); | ||
if (options.delayMs !== undefined) | ||
@@ -1234,3 +1240,5 @@ await async_helper_1.default.Delay(options.delayMs); | ||
if (originalState === models_1.TransportState.Playing || originalState === models_1.TransportState.Transitioning) { | ||
await this.AVTransportService.Play({ InstanceID: 0, Speed: '1' }); | ||
await this.AVTransportService.Play({ InstanceID: 0, Speed: '1' }).catch((err) => { | ||
this.debug('Reverting back track time failed, happens for some music services (radio or stream). %o', err); | ||
}); | ||
} | ||
@@ -1237,0 +1245,0 @@ } |
{ | ||
"name": "@svrooij/sonos", | ||
"version": "2.4.1", | ||
"version": "2.4.2-beta.1", | ||
"description": "A node library to control your sonos devices, written in typescript", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
437297
10298
1