mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Call being played is not stopped when its group is deactivated
This commit is contained in:
parent
66c2b270e0
commit
ff28f74a8a
|
|
@ -139,12 +139,6 @@ export class AppRdioScannerService implements OnDestroy {
|
||||||
|
|
||||||
this.cleanQueue();
|
this.cleanQueue();
|
||||||
|
|
||||||
if (this.call && !(this.liveFeedMap && this.liveFeedMap[this.call.system] &&
|
|
||||||
this.liveFeedMap[this.call.system][this.call.talkgroup])) {
|
|
||||||
|
|
||||||
this.skip();
|
|
||||||
}
|
|
||||||
|
|
||||||
this.buildGroups();
|
this.buildGroups();
|
||||||
|
|
||||||
this.liveFeedStore();
|
this.liveFeedStore();
|
||||||
|
|
@ -521,6 +515,12 @@ export class AppRdioScannerService implements OnDestroy {
|
||||||
this.callQueue = this.callQueue.filter((call: RdioScannerCall) => {
|
this.callQueue = this.callQueue.filter((call: RdioScannerCall) => {
|
||||||
return this.liveFeedMap && this.liveFeedMap[call.system] && this.liveFeedMap[call.system][call.talkgroup];
|
return this.liveFeedMap && this.liveFeedMap[call.system] && this.liveFeedMap[call.system][call.talkgroup];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (this.call && !(this.liveFeedMap && this.liveFeedMap[this.call.system] &&
|
||||||
|
this.liveFeedMap[this.call.system][this.call.talkgroup])) {
|
||||||
|
|
||||||
|
this.skip();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private download(call: RdioScannerCall): void {
|
private download(call: RdioScannerCall): void {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue