mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
fix reload webchannels
Origin commit data
------------------
Commit: f19cf3a8fb
Author: TangoCash <eric@loxat.de>
Date: 2024-06-02 (Sun, 02 Jun 2024)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
# Conflicts:
# src/gui/webchannels_setup.cpp
This commit is contained in:
@@ -304,6 +304,10 @@ int CWebChannelsSetup::Show()
|
|||||||
g_settings.webtv_xml = webchannels;
|
g_settings.webtv_xml = webchannels;
|
||||||
}
|
}
|
||||||
webchannels_auto();
|
webchannels_auto();
|
||||||
|
if (webradio)
|
||||||
|
CZapit::getInstance()->SetWebRadioXML(&g_settings.webradio_xml);
|
||||||
|
else
|
||||||
|
CZapit::getInstance()->SetWebTVXML(&g_settings.webtv_xml);
|
||||||
g_Zapit->reinitChannels();
|
g_Zapit->reinitChannels();
|
||||||
CNeutrinoApp::getInstance()->xmltv_xml_auto_readepg();
|
CNeutrinoApp::getInstance()->xmltv_xml_auto_readepg();
|
||||||
changed = false;
|
changed = false;
|
||||||
|
@@ -304,6 +304,8 @@ class CZapit : public OpenThreads::Thread
|
|||||||
void Rezap();
|
void Rezap();
|
||||||
std::list<std::string> *GetWebTVXML(void) { return webtv_xml; }
|
std::list<std::string> *GetWebTVXML(void) { return webtv_xml; }
|
||||||
std::list<std::string> *GetWebRadioXML(void) { return webradio_xml; }
|
std::list<std::string> *GetWebRadioXML(void) { return webradio_xml; }
|
||||||
|
void SetWebTVXML(std::list<std::string> *xml) { webtv_xml = xml; }
|
||||||
|
void SetWebRadioXML(std::list<std::string> *xml) { webradio_xml = xml; }
|
||||||
bool getUseChannelFilter();
|
bool getUseChannelFilter();
|
||||||
void setMoviePlayer(bool enable);
|
void setMoviePlayer(bool enable);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user