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
9fbc166848
commit
316a1f884f
@ -306,7 +306,7 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority)
|
|||||||
if (!Channels.SwitchTo(current->Number())) {
|
if (!Channels.SwitchTo(current->Number())) {
|
||||||
if (StreamdevServerSetup.SuspendMode == smAlways) {
|
if (StreamdevServerSetup.SuspendMode == smAlways) {
|
||||||
Channels.SwitchTo(Channel->Number());
|
Channels.SwitchTo(Channel->Number());
|
||||||
Skins.Message(mtInfo, tr("Streaming active"));
|
Skins.QueueMessage(mtInfo, tr("Streaming active"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
dsyslog("streamdev: GetDevice: Live TV not suspended");
|
dsyslog("streamdev: GetDevice: Live TV not suspended");
|
||||||
@ -321,7 +321,7 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority)
|
|||||||
}
|
}
|
||||||
else if (StreamdevServerSetup.SuspendMode == smAlways) {
|
else if (StreamdevServerSetup.SuspendMode == smAlways) {
|
||||||
Channels.SwitchTo(Channel->Number());
|
Channels.SwitchTo(Channel->Number());
|
||||||
Skins.Message(mtInfo, tr("Streaming active"));
|
Skins.QueueMessage(mtInfo, tr("Streaming active"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
dsyslog("streamdev: GetDevice: Live TV not suspended");
|
dsyslog("streamdev: GetDevice: Live TV not suspended");
|
||||||
|
Loading…
Reference in New Issue
Block a user