summaryrefslogtreecommitdiff
path: root/setup.cpp
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-12-16 23:49:24 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-12-16 23:49:24 +0000
commit06df85b5eadb9f088793df157b1dc5523a626db5 (patch)
treeb17b08bd6422f3da22a8bda037b2c7120d391b1b /setup.cpp
parent0e2f88d8e717b1b3cbfbc6280eac932d31dfb631 (diff)
downloadvdr-plugin-live-06df85b5eadb9f088793df157b1dc5523a626db5.tar.gz
vdr-plugin-live-06df85b5eadb9f088793df157b1dc5523a626db5.tar.bz2
- Adapted Rolf Ahrenbergs patch for VLC streaming to current LIVE
development status. See Bug #343. This will need some additional tweaking.
Diffstat (limited to 'setup.cpp')
-rw-r--r--setup.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/setup.cpp b/setup.cpp
index 5dea426..f160a72 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -32,7 +32,9 @@ Setup::Setup():
m_tntnetloglevel("INFO"),
m_showLogo(1),
m_useAjax(1),
- m_showInfoBox(1)
+ m_showInfoBox(1),
+ m_useStreamdev(1),
+ m_streamdevPort(3000)
{
m_adminPasswordMD5 = "4:" + MD5Hash("live");
liveplugin = cPluginManager::GetPlugin("live");
@@ -94,6 +96,8 @@ bool Setup::ParseSetupEntry( char const* name, char const* value )
else if ( strcmp( name, "ShowLogo" ) == 0 ) { m_showLogo = atoi(value); }
else if ( strcmp( name, "UseAjax" ) == 0 ) { m_useAjax = atoi(value); }
else if ( strcmp( name, "ShowInfoBox" ) == 0 ) { m_showInfoBox = atoi(value); }
+ else if ( strcmp( name, "UseStreamdev" ) == 0 ) { m_useStreamdev = atoi(value); }
+ else if ( strcmp( name, "StreamdevPort" ) == 0 ) { m_streamdevPort = atoi(value); }
else if ( strcmp( name, "ScreenShotInterval" ) == 0 ) { m_screenshotInterval = atoi(value); }
else return false;
return true;
@@ -221,6 +225,8 @@ bool Setup::SaveSetup()
liveplugin->SetupStore("ShowLogo", m_showLogo);
liveplugin->SetupStore("UseAjax", m_useAjax);
liveplugin->SetupStore("ShowInfoBox", m_showInfoBox);
+ liveplugin->SetupStore("UseStreamdev", m_useStreamdev);
+ liveplugin->SetupStore("StreamdevPort", m_streamdevPort);
liveplugin->SetupStore("ScreenShotInterval", m_screenshotInterval);
return true;