connection runs as thread, so it must not use Skins.Message

This commit is contained in:
Frank Schmirler 2011-01-14 17:03:17 +01:00
parent 9fbc166848
commit 316a1f884f

View File

@ -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");