Commit Graph

72 Commits

Author SHA1 Message Date
vanhofen
0086ea581c lcd4l: add actionkey moviebrowser_moviecut
Origin commit data
------------------
Commit: 97cebad4ef
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-02 (Tue, 02 Jan 2024)

Origin message was:
------------------
- lcd4l: add actionkey moviebrowser_moviecut
2024-01-07 14:28:28 +01:00
GetAway
3e6d45b65a Fix set lastmode; introduce sending an actionKey for LCD4linux
We have a problem since the introduction of moviebrowser_mode.
Lastmode is no longer reset correctly, because the new mode is overlaid by another mode
and thus the original mode cannot be restored. Neutrino becomes unusable and has to be
restarted. (Example below)
Generally the opening of a window, like the MB or Channellist is also no Neutrino_mode in
the sense as it was invented once. It is just a window and not a mode that Neutrino is in.
Example: Neutrino is in TV_MODUS and you open the MB. You can see, Neutrino is still in TV_MODUS.
I reverted the code and now an open window can say for example to the lcd4linux 'hello i'm open, here is mb'.
When running a window we send some kind of AktionKey. After the actions in the window, the AktionKey is cleared.
Now to the current bug:

1. boot on a TV channel.
2. switch to a WebTV channel. (in my case PlutoTV Star Trek)
3. play a TS over the Moviebrowser and stop it. (MODE_WEBTV is detected and the WebTV stream is restarted)
4. call the MB a second time and start and stop the TS.
5. the WebTV stream does not restart anymore.
6. exit the MB now.
7. neutrino becomes not operable.
2023-09-14 18:53:26 +02:00
GetAway
6634c1824b lcd4l.cpp: adjust LOGO_DUMMY path when using ICONSDIR 2023-09-09 22:32:30 +02:00
GetAway
e979c06535 lcd4l_setup.cpp: add user to skin menu 2023-09-09 21:37:30 +02:00
vanhofen
ebd24e73f9 - infoviewer: an addition to 14dcdc36e3
Signed-off-by: Thilo Graf <dbt@novatux.de>
2023-04-13 19:13:51 +02:00
vanhofen
4de50f4c77 - lcd4l: fix livestreamInfo 2023-04-11 17:17:43 +02:00
GetAway
4e1277de42 lcd4l.cpp: restart script after changing timezone 2022-11-06 17:00:23 +01:00
svenhoefer
01c0e1086e - lcd4l: fix moviebrowser handling ...
* use Movieplayer/Moviebrowser logos
* remove RemoveEventFile()
* rename NewParseID => new_ParseID

Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-09-14 05:35:28 +02:00
svenhoefer
260ca7d64e - moviebrowser: add lcd4linux support
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-09-13 20:35:30 +02:00
svenhoefer
e3048051c3 - lcd4l: add tuner sig/snr/ber
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-02-12 15:44:13 +01:00
svenhoefer
165d5c0941 - lcd4l: extending duration file; ...
Line 1: done/total
Line 2: done
Line 3: todo
Line 4: total

Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-31 09:12:03 +01:00
svenhoefer
56f9b655d9 - lcd4l: add monospace font to font file
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-31 08:33:32 +01:00
svenhoefer
668161d7a5 - lcd4l: add wind dirction string to weather_wind file
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-24 09:09:39 +01:00
svenhoefer
f0b2d9ec82 - lcd4l: fix count of records
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-14 08:48:38 +01:00
svenhoefer
55e17f4fab - lcd4l: add count of records to mode_rec file
Conflicts:
	src/driver/lcd4l.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-14 08:47:51 +01:00
Thilo Graf
b67ab168da lcd4l.cpp: exit ParseInfo() on missing instance of videoDecoder 2021-10-01 21:59:12 +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
svenhoefer
5ed088afd7 - lcd4l: fix eventinfo for webtv/radio
commit based upon:
c1a45defc6

lcd4linux: not showing 'RESOULUTION=1x1' at streams

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-12 10:49:02 +02:00
Thilo Graf
32973379b5 lcd4l: rename OnAfterError->OnError 2021-07-17 22:49:19 +02:00
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