Commit Graph

10511 Commits

Author SHA1 Message Date
Thilo Graf
3bc7d7e61f src/gui/epgview.cpp: optimize text arrangement for tmdb/imdb 2018-04-28 08:54:26 +02:00
Thilo Graf
d84c2f74a1 src/gui/epgview.cpp: rework online epg database handling
Vizualize of TMDb starbar was partial broken, should working now and IMDb (in reality OMDb)
should working too. DEV/Api keys are required and are managed with
misc settings menue. To get reqiured keys see https://www.omdbapi.com/ and
for TMDb see https://www.themoviedb.org

TODO: Better encapsulating for db classes for unified data tapping.
2018-04-28 08:54:26 +02:00
Thilo Graf
6adaf26f48 src/gui/epgview.h: add class to create star bars 2018-04-28 08:54:26 +02:00
Thilo Graf
36ead91275 src/gui/epgview.cpp: update license text 2018-04-28 08:54:26 +02:00
Thilo Graf
77ccc5b07c ytplayer: apply enable option for internal YouTube playback 2018-04-28 08:54:26 +02:00
Thilo Graf
b8d3737588 Api keys: add class instead single functions to check api keys
Without class build was broken, with static versions it should working.
2018-04-28 08:54:26 +02:00
Thilo Graf
6abfc770b5 neutrino.cpp: add defined api keys into online service settings 2018-04-28 08:54:26 +02:00
Thilo Graf
23c7977d17 setting_helpers.h: add generic function for api keys 2018-04-28 08:54:26 +02:00
Thilo Graf
8b101ccf78 imdb-support: renamed imdb->omdb
Imdb is not really used directly, that is a bit misleading
2018-04-28 08:54:26 +02:00
Thilo Graf
9be6a12241 CIMDB: load api key from settings 2018-04-28 08:54:26 +02:00
Thilo Graf
33c0b544db CMiscMenue: apply api key options 2018-04-28 08:54:26 +02:00
Thilo Graf
b2153d6049 CMiscMenue: adapt to new dev key definies 2018-04-28 08:54:26 +02:00
Thilo Graf
1a6bfa081b misc settings: add missing locals and settings variables 2018-04-28 08:54:26 +02:00
Thilo Graf
ef63680d60 icons.h: remove useless star icons 2018-04-28 08:54:26 +02:00
Thilo Graf
2990bd4e34 CIMDB: add imdb icon 2018-04-28 08:54:26 +02:00
Thilo Graf
28ba56e0b7 CIMDB: clean up
- fix license text
- move unused include unistd.h into cpp file
- scope of the variable 'line' reduced.
- remove variable 'pos_firstline', its value was never used.
- remove unused variable: search
- remove variables 'pos_search1', 'pos_search2'... values never used.
- add member variable 'CIMDB::acc' into constructor, was not initialized
- move include for cc.h into cpp file
2018-04-28 08:54:26 +02:00
svenhoefer
ddf3bfd613 - epgview: fix logic for followscreenings- and tmdb-button
Signed-off-by: Thilo Graf <dbt@novatux.de>

include c/p fix
2018-04-28 08:54:26 +02:00
svenhoefer
3b389b28e7 - epgview: change and simplify button logic; ...
this avoids annoying "button-jumps" while navigating through events

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-04-28 08:54:26 +02:00
Thilo Graf
196e5e566f src/gui/videosettings.cpp: disable fade option for AX51/Mutant
Don't working at the moment.

TODO: Make it usable for AX51/Mutant
2018-04-28 08:54:26 +02:00
Thilo Graf
cab6daf976 src/gui/videosettings.cpp: don't show entry for vf key settings
Available on CS hardware

TODO: make configurable for other keys on other hardware
2018-04-28 08:54:26 +02:00
Thilo Graf
e4cd53bc90 widget/menue.cpp: avoid paint of toggle buttons with more than 2 opts 2018-04-28 08:54:26 +02:00
Thilo Graf
e931932800 src/gui/test_menu.cpp: doc corrected 2018-04-28 08:54:26 +02:00
Thilo Graf
cf5c38fe83 src/gui/widget/msgbox.cpp: add missing handling of RC_home message
Required in case of usage without explicit undefined home button.
2018-04-28 08:54:26 +02:00
Thilo Graf
bf19dcfec9 moviebrowser: implement imdb functionality into moviebrowser
taken over from https://bitbucket.org/neutrino-images/ni-neutrino-hd
2018-04-28 08:54:26 +02:00
Thilo Graf
db64f1e094 epgview: add imdb functionality into epgviewer
taken over from https://bitbucket.org/neutrino-images/ni-neutrino-hd
2018-04-28 08:54:26 +02:00
GetAway
1ae5c80dda pzapit: hack for HD51 mix-up letterbox<->panscan
videosettings.cpp: improved debug output for mode_43
2018-04-26 09:14:44 +02:00
GetAway
6a9150d898 videosettings: fix set and get video_43mode 2018-04-22 22:03:42 +02:00
Thilo Graf
e80b047c9b src/neutrino.cpp: change time server
time.fu-berlin.de not really works
2018-04-22 16:24:17 +02:00
GetAway
49fb304a36 pzapit -gm: reactivate get current TV/Radio mode 2018-04-22 14:35:41 +02:00
Jacek Jendrzej
9dad6ae3ac fix epg dir, strange static behavior 2018-04-16 13:48:37 +02:00
svenhoefer
61b4bbeb51 - icons: rename important.png => marker_warning.png because it doesn't signalize important stuff, but warnings
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-04-14 00:04:41 +02:00
Thilo Graf
ee0f90d083 Icons: change check markers, rename to dialog on/off, add update marker 2018-04-11 17:07:19 +02:00
Thilo Graf
cc4b0fdb56 Revert "COsdSetup: kill instance of osd_menu_colors"
This reverts commit 14124c7dd6.

With this commit were crashes are to be expected. If here is an issue,
we should fix it with another solution.
2018-04-11 17:06:19 +02:00
Thilo Graf
3301be5484 menu: add optional usage of toggle buttons to visualze options 2018-04-11 17:03:11 +02:00
Thilo Graf
01e3c02225 src/gui/osd_setup.cpp: use CMenuForwarder instead CMenuDForwarder
This should avoid possible segfaults when user is calling color setup.
This behavior was observed if start wizard has been completed and
after that user wants to change color settings.

If target object is a singelton, this should not be an issue.
2018-04-11 17:03:11 +02:00
Thilo Graf
ef4ba9847e ::getValue(void): remove multiple declared members
Already inherited from CMenuTarget
2018-04-11 17:03:11 +02:00
Thilo Graf
bfb61a273e themes: add locales for theme reset 2018-04-11 17:03:11 +02:00
Thilo Graf
79cb1261f7 CThemes: visualize migrated theme after possible update
After an update this entry will be only shown if theme name is a new
configure option and theme name is still unknown.
This entry visualizes the state of current migrated theme. The old theme
settings will be kept.
If required users should save the theme as a new userdefined theme or
select a given theme.
2018-04-11 17:02:34 +02:00
Thilo Graf
23e684258f CThemes: add default theme from config and migrate theme settings if needed 2018-04-11 16:12:58 +02:00
Thilo Graf
d32b7420bc CThemes: rename member readThemes -> showThemesMenu
more plausible name
2018-04-11 16:12:58 +02:00
Thilo Graf
0d5b81c03f CThemes: visualize current selected or applied theme 2018-04-11 16:12:58 +02:00
Thilo Graf
953028ae82 CThemes: inherit CColorSetupNotifier into CThemes
Avoids explicit init of CColorSetupNotifier objects.
2018-04-11 16:12:58 +02:00
Thilo Graf
819c54e240 themes: set default theme instead static colors, but hold fallback 2018-04-11 16:12:58 +02:00
Thilo Graf
ce244d7fcd themes: add setting entry for theme name 2018-04-11 16:12:58 +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
ab281d8581 Color theme setup: re sort some entries, remove some separator lines
Better separation of the gui and misc parts.
2018-04-11 16:05:43 +02:00
Thilo Graf
baacf318f6 Progressbar setup: add missing caption for global settings 2018-04-11 16:05:43 +02:00
FlatTV
1652faecff OSD Menu: Add progressbar color
Signed-off-by: Thilo Graf <dbt@novatux.de>

- themes/Makefile.am unchanged, build was broken
- whitespace errors fixed
- unnecessary comments removed
- bump lua api version, was missed
2018-04-11 15:58:20 +02:00
Thilo Graf
2162aa6970 colorchooser.cpp/h: add separate init method
If color setup having already been used and after that user has done changed some other settings  (e.g. font settings), graphical errors or crashes are possible.
The relocation of the initialization should prevent this.
2018-04-11 15:58:19 +02:00
Thilo Graf
3007c27469 Color setup: add button bar 2018-04-11 15:58:19 +02:00