fix closing dlna
This commit is contained in:
parent
c32b9b6d70
commit
26b231ee70
1 changed files with 4 additions and 0 deletions
|
@ -272,6 +272,10 @@ export default class ChromecastPlugin {
|
|||
if (err) throw err;
|
||||
console.log("playing ...");
|
||||
});
|
||||
if (!this.connectedHosts[device.host]) {
|
||||
this.connectedHosts[device.host] = client;
|
||||
this.activeConnections.push(client);
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue