fix closing dlna

This commit is contained in:
vapormusic 2022-08-31 17:49:47 +07:00
parent c32b9b6d70
commit 26b231ee70

View file

@ -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) {}
}
}