aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/db.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-30 12:42:58 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-11-30 12:42:58 +0000
commitcd883d9759844701ef57afa0cb03de7722acc5e5 (patch)
tree6caa2f72d44597fee60c6a3ab28b9c8476f52003 /lib/dvb/db.cpp
parent496ab246034f94b00ab437d20e84710c7513511c (diff)
downloadenigma2-cd883d9759844701ef57afa0cb03de7722acc5e5.tar.gz
enigma2-cd883d9759844701ef57afa0cb03de7722acc5e5.zip
some changes for service groups
Diffstat (limited to 'lib/dvb/db.cpp')
-rw-r--r--lib/dvb/db.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp
index 39a0d3ee..07546a39 100644
--- a/lib/dvb/db.cpp
+++ b/lib/dvb/db.cpp
@@ -81,7 +81,7 @@ RESULT eBouquet::flushChanges()
{
eServiceReference tmp = *i;
std::string str = tmp.path;
- if ( (i->flags&eServiceReference::flagDirectory) == eServiceReference::flagDirectory )
+ if ( i->flags&eServiceReference::canDescent )
{
unsigned int p1 = str.find("FROM BOUQUET \"");
if (p1 == std::string::npos)
@@ -642,7 +642,7 @@ void eDVBDB::loadBouquet(const char *path)
eDebug("only DVB Bouquets supported");
continue;
}
- if ( (tmp.flags&eServiceReference::flagDirectory) == eServiceReference::flagDirectory )
+ if ( tmp.flags&eServiceReference::canDescent )
{
unsigned int pos = tmp.path.rfind('/');
if ( pos != std::string::npos )
@@ -679,6 +679,8 @@ void eDVBDB::loadBouquet(const char *path)
void eDVBDB::reloadBouquets()
{
m_bouquets.clear();
+ loadBouquet("groups.tv");
+ loadBouquet("groups.radio");
loadBouquet("bouquets.tv");
loadBouquet("bouquets.radio");
// create default bouquets when missing