summaryrefslogtreecommitdiff
path: root/setup.cpp
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-11-19 18:53:09 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-11-19 18:53:09 +0100
commita5c871c47c721e1179bee7c4695169dd3344c0c2 (patch)
treec99be1c122c7ba57791ff68c512b661125acbcb6 /setup.cpp
parentda560175d35965dbca9856f7192e0da172fa7d32 (diff)
downloadvdr-plugin-live-a5c871c47c721e1179bee7c4695169dd3344c0c2.tar.gz
vdr-plugin-live-a5c871c47c721e1179bee7c4695169dd3344c0c2.tar.bz2
new setup option to display channels without EPG
Diffstat (limited to 'setup.cpp')
-rw-r--r--setup.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.cpp b/setup.cpp
index ff4d356..2be03cd 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -40,7 +40,8 @@ Setup::Setup():
m_useStreamdev(1),
m_streamdevPort(3000),
m_streamdevType(),
- m_showIMDb(1)
+ m_showIMDb(1),
+ m_showChannelsWithoutEPG(0)
{
m_adminPasswordMD5 = "4:" + MD5Hash("live");
liveplugin = cPluginManager::GetPlugin("live");
@@ -123,6 +124,7 @@ bool Setup::ParseSetupEntry( char const* name, char const* value )
else if ( strcmp( name, "StreamdevType" ) == 0 ) { m_streamdevType = value; }
else if ( strcmp( name, "ScreenShotInterval" ) == 0 ) { m_screenshotInterval = atoi(value); }
else if ( strcmp( name, "ShowIMDb" ) == 0 ) { m_showIMDb = atoi(value); }
+ else if ( strcmp( name, "ShowChannelsWithoutEPG" ) == 0 ) { m_showChannelsWithoutEPG = atoi(value); }
else return false;
return true;
}
@@ -266,6 +268,7 @@ bool Setup::SaveSetup()
liveplugin->SetupStore("StreamdevType", m_streamdevType.c_str());
liveplugin->SetupStore("ScreenShotInterval", m_screenshotInterval);
liveplugin->SetupStore("ShowIMDb", m_showIMDb);
+ liveplugin->SetupStore("ShowChannelsWithoutEPG", m_showChannelsWithoutEPG);
return true;
}