Commit Graph

53 Commits

Author SHA1 Message Date
svenhoefer
f9ad744722 - lcd4l: fix removing start/stop hint when init script fails
Conflicts:
	src/driver/lcd4l.h

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-07-17 22:38:31 +02:00
Thilo Graf
9621bc4a98 lcd4linux: add slots for more user involvement
Keeps gui stuff away from parts of /src/driver and
callbacks with messages should inform the user about possible
operations during activation or deactivation of service.
Reason: long breaks are mediating
freeze or unknown status that leave the user in the dark.
2021-06-30 19:32:57 +02:00
Thilo Graf
24d05c67b7 lcd4l.cpp: add threadname 2021-06-30 18:28:33 +02:00
Thilo Graf
9a68009b96 lcd4l: apply calls of exec_initscript() with "systemctl" as 3rd argument
Is required for image with system

NOTE: CLCD4l::lcd4linux(int run) is adjusted
but not really used at the moment
2021-06-30 18:28:33 +02:00
Thilo Graf
692e9c3b9b lcd4linux.cpp: avoid possible crash if getLiveFE() returns NULL
Watched with generic build for pc without tuner hardware.
2021-06-15 18:43:10 +02:00
svenhoefer
4592cbc239 - lcd4l: introduce getInstance()
Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-06-15 11:06:25 +02:00
svenhoefer
71d50060a5 - lcd4linux: use exec_initscript() to execute initscript
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-06-15 10:57:39 +02:00
svenhoefer
a78da47df4 - lcd4linux: code formatation using astyle
Conflicts:
	src/driver/lcd4l.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-06-15 10:57:14 +02:00
Thilo Graf
f968bc0b40 lcd4linux: migrate lcd4linux(bool) to class member 2021-06-11 10:47:01 +02:00
Thilo Graf
5efbaaf05d lcd4linux: cleanup 2021-06-07 18:23:50 +02:00
Thilo Graf
6edf6e0a25 driver/lcd4linux: rework thread handling
Use std::thread for simplified handling.

Added bool exit_proc to allow left the thread callback, because if user
will change on/off/automatic modes inside the lcd4linux-setup menu,
he will be trapped in this menu and neutrino is never usable.
Btw. added some temporarily debug outputs to track this behavior.
2021-06-07 18:23:43 +02:00
Thilo Graf
e1810b62a2 lcd4linux: use default pid file 2021-06-07 18:23:25 +02:00
svenhoefer
eaa78a1502 - lcd4linux: fix first start
Signed-off-by: Thilo Graf <dbt@novatux.de>

# Conflicts:
#	src/driver/lcd4l.cpp
2021-06-07 18:23:21 +02:00
svenhoefer
f27ff4563c - glcd: add own logo directory
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-05-11 12:28:15 +02:00
svenhoefer
47dbf21465 - lcd4l: use NEUTRINO_ICON_PLAY for NeutrinoModes::mode_avinput
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-05-11 12:28:12 +02:00
BPanther
f841b55c65 vuduo4k/vuduo4kse/vuultimo4k/vuuno4kse: HDMI input as mode and PiP added
Conflicts:
	src/neutrino.cpp
2021-05-11 10:21:06 +02:00
svenhoefer
b291cef2d0 - lcd4l: start/stop daemon with start/stop functions
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-02-03 13:07:21 +01:00
svenhoefer
6a1f078f73 - lcd4l: remove some hardcoded paths
Conflicts:
	src/driver/lcd4l.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-12-07 20:34:25 +01:00
svenhoefer
7f850f933b - lcd4l: show event in webtv/webradio mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-10-01 11:30:43 +02:00
Jacek Jendrzej
cadde59c0f lcd4l:fix comil warninig 2020-01-30 10:07:41 +01:00
MarkusVolk
4836eb8f75 lcd4l: fix -Wformat-truncation warning 2020-01-24 18:24:30 +01:00
Thilo Graf
8ca78e4290 lcd4l: avoid taking address of packed members
Should fix possible compiler warnings with -Waddress-of-packed-member.
Comes with newer compilers e.g gcc 9.x
2020-01-22 21:25:53 +01:00
TangoCash
6b46ded6a5 fix typo 2019-03-29 23:54:26 +01:00
svenhoefer
08e8fd88ad add forecast weekdays to timestamp
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-29 23:27:08 +01:00
svenhoefer
6187a82fee - lcd4l: fix crash
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 09:45:57 +01:00
svenhoefer
b5b4170d2d - lcd4l: we need the forecast for current day
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 07:57:05 +01:00
svenhoefer
0fcfc0a47e - lcd4l: align to TC code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 07:57:05 +01:00
svenhoefer
e04de3136e - weather/lcd4l: add some more weather data
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 07:57:05 +01:00
svenhoefer
e1ed034a9f - weather: naming the member varables as the keywords from json request
So it's easier to add some new stuff as i think.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 07:57:05 +01:00
svenhoefer
aeacf03234 - lcd4l: write weather_city file
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-21 09:49:56 +01:00
svenhoefer
00265bd7c4 - lcd4l: get weather forecast data for one day
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:06 +01:00
svenhoefer
f8e0bf244a - lcd4l/weather: fix creation of data files for first run
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:05 +01:00
TangoCash
f7219894bc add weather via Dark Sky API -step1-
Signed-off-by: Thilo Graf <dbt@novatux.de>

Build errors fixed, missing code disabled
2019-03-20 22:47:05 +01:00
svenhoefer
3984f3f239 - lcd4l: rename new variable wait4lcd => wait4daemon
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-11 10:25:41 +01:00
GetAway
06e246f0d4 fix warning: 'lcd4linux' shadows a member of 'this' 2019-01-26 15:45:14 +01:00
GetAway
9a8d5657f7 l4l: force update of output files if ...
lcd4linux is not running and display is changed in automatic mode
2019-01-20 16:28:50 +01:00
GetAway
9dcc317db4 l4l: remove brightness_standby, use brightness only 2019-01-07 21:37:16 +01:00
GetAway
d6d79e5c74 l4l: format layout output for more flexibility 2019-01-06 16:00:52 +01:00
TangoCash
0277009f72 some fixes after cherry-picking
Signed-off-by: GetAway <get-away@t-online.de>
2019-01-06 13:24:47 +01:00
svenhoefer
6145cabae1 - lcd4l: activate new Samsung SPF types
Signed-off-by: GetAway <get-away@t-online.de>
2019-01-05 21:05:57 +01:00
svenhoefer
9b9c900ab6 - lcd4linux: prepare for some more Samsung SPF types
Signed-off-by: GetAway <get-away@t-online.de>
2019-01-05 20:53:35 +01:00
GetAway
8549307a9f l4l: align some variables names to NI's names 2019-01-05 19:06:30 +01:00
GetAway
afaad86986 l4l: fix LOGO_DUMMY; use system icon 2019-01-05 18:29:34 +01:00
GetAway
451de1c00b l4l: use more enums 2019-01-03 17:02:04 +01:00
redblue-pkt
6948dc1d78 lcd4linux: convert polish letters
Signed-off-by: GetAway <get-away@t-online.de>
2019-01-03 16:12:31 +01:00
vanhofen
0a359a8133 - lcd4l: fix cherry-pick
Signed-off-by: GetAway <get-away@t-online.de>
2019-01-03 15:58:41 +01:00
svenhoefer
e63e874e13 - lcd4l: add GetMaxBrightness() function
Signed-off-by: GetAway <get-away@t-online.de>
2019-01-02 22:57:25 +01:00
GetAway
ed435a5fea l4l: remove hardcoded path; start with full path 2019-01-01 23:22:34 +01:00
svenhoefer
581a2b5e8d - lcd4l: re-enable event logos
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 15:18:19 +01:00
svenhoefer
1d0d8ade9c - lcd4l: reset channelid when epg is changed to get a possible eventlogo
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 15:18:10 +01:00