Commit Graph

91 Commits

Author SHA1 Message Date
svenhoefer
8d1710bb07 - pzapit: fix change video mode; tell neutrino about the new value 2016-09-14 00:23:23 +02:00
svenhoefer
2911e638c7 - add listModeKey() function to simplify these calls 2016-09-09 10:42:46 +02:00
svenhoefer
0c0b1981f6 - no need to assign mainmenu as an argument to realrun() 2016-07-01 15:13:54 +02:00
Thilo Graf
a87d16f62a CNeutrinoApp: add signal OnAfterSetupFonts
This allows to implement methodes already inside classes without any
additional external var constructions.
2016-03-03 09:52:19 +01:00
svenhoefer
66258704bf - neutrino: add upgradeSetup function ...
... to upgrade neutrino.conf to new defaults if needed
2016-03-03 09:46:42 +01:00
Stefan Seyfried
698839b44a add a method for migrating config file values
e.g. commit 523b273a changed the names of config file entries, which
leads to unwanted changes in appearance.
To avoid this in the future, add a migrateConfig() function in neutrino
which fixes this commit and can be extended in the future if necessary.
2016-02-26 09:25:12 +01:00
svenhoefer
0c2a3a9853 - neutrino/upnpbrowser: add and use new mode_upnp; ...
... switch to correct mode before start playing audio/video/pic
2016-01-25 22:43:27 +01:00
Thilo Graf
23f67513b7 neutrino.h: remove unused methode switchClockOnOff() 2015-12-27 14:42:30 +01:00
Thilo Graf
1f95f38d32 Main Menu: try to add dynamic possibility to disable items on runtime
The issue is that it's not really possible to disable/enable menu items on
runtime with an existant menu widget instance eg with personalized menu items.

Here we need a dynamic solution to disable items depends on stb-mode (mode_ts, mode_tv etc)
This should be solved here with an additional parameter for personalized items.

New paramter is named: disable_condition
Possible alvailable values at the moment are:

  DCOND_MODE_NONE as default

  DCOND_MODE_TV
  DCOND_MODE_RADIO
  DCOND_MODE_TS

includes some improvements by Sven

- menue: remove old_iconName handling
  ... icons should be painted on deactivated items too

- menue: try to fix position <-> selection missmatch
2015-12-22 13:14:18 +01:00
svenhoefer
6fc8fb2bee - movieplayer: change usermenu call; use existing instance 2015-12-15 08:15:17 +01:00
M. Liebmann
b9afbb1e2c CLuaInstance: Add script function 'channelRezap'
- Alternative rezap method for movie plugins
 - Set Lua api version to 1.21
2015-12-08 12:01:25 +01:00
svenhoefer
829359b851 - movieplayer: enable neutrino main menu ...
... parts of this code is (C) martii
2015-12-01 21:02:15 +01:00
Thilo Graf
0d6f0a8c88 CNeutrinoApp: rework switch handling for channallist paint
In some cases it is advantageous if you can override paint of channellist,
e.g.  if RC_ok is shared with other window handlers.
In such cases will so could be avoided.
2015-03-29 22:40:13 +02:00
Thilo Graf
8f621ef472 neutrino.cpp: add signal OnBeforeRestart
This allows to handle events inside from objects with
matching slots and events without explicit
calls in neutrino.cpp.

Used here general for stopping of thread in timer object.
In some cases it could be necessary to stop timer thread
otherwise it is possible that restart is blocked here.
This happens here automatically, without separate instances
of timer objects.

Conflicts:
	src/neutrino.h
2015-03-29 22:39:49 +02:00
Stefan Seyfried
b3bfb361f5 neutrino.h: use forward declaration instead of includes
this reduces the dependency chain on partial rebuilds considerably
2015-02-14 14:31:12 +01:00
svenhoefer
4ab6098716 - neutrino: add screensaver to radio-mode
This commit maybe need some tests with radiotext
  and/or other timeouts
2014-12-30 00:02:41 +01:00
svenhoefer
389c4c232f - plugins: simplify integratePlugins(); ...
* CPluginsExec(): switch to singleton
* move CPluginsExec() to pluginlist.cpp|h
  because it's not really a settings_helper
2014-11-10 22:41:08 +01:00
martii
b2b7cd8bb1 luaserver: reorganize 2014-10-14 10:27:37 +02:00
martii
5d25185684 lua: implement "luaclient".
This allows for starting Lua scripts in neutrino context from the
command line. Experimental, not fully regression-tested.
2014-10-14 10:27:37 +02:00
[CST] Focus
bdeb3b50de neutrino.cpp: add adjustToChannelID();
add flags for accurate saving of things changed in channel list;
always add favorites bouquet to favorite bouquet list;
cleanup showChannelList()
2014-10-10 15:26:32 +04:00
svenhoefer
16e0975a29 - add plugins to settings menu and service menu 2014-09-29 14:38:51 +04:00
[CST] Focus
a473fe8194 webtv channels integration port,
initial code (C) martii,
initial patch from jacek
2014-08-27 17:32:26 +04:00
[CST] Focus
022608cb98 neutrino.cpp: log and return messages_return::handled, if msg data was deleted;
add fast-scan update: if version changed on boot,
forced after 30 seconds in standby, and at shutdown
2014-04-02 17:33:49 +04:00
[CST] Focus
f321f33b1c neutrino.cpp: add common code to partially neutrino wakeup / put to sleep;
process EVT_STREAM_START/STOP events
2014-03-26 14:31:00 +04:00
svenhoefer
580fcc97e5 - fix (and enable) one-key-plugin; fix movieplayer-plugin 2014-03-01 23:33:45 +01:00
[CST] Focus
02cb09ce7e neutrino.cpp: add zapTo(), reuse common code for zap without wait 2014-01-28 16:12:30 +04:00
M. Liebmann
65859318d0 Fix display volumebar when channellist is visible 2014-01-28 12:59:17 +01:00
martii
15b2b2ec05 remove widest_number definition and usage, add Font::getMaxDigitWidth() method instead
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
2013-11-29 23:02:50 +01:00
[CST] Focus
606bd01878 as requested, implement 'easy' menu mode for novice users;
default behavior should not be changed, easy mode forced by /var/etc/.easymenu file inside image;
at the moment switch between modes is done by main menu -> 'stop' button -> enter pin code,
restart needed after mode switch
2013-10-25 13:03:26 +04:00
Jacek Jendrzej
4111ff45cb CNeutrinoApp::handleMsg:zap to rec channel if box start from deepstandby 2013-09-07 16:17:27 +02:00
Michael Liebmann
e473df6a43 CNeutrinoFonts: Use separate font renderer for dynamic fonts
- delete / initialize font renderer only if necessary
  (e.g. start program, change the font file, change the scaling)
2013-07-26 14:52:37 +02:00
Michael Liebmann
465d2aba23 Add new class CNeutrinoFonts for setup and modify neutrino fonts
- move SetupFonts() from CNeutrinoApp to CFontSetup
2013-07-21 22:05:14 +02:00
Michael Liebmann
c26fd64759 * Software update: Rework preparing the flash process
- Finish all unnecessary threads and processes before the flash process
- Use flash.start to stop other (user-defined) processes
2013-06-08 16:20:32 +02:00
rhabarber1848
99221ee19c Neutrino Movieinfo: show genre, patch by Gaucho316: http://www.dbox2-tuning.net/forum/viewtopic.php?p=384587#p384587 2013-05-23 22:03:43 +02:00
Stefan Seyfried
c0c008190e neutrino: make g_channel_list_changed private
Add a setter function MarkChannelListChanged() instead for
bouquet/channel list. This avoids sometimes not reloading
channels after changes in the service menu.
2013-04-17 10:21:33 +04:00
[CST] Focus
75b0eafd86 neutrino.h: add StartPip() member 2013-03-13 16:19:56 +04:00
satbaby
299e20387d src/neutrino.cpp: -add lockStandbyCall 2012-11-08 12:24:23 +01:00
[CST] Focus
de30356655 neutrino.h: remove unused colorSetupNotifier 2012-11-02 14:43:16 +04:00
satbaby
10116c6ad7 src/neutrino.cpp: saveepg in standby mode, if last saveepg time < 15 Min., revert multicall blocking for sttandbby, fix typo 2012-10-30 14:07:31 +01:00
satbaby
654ca3656d neutrino: show epg infos on announce recording, ported from tuxcvs 2012-10-28 20:05:42 +01:00
satbaby
f4c976beb5 neutrino.cpp: blocking standby for multical 2012-10-23 12:37:56 +02:00
satbaby
5002a8bfa7 neutrino.cpp: make sleeptimer similar to shutdown with MsgBox at announce 2012-10-18 20:21:19 +02:00
satbaby
a3bfab0bcd remove doubles include 2012-09-11 20:31:33 +02:00
satbaby
d1850d6e90 neutrino.cpp:skip saveepg if box start to standby 2012-08-09 14:29:11 +02:00
[CST] Focus
d74e9ae143 gui/osd_setup.cpp: more hints, WIP 2012-07-09 17:29:24 +04:00
[CST] Focus
eb4df7121a neutrino.cpp: remeber sort mode for channel list modes
and skip sort for same mode;
comment sorting in CNeutrinoApp::channelsInit - SetChannelMode will do it anyway;
adjust channel list after sorting to keep selected channel unchanged
2012-05-10 16:58:03 +04:00
[CST] Focus
a216a33aaf neutrino.cpp: move temp cleanup code to function 2012-05-05 17:35:32 +04:00
[CST] Focus
99cc7ae30b neutrino.h: comment unused OnekeyPluginChanger, MyIPChanger 2012-05-03 17:29:54 +04:00
[CST] Focus
e7b3dee197 neutrino.h: remove zapitclient.h and unused sendmessage 2012-04-10 16:51:15 +04:00
[CST] Focus
4abcb24346 neutrino.cpp: remove firstChannel() 2012-04-10 16:40:09 +04:00