Commit Graph

13440 Commits

Author SHA1 Message Date
BPanther
609d6c4a7c DMX_PIP_CHANNEL removed, DMX_VIDEO_CHANNEL does the same 2021-10-03 17:02:39 +02:00
svenhoefer
79a63aef0a - neutrino: remove stop_lcd4l_support(void) function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 17:02:39 +02:00
svenhoefer
a97d3db67d - neutrino: more verbose console messages in Cleanup() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 17:02:39 +02:00
svenhoefer
2a49ff0369 - moviebrowser: remove inactive code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 17:02:39 +02:00
svenhoefer
2121698c49 - hintbox: remove obsolete include
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 17:02:39 +02:00
svenhoefer
3f34ab5877 - change some hintboxes
Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>

I'm not enthused of this solution to misuse the CHint destructor since
commit 1cb25e7cd3 "- hintbox: add setDelay() prototype".
I think such tasks with delay impact are not the designation of
destructors and avoidable. Unless it is absolutely necessary.
Therefore, I think this is only a temporary solution.
2021-10-03 17:02:07 +02:00
svenhoefer
887d2f1cb5 - hintbox: setDelay() prototype v2
Signed-off-by: Thilo Graf <dbt@novatux.de>

see commit message at: - change some hintboxes
2021-10-03 17:00:27 +02:00
svenhoefer
1cb25e7cd3 - hintbox: add setDelay() prototype
Signed-off-by: Thilo Graf <dbt@novatux.de>

see commit message at: - change some hintboxes
2021-10-03 17:00:03 +02:00
svenhoefer
ab0d178d58 - neutrino: use simple hintboxes w/o header
To avoid the sleep command, a call hint->setDelay(1) nice. :)

 Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 11:51:45 +02:00
Thilo Graf
b7e837d82b hintbox: expand ShowHintS() with slot parameter
This allows to execute one ore more methods inside the ShowHintS() method.
This should simplify calls of CHint messages with or without hide delays
In the simplest or most cases, only one code line is necessary for this,
see examples inside test_menu.cpp or here:

Single methode:
old:
CHintBox *hintBox new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SERVICEMENU_GETPLUGINS_HINT));
hintBox->paint();
g_Plugins->loadPlugins();
sleep(1);
hintBox->.hide();
delete hintbox;

new:
ShowHintS(LOCALE_SERVICEMENU_GETPLUGINS_HINT, 1, true, sigc::mem_fun(g_Plugins, &CPlugins::loadPlugins));

Multiple methods:
old:
	CHint *hint = new CHint("Restart Tuner");
	hint->paint();
	g_Zapit->setStandby(true);
	sleep(2);
	g_Zapit->setStandby(false);
	sleep(2);
	g_Zapit->Rezap();
	delete hint;

new:
	std::vector <hint_message_data_t> hints;
	hints.push_back({sigc::bind(sigc::mem_fun(g_Zapit, &CZapitClient::setStandby), true),"Stopping tuner...", NONEXISTANT_LOCALE, 2, true});
	hints.push_back({sigc::bind(sigc::mem_fun(g_Zapit, &CZapitClient::setStandby), false), "Start tuner...", NONEXISTANT_LOCALE, 2, true});
	hints.push_back({sigc::hide_return(sigc::mem_fun(g_Zapit, &CZapitClient::Rezap)), "Rezap...", NONEXISTANT_LOCALE, 2, true});
	ShowHintS(hints);

slots can be used with sigc::bind, sigc::hide_return (or what ever) too.
sample slot:
sigc::slot<void> sl = sigc::bind(sigc::mem_fun(this, &ClassName::method), parameter);

Note: Usage of namespace sigc are doing to simplify the lines,
      but this is a matter of discretion.

TODO: - timeoutbar should visualize a kind of busy mode.
      - implemetations
2021-10-03 11:50:48 +02:00
Thilo Graf
b23fcc7c7c testmenu: add CHint demos 2021-10-03 11:14:47 +02:00
svenhoefer
f48c390e47 - helpers: simplify: add url to curl error log
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 11:12:59 +02:00
TangoCash
e750dceea2 add url to curl error log 2021-10-01 22:00:12 +02:00
Thilo Graf
e42d4570cd moviebrowser: simplify user guidance with sort menue
It's always easier to use  blindly the cross control buttons,
than looking for the colored buttons on the remote control.
Nothing will change for users who want to use the colored keys directly,
but they will get used to it.
This was a directly user request.
2021-10-01 22:00:10 +02:00
Thilo Graf
b72bd0fbe2 zapit: add missing delete ait
Possible leak detected with LeakSanitizer
2021-10-01 22:00:03 +02:00
svenhoefer
dc222187e6 - configure: rename ENABLE_HBBTV => ENABLE_AIT
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-01 21:59:56 +02:00
max_10
4a18629847 - make ait scan for hbbtv url configurable 2021-10-01 21:59:49 +02:00
Thilo Graf
b67ab168da lcd4l.cpp: exit ParseInfo() on missing instance of videoDecoder 2021-10-01 21:59:12 +02:00
svenhoefer
3da4a27882 - webchannels-setup: rework g_settings.livestreamResolution option chooser
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-01 21:59:07 +02:00
svenhoefer
e0cd455e16 - webchannels-setup: re-add inactive code around g_settings.livestreamScriptPath
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-01 21:59:02 +02:00
svenhoefer
8217f897b7 - scripts: fix permissions of restore.sh.in
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-01 21:58:58 +02:00
svenhoefer
d813414583 - Revert "webtv: add prefered quality option for use in webtv plugins"; ...
re-activate g_settings.livestreamResolution

Signed-off-by: Jacek Jendrzej <overx300@gmail.com>
2021-09-26 17:29:00 +02:00
TangoCash
4009bd2a68 getting ait after starting playback 2021-09-26 14:21:00 +02:00
TangoCash
7b4a536f62 add ait scan (hbbtvurls) to /tmp/ait.txt for now 2021-09-26 11:49:08 +02:00
TangoCash
bc4cd3a356 cleanup (supplemental to cdbfe10b13)
Signed-off-by: Thilo Graf <dbt@novatux.de>

commit was: move xmltv epgmapping into own variable
2021-09-26 11:38:30 +02:00
svenhoefer
69ed0f6f29 - epgview: correct labeling of green button
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-25 09:29:33 +02:00
svenhoefer
a3f13f267c - locale: fix deutsch.locale
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-25 09:29:30 +02:00
svenhoefer
7db740166f - epgview: fix switch back from movie database view
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-25 09:29:27 +02:00
svenhoefer
27784214eb - epgview: auto-calc buttons struct
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-25 09:29:11 +02:00
svenhoefer
c65d294eee - epgview: add movie database selection
Conflicts:
	src/gui/epgview.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-25 09:29:08 +02:00
svenhoefer
2ca7d1d7d1 - hintbox: just code formatting
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-25 09:28:58 +02:00
svenhoefer
e904e2191f - luainstance: allow access to defined directories
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-24 10:19:15 +02:00
svenhoefer
ce09b670c5 - luaserver: use LUAPLUGINDIR_VAR
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-24 10:19:12 +02:00
svenhoefer
a6aebded5f - add LUAPLUGINDIR_VAR
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-24 10:19:09 +02:00
svenhoefer
4893ec9149 - webchannels-setup: simplify WEBTV_XML_QUALITY_OPTIONS; small changes to menu structure
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:51:56 +02:00
svenhoefer
384109ccf9 - miscsettings_menu: add hintbox around epg_read_now
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:51:53 +02:00
svenhoefer
4bd62c4fd9 - miscsettings_menu: minor reworks in epg menu and epg locales
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:51:50 +02:00
svenhoefer
019644334f - lcd4l: add and use wrapper functions to handle /tmp/lcd/menu
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:51:48 +02:00
max_10
da67aa4725 - fix build with ffmpeg version > 59.0.100 2021-09-20 19:51:44 +02:00
max_10
039c25db15 - tuxboxapi: fix compiler warning
Conflicts:
	src/nhttpd/tuxboxapi/neutrinoyparser.cpp
2021-09-20 19:51:42 +02:00
svenhoefer
e046cc15a4 - movieplayer: add audio format to apidtitle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:51:39 +02:00
svenhoefer
38ceb80395 - scan: show scan on external display
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:51:36 +02:00
svenhoefer
7f6a967b25 - streaminfo1: fix and supplement to 97c81ecae4
Signed-off-by: Thilo Graf <dbt@novatux.de>

commit was: - streaminfo1: try to show correct mode
2021-09-20 19:51:10 +02:00
svenhoefer
bf9de39bea - pictureviewer: prefering users/systems channellogos
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:50:36 +02:00
svenhoefer
7b304aa04f - infoviewer: better integration of 58858b0391
Signed-off-by: Thilo Graf <dbt@novatux.de>

commit was: - infoviewer: show corresponding icon in webtv/webradio mode
2021-09-20 19:50:20 +02:00
svenhoefer
58858b0391 - infoviewer: show corresponding icon in webtv/webradio mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:43:32 +02:00
svenhoefer
cc0e14ae47 - icons: install missing webradio hint icon
Conflicts:
	data/icons/hints/Makefile.am

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:43:24 +02:00
svenhoefer
acbb45d44d - streaminfo2: show correct mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:43:18 +02:00
svenhoefer
97c81ecae4 - streaminfo1: try to show correct mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:43:15 +02:00
svenhoefer
eeba08dbd1 - infoviewer: try to show correct mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-20 19:43:11 +02:00