diff options
Diffstat (limited to 'abs/core/mythinstall/MythVantage-app/mythinstall/installsettings.cpp')
-rwxr-xr-x | abs/core/mythinstall/MythVantage-app/mythinstall/installsettings.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/mythinstall/MythVantage-app/mythinstall/installsettings.cpp b/abs/core/mythinstall/MythVantage-app/mythinstall/installsettings.cpp index 3592f09..ca809d4 100755 --- a/abs/core/mythinstall/MythVantage-app/mythinstall/installsettings.cpp +++ b/abs/core/mythinstall/MythVantage-app/mythinstall/installsettings.cpp @@ -1157,6 +1157,15 @@ static HostCheckBox *HostXBMC() return gc; }; +static HostCheckBox *HostPLEXHT() +{ + HostCheckBox *gc = new HostCheckBox("HostPLEXHT"); + gc->setLabel(QObject::tr("Plex Home Theater")); + gc->setValue(false); + gc->setHelpText(QObject::tr("Plex organizes all of your personal media, wherever you keep it, so you can enjoy it on any device.")); + return gc; +}; + static HostComboBox *Hostfoldingusername() { // If there is an old R5.5 style folding directory /myth/folding@home, attempt @@ -3993,6 +4002,7 @@ void writesettings () hostparm.ThisHostHuluDesktop = gCoreContext->GetSetting("HostHuluDesktop"); hostparm.ThisHostwebonlinhes = gCoreContext->GetSetting("HostWebonlinhes"); hostparm.ThisHostXBMC = gCoreContext->GetSetting("HostXBMC"); + hostparm.ThisHostPLEXHT = gCoreContext->GetSetting("HostPLEXHT"); hostparm.ThisHostfoldingathome = gCoreContext->GetSetting("Hostfoldingathome"); hostparm.ThisHostfoldingusername = gCoreContext->GetSetting("Hostfoldingusername"); @@ -4326,6 +4336,7 @@ void writesettings () myfile << "webonlinhes=\"" + hostparm.ThisHostwebonlinhes + "\"\n"; myfile << "huludesktop=\"" + hostparm.ThisHostHuluDesktop + "\"\n"; myfile << "xbmc=\"" + hostparm.ThisHostXBMC + "\"\n"; + myfile << "plex=\"" + hostparm.ThisHostPLEXHT + "\"\n"; myfile << "foldingathome=\"" + hostparm.ThisHostfoldingathome + "\"\n"; myfile << "foldingusername=\"" + hostparm.ThisHostfoldingusername + "\"\n"; myfile << "foldingworksize=\"" + hostparm.ThisHostfoldingworksize + "\"\n"; @@ -4748,6 +4759,7 @@ MythInstallSettings::MythInstallSettings() //GridShowPlugin4->addChild(HostMiro()); //GridShowPlugin4->addChild(HostXine()); GridShowPlugin4->addChild(HostHuluDesktop()); + GridShowPlugin4->addChild(HostPLEXHT()); GridShowPlugin4->addChild(Hostwebmin()); GridShowPlugin4->addChild(Hostwebonlinhes()); GridShowPlugin4->addChild(HostXBMC()); |