diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-15 00:06:21 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-15 00:06:21 +0200 |
commit | 876ea90a3145c64c6b6b1e9109b8b8c9e3e11ce8 (patch) | |
tree | 3072bb305d62926e5be7610b4d77178f816abb30 /service.c | |
parent | 1c1f7a0ffcc73fc5a18a55f0d278877d949a6105 (diff) | |
download | vdr-plugin-graphlcd-876ea90a3145c64c6b6b1e9109b8b8c9e3e11ce8.tar.gz vdr-plugin-graphlcd-876ea90a3145c64c6b6b1e9109b8b8c9e3e11ce8.tar.bz2 |
move service-active checks to first successful fetching of service data
Diffstat (limited to 'service.c')
-rw-r--r-- | service.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -222,8 +222,8 @@ bool cGraphLCDService::NeedsUpdate(uint64_t CurrentTime) radioLastChange = CurrentTime; p = cPluginManager::CallFirstService("RadioTextService-v1.0", NULL); if (p) { - radioActive = true; if (cPluginManager::CallFirstService("RadioTextService-v1.0", &checkRTSData)) { + radioActive = true; if ( (currRTSData.rds_info != checkRTSData.rds_info) || (currRTSData.rds_pty != checkRTSData.rds_pty) || @@ -251,8 +251,8 @@ bool cGraphLCDService::NeedsUpdate(uint64_t CurrentTime) lcrLastChange = CurrentTime; p = cPluginManager::CallFirstService("LcrService-v1.0", NULL); if (p) { - lcrActive = true; if (cPluginManager::CallFirstService("LcrService-v1.0", &checkLcrData)) { + lcrActive = true; if ( (strcmp(currLcrData.destination, checkLcrData.destination) != 0) || (strcmp(currLcrData.price, checkLcrData.price) != 0) || @@ -321,8 +321,8 @@ bool cGraphLCDService::NeedsUpdate(uint64_t CurrentTime) #endif /* GRAPHLCD_SERVICE_FEMON_VALID */ if (femonVersionValid) { - femonActive = true; if (cPluginManager::CallFirstService("FemonService-v1.0", &checkFemonData)) { + femonActive = true; if ( #if 0 (strcmp(currFemonData.fe_name, checkFemonData.fe_name) != 0) || |