Scrobble on completion of song if song was listened to

This commit is contained in:
simojenki
2021-07-07 17:28:26 +10:00
parent eec3313587
commit f7a1b3f52c
7 changed files with 378 additions and 108 deletions

View File

@@ -89,11 +89,11 @@ class SonosDriver {
expect(this.service.authType).toEqual("AppLink");
await request(this.server)
.get(this.stripServiceRoot(this.service.strings.uri!))
.get(this.stripServiceRoot(this.service.strings!.uri!))
.expect(200);
await request(this.server)
.get(this.stripServiceRoot(this.service.presentation.uri!))
.get(this.stripServiceRoot(this.service.presentation!.uri!))
.expect(200);
const client = await createClientAsync(`${this.service.uri}?wsdl`, {