From 3daabbc97ea9a2ab8c328f2b50db8ea0b65dfad2 Mon Sep 17 00:00:00 2001 From: seife Date: Sat, 5 Mar 2011 12:19:47 +0000 Subject: [PATCH] sectionsd: #if 0 unused BouquetFilter code git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1247 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/sectionsd/sectionsd.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/sectionsd/sectionsd.cpp b/src/sectionsd/sectionsd.cpp index 8c4ca2bf9..4123ff5a7 100644 --- a/src/sectionsd/sectionsd.cpp +++ b/src/sectionsd/sectionsd.cpp @@ -179,7 +179,7 @@ static int scanning = 1; std::string epg_filter_dir = "/var/tuxbox/config/zapit/epgfilter.xml"; static bool epg_filter_is_whitelist = false; static bool epg_filter_except_current_next = false; -static bool bouquet_filter_is_whitelist = false; +// static bool bouquet_filter_is_whitelist = false; static bool messaging_zap_detected = false; std::string dvbtime_filter_dir = "/var/tuxbox/config/zapit/dvbtimefilter.xml"; @@ -589,7 +589,6 @@ static void removeEPGFilter(t_original_network_id onid, t_transport_stream_id ts { } -#endif struct ExceptService { @@ -647,6 +646,7 @@ static void addBouquetFilter(t_bouquet_id bid) CurrentBouquetFilter = node; } } +#endif // Loescht ein Event aus allen Mengen static bool deleteEvent(const event_id_t uniqueKey) @@ -8397,6 +8397,7 @@ static void readDVBTimeFilter(void) } } +#if 0 static void readBouquetFilter(void) { xmlDocPtr filter_parser = parseXmlFile("/var/tuxbox/config/mybouquets.xml"); @@ -8490,7 +8491,7 @@ static void readBouquetFilter(void) } xmlFreeDoc(filter_parser); } -#if 0 + static void printHelp(void) { printf("\nUsage: sectionsd [-d][-nu]\n\n"); @@ -8587,7 +8588,9 @@ void sectionsd_main_thread(void */*data*/) readEPGFilter(); readDVBTimeFilter(); +#if 0 readBouquetFilter(); +#endif readEncodingFile(); if (!sectionsd_server.prepare(SECTIONSD_UDS_NAME)) {