mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
webtv: add prefered quality option for use in webtv plugins
Origin commit data
------------------
Commit: 92b69d621b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-09-19 (Sun, 19 Sep 2021)
This commit is contained in:
@@ -896,6 +896,7 @@ int CNeutrinoApp::loadSetup(const char *fname)
|
||||
g_settings.widget_fade = configfile.getBool("widget_fade", false);
|
||||
|
||||
// webtv
|
||||
g_settings.webtv_xml_quality = configfile.getInt32("webtv_xml_quality", 1280);
|
||||
g_settings.webtv_xml_auto = configfile.getInt32("webtv_xml_auto", 1);
|
||||
g_settings.webtv_xml.clear();
|
||||
int webtv_count = configfile.getInt32("webtv_xml_count", 0);
|
||||
@@ -1990,6 +1991,7 @@ void CNeutrinoApp::saveSetup(const char *fname)
|
||||
|
||||
// webtv
|
||||
CWebChannelsSetup webchannelssetup;
|
||||
configfile.setInt32("webtv_xml_quality", g_settings.webtv_xml_quality);
|
||||
configfile.setInt32("webtv_xml_auto", g_settings.webtv_xml_auto);
|
||||
int webtv_count = 0;
|
||||
for (std::list<std::string>::iterator it = g_settings.webtv_xml.begin(); it != g_settings.webtv_xml.end(); ++it)
|
||||
|
Reference in New Issue
Block a user