1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Robustify the server discovery.

This commit is contained in:
Rolf Ahrenberg 2015-03-02 20:08:21 +02:00
parent 8184a785b7
commit f4dd02a9aa
3 changed files with 8 additions and 1 deletions

View File

@ -120,3 +120,7 @@ VDR Plugin 'satip' Revision History
- Fixed memory deallocation errors. - Fixed memory deallocation errors.
- Cleaned up all scan-build warnings. - Cleaned up all scan-build warnings.
- Refactored the frontend handling. - Refactored the frontend handling.
2015-XX-XX: Version 2.2.1
- Robustify the server discovery.

View File

@ -45,6 +45,9 @@ void cSatipMsearch::Probe(void)
cSatipPoller::GetInstance()->Register(*this); cSatipPoller::GetInstance()->Register(*this);
registeredM = true; registeredM = true;
} }
// Send two queries with one second interval
Write(bcastAddressS, reinterpret_cast<const unsigned char *>(bcastMessageS), strlen(bcastMessageS));
cCondWait::SleepMs(1000);
Write(bcastAddressS, reinterpret_cast<const unsigned char *>(bcastMessageS), strlen(bcastMessageS)); Write(bcastAddressS, reinterpret_cast<const unsigned char *>(bcastMessageS), strlen(bcastMessageS));
} }

View File

@ -27,7 +27,7 @@
#define GITVERSION "" #define GITVERSION ""
#endif #endif
const char VERSION[] = "2.2.0" GITVERSION; const char VERSION[] = "2.2.1" GITVERSION;
static const char DESCRIPTION[] = trNOOP("SAT>IP Devices"); static const char DESCRIPTION[] = trNOOP("SAT>IP Devices");
class cPluginSatip : public cPlugin { class cPluginSatip : public cPlugin {