mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
connection runs as thread, so it must not use Skins.Message
This commit is contained in:
parent
a16d47d320
commit
d29fecc0a6
@ -306,7 +306,7 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority)
|
||||
if (!Channels.SwitchTo(current->Number())) {
|
||||
if (StreamdevServerSetup.SuspendMode == smAlways) {
|
||||
Channels.SwitchTo(Channel->Number());
|
||||
Skins.Message(mtInfo, tr("Streaming active"));
|
||||
Skins.QueueMessage(mtInfo, tr("Streaming active"));
|
||||
}
|
||||
else {
|
||||
dsyslog("streamdev: GetDevice: Live TV not suspended");
|
||||
@ -321,7 +321,7 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority)
|
||||
}
|
||||
else if (StreamdevServerSetup.SuspendMode == smAlways) {
|
||||
Channels.SwitchTo(Channel->Number());
|
||||
Skins.Message(mtInfo, tr("Streaming active"));
|
||||
Skins.QueueMessage(mtInfo, tr("Streaming active"));
|
||||
}
|
||||
else {
|
||||
dsyslog("streamdev: GetDevice: Live TV not suspended");
|
||||
|
Loading…
Reference in New Issue
Block a user