Commit Graph

1619 Commits

Author SHA1 Message Date
svenhoefer
4e21dd5c44 - introduce eventlogos (e.g. tagesschau.png for Tagesschau)
Eventlogo name is created from lowercase event name. Sspaces are replaced by "-".
  So an event called "American Dad" needs a logo called "american-dad.png".

  Eventlogo must be located in a subdir called "/events" in the logo directories.

  The search is working backwards through the eventname like this:

  "/var/tuxbox/icons/logo/events/american-dad.jpg"
  "/var/tuxbox/icons/logo/events/american-da.jpg"
  "/var/tuxbox/icons/logo/events/american-d.jpg"
  "/var/tuxbox/icons/logo/events/american-.jpg"
  "/var/tuxbox/icons/logo/events/american.jpg"
  "/var/tuxbox/icons/logo/events/america.jpg"
  "/var/tuxbox/icons/logo/events/americ.jpg"
  "/var/tuxbox/icons/logo/events/ameri.jpg"
  "/var/tuxbox/icons/logo/events/amer.jpg"
  "/var/tuxbox/icons/logo/events/ame.jpg"
  "/var/tuxbox/icons/logo/events/am.jpg"
  "/var/tuxbox/icons/logo/events/a.jpg"

  First hit is used. If no eventlogo was found, the wellknown channellogos are used.
  Be carefull with the naming of the eventlogos. A logo named "a.png" will be used
  for all events starting with an A.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:45 +01:00
svenhoefer
0132429dfc - pictureviewer: just small code formatting changes in GetLogoName()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
TangoCash
91fb19ff22 add special logo names support
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
GetAway
99a6ab267d add lcd4linux support, ported from
defans and vanhofen, modded by TangoCash
2018-12-26 20:04:32 +01:00
GetAway
db31e98c8c rcinput: use translation for some keys 2018-12-05 14:08:48 +01:00
GetAway
77ffcac7d0 rcinput: fix RC_mode for BRE2ZE4K 2018-12-02 22:21:42 +01:00
TangoCash
d4c7682ba6 display clock on segment display too
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-11-26 18:08:35 +01:00
svenhoefer
af706314e5 - vusolo4k: simplify and unify code from commit af87ebc788
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-11-01 22:49:42 +01:00
BPanther
af87ebc788 - add support for VU+ Solo 4k 2018-11-01 22:48:28 +01:00
TangoCash
b35c344c11 move external volume control to internal volume/mute handler
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-28 19:41:22 +01:00
Thilo Graf
65bd775455 radiotext.cpp/h: add signal to implement slots after decoding of text lines 2018-10-28 19:41:22 +01:00
GetAway
f81f2d9501 fb_accel.cpp: fix the fu..... gaps on arm gui 2018-10-14 15:35:54 +02:00
TangoCash
1473bca983 -webtv: fix segfault while reload
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:54 +02:00
Stefan Seyfried
5731cf10a4 rcinput: fix corrupted iterator on input device hot-unplug
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:53 +02:00
TangoCash
42e7b0a55f adding caching xmltv logos
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:53 +02:00
TangoCash
13c645ed61 pictureviewer: fix segfault if no channelid is present
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:53 +02:00
svenhoefer
4f911979e0 - rename COVERDIR => COVERDIR_TMP
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:53 +02:00
svenhoefer
f5754b74f2 - helpers: rework new random-functions to get the code more reuseable
* introduceand use LOGODIR_TMP (storage dir for webchannel logos)

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:52 +02:00
redblue-pkt
26adad9268 fix segfault in standby 2018-10-02 22:15:11 +02:00
Thilo Graf
19c6f76056 src/driver/fb_generic.cpp/h: use methode showFrame() as bool function
Allows the evaluation of this function for conditions if needed.
2018-10-02 22:11:06 +02:00
TangoCash
360a70da28 fix infoviewer
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:58 +02:00
svenhoefer
cb8e772305 - pictureviewer: search for e2 picons in LOGODIR_VAR and LOGODIR too
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:57 +02:00
TangoCash
aeab1ae0bd adding support for E2 picons
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:57 +02:00
TangoCash
f4512218b4 use alternative logo if present
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:57 +02:00
Thilo Graf
8c145de053 src/driver/fb_generic.cpp: unifiy path search in showFrame()
This allows to use same paths for images like for icons.

Was a request, because images inside theme directories were not found.
Thanks bellum for this hint.
2018-08-31 20:48:31 +02:00
Thilo Graf
082b4bea2e src/driver/fb_generic.cpp: add possibility to use images with full name
Keep parameter file_type empty to use filenames with file name extension.
2018-08-31 10:26:33 +02:00
svenhoefer
c4e8fd64aa - movieplayer/record: move timeshift deletion code to moviebrowser ...
... to get sure it's not deleted until playback is stopped

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-02 15:28:10 +02:00
svenhoefer
e5dcd5a4ff - record-menu: allow to exit with RC_stop, when no records available
This allows to call and exit this menu without to move the finger on the remotecontrol

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-31 22:27:56 +02:00
svenhoefer
19c7e44bf7 - record: add space between title and duration in record messages
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-31 22:27:56 +02:00
svenhoefer
530c3e1c1b - movieplayer/record: stop playback of timeshift when zap to another channel
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-30 21:26:42 +02:00
Thilo Graf
f81816df96 src/driver/fb_generic.h: use unified define for fb device name 2018-07-29 16:41:33 +02:00
svenhoefer
fcc1a18203 - record: differentiate between timeshift and record in AskToStop() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-28 14:34:49 +02:00
svenhoefer
ab393b0439 - record: set TSHIFT_MODE_OFF when stopping timeshift
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-28 14:34:49 +02:00
Thilo Graf
f26f774de7 src/driver/record.cpp: avoid possible build error 'unused-but-set-variable'
see commit: c074e5f43268022a9f63cb80d67b6166db3fb9e3
2018-07-28 14:34:49 +02:00
svenhoefer
56442c99bd - movieplayer/record: try to fix timeshift stop; ...
Timeshift was stopped immediately when mpkey_stop was pressed.
After that the record/timeshift menu was shown, but is wasn't possilble
to return to timeshift record.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-28 14:34:49 +02:00
svenhoefer
890e701e6a - movieinfo/moviebrowser: do not use any fake date to fill dateOfLastPlay and file.Time
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-18 11:55:26 +02:00
Stefan Seyfried
d920f4892a rcinput: try harder to reacquire input device
During lirc package update, the input device was sometimes lost and not
reacquired. Try to reacquire also if setKeyRepeatDelay fails.

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

# Conflicts:
#	src/driver/rcinput.cpp
2018-07-02 10:11:51 +02:00
GetAway
714cca6ba6 movieplayer.cpp: fix handle key play/pause for arm 2018-05-26 17:59:18 +02:00
Thilo Graf
ae9be1be31 CFrameBuffer: add more possible icon paths in order of priority
This gives possibility to use theme relevant icon sets.

scheme:
	/path/to/theme/icons/file.png

example:
	/usr/share/tuxbox/neutrino/themes/Neutrino-3.0/icons/file.png
2018-04-11 16:12:58 +02:00
Thilo Graf
557805bc40 infobar: rework infobar timeout behavior
Options were sometimes described ambiguously and previous behavior was no longer available.
Now the descriptions should be more plausible for current behavior.
2018-04-10 10:29:38 +02:00
BPanther
d15104daca fix fontrenderer segfault (thx DBoxOldie) 2018-04-03 13:21:03 +02:00
Jacek Jendrzej
ef1dbb561e not generic code 2018-03-29 13:17:02 +02:00
Stefan Seyfried
e6a32812db remove old framebuffer code files
the new structure seems to be working well, so remove unused stuff

 Conflicts:
	src/driver/framebuffer.cpp
	src/driver/framebuffer_ng.cpp
	src/driver/framebuffer_ng.h
2018-02-26 16:10:17 +01:00
Stefan Seyfried
4bb731ed61 fb_accel_hd1: fix blit2FB for backbuffer-to-fb case
For source bitmaps smaller than xRes, the offset calculation goes wrong.
Calcuclate an address offset instead and drop the Y offset.
2018-02-26 16:10:01 +01:00
Stefan Seyfried
d2e80adff0 fb_accel_td: do not use directfb for blitting
it is in most cases slower than the naive software implementation :-(
2018-02-26 16:08:59 +01:00
Stefan Seyfried
9a8564f751 fb_accel_td: fix transp handling in blit2FB 2018-02-26 16:08:43 +01:00
Stefan Seyfried
44708ff307 fb_accel_sti: add verbose error reporting to blit2FB 2018-02-26 16:08:26 +01:00
Stefan Seyfried
cbe982c12e fb_accel_sti: fix blit2FB for source/dest offsets 2018-02-26 16:08:09 +01:00
Stefan Seyfried
b59478cbf3 fb_accel_cs_hd1: blit2FB transp handling
also warn if falling back to software rendering
2018-02-26 16:07:58 +01:00
Stefan Seyfried
c2879e2758 fb_accel_cs_hd1: make blit2FB work with source/dest offsets 2018-02-26 16:07:43 +01:00