mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
add option to load E2 & M3U iptv lists directly as webtv
Conflicts: src/zapit/src/bouquets.cpp Signed-off-by: Thilo Graf <dbt@novatux.de> - fixed some line indentation errors - line 967 contains possible error: operation on ‘iColon’ may be undefined [-Werror=sequence-point]
This commit is contained in:
@@ -78,6 +78,8 @@ int CWebTVSetup::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
CFileBrowser fileBrowser;
|
||||
CFileFilter fileFilter;
|
||||
fileFilter.addFilter("xml");
|
||||
fileFilter.addFilter("tv");
|
||||
fileFilter.addFilter("m3u");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
selected = m->getSelected();
|
||||
CMenuItem* item = m->getItem(selected);
|
||||
@@ -95,6 +97,8 @@ int CWebTVSetup::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
CFileBrowser fileBrowser;
|
||||
CFileFilter fileFilter;
|
||||
fileFilter.addFilter("xml");
|
||||
fileFilter.addFilter("tv");
|
||||
fileFilter.addFilter("m3u");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
if (fileBrowser.exec(g_settings.last_webtv_dir.c_str()) == true) {
|
||||
std::string s = fileBrowser.getSelectedFile()->Name;
|
||||
|
Reference in New Issue
Block a user