diff --git a/mythtv/libs/libmythbase/mythsocket.cpp b/mythtv/libs/libmythbase/mythsocket.cpp
index 77538f6..f1c8d86 100644
a
|
b
|
bool MythSocket::SendReceiveStringList( |
346 | 346 | return false; |
347 | 347 | } |
348 | 348 | |
| 349 | #if 0 |
349 | 350 | if (!strlist.empty() && strlist[0] == "BACKEND_MESSAGE") |
350 | 351 | { |
351 | 352 | LOG(VB_GENERAL, LOG_ERR, LOC + "Got MythEvent on non-event socket"); |
352 | 353 | return false; |
353 | 354 | } |
| 355 | #endif |
354 | 356 | |
355 | 357 | return true; |
356 | 358 | } |
diff --git a/mythtv/programs/mythbackend/playbacksock.cpp b/mythtv/programs/mythbackend/playbacksock.cpp
index 65a49ac..cdb1e3d 100644
a
|
b
|
bool PlaybackSock::SendReceiveStringList( |
82 | 82 | { |
83 | 83 | QMutexLocker locker(&sockLock); |
84 | 84 | expectingreply = true; |
| 85 | |
85 | 86 | ok = sock->SendReceiveStringList(strlist); |
| 87 | while (ok && strlist[0] == "BACKEND_MESSAGE") |
| 88 | { |
| 89 | // oops, not for us |
| 90 | if (strlist.size() >= 2) |
| 91 | { |
| 92 | QString message = strlist[1]; |
| 93 | strlist.pop_front(); |
| 94 | strlist.pop_front(); |
| 95 | MythEvent me(message, strlist); |
| 96 | gCoreContext->dispatch(me); |
| 97 | } |
| 98 | |
| 99 | ok = sock->ReadStringList(strlist); |
| 100 | } |
| 101 | |
86 | 102 | expectingreply = false; |
87 | 103 | } |
88 | 104 | |