Commit Graph

4025 Commits

Author SHA1 Message Date
Stefan Seyfried
988a8ebec2 helpers: improve my_system function
Instead of hardcoding the maximum number of arguments to the
my_system helper, pass a variable argument list.
The function is deliberately source-incompatible with the old
implementation (as opposed to a variant with a sentinel NULL
argument, which would be compatible) to find all users and to
make sure that new future users of this function are not
overlooked during merges with other branches.

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:58:49 +01:00
Stefan Seyfried
22be19a9b0 my_system/my_popen: detach the children from neutrino's terminal
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:16:57 +01:00
Stefan Seyfried
ec58530ae4 libconfigfile: fix strange problem in last commit
for unexplained reasons, tmpfile was sometimes empty :-(
to work around that, use std::string instead of const char *

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:05:47 +01:00
Stefan Seyfried
2afc06a793 libconfigfile: update config file atomically when saving
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:05:38 +01:00
Stefan Seyfried
b6df7de7f7 neutrino: avoid crash when signals are caught during start
this needs more work to avoid crashes when interrupted early

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:01:40 +01:00
Stefan Seyfried
0b17e2f98e femanager: save frontend.conf if new entries are present
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-04 13:25:51 +01:00
Stefan Seyfried
478d59dd2f libconfigfile: fix strange problem in last commit
for unexplained reasons, tmpfile was sometimes empty :-(
to work around that, use std::string instead of const char *
2013-03-03 23:40:33 +01:00
Stefan Seyfried
f3d896a949 libconfigfile: update config file atomically when saving 2013-03-03 23:04:54 +01:00
Stefan Seyfried
0edd7fd2bc zapit: add delay when retrying SCR tuning
this is not exactly the algorithm as described in EN50494
sect.8, but rand() is probably good enough :-)
2013-03-03 22:11:57 +01:00
Stefan Seyfried
6c4b9741ec neutrino: avoid crash when signals are caught during start
this needs more work to avoid crashes when interrupted early
2013-03-03 21:57:59 +01:00
Stefan Seyfried
0cfdd6d9bb shutdown_count: initialize variable 2013-03-03 21:57:05 +01:00
Stefan Seyfried
44d1d8a808 lcdd: add proper destructor to kill time thread 2013-03-03 21:52:21 +01:00
Stefan Seyfried
e86de54f9c femanager: save frontend.conf if new entries are present 2013-03-03 19:43:32 +01:00
Stefan Seyfried
adf0013f23 SCR: add pin config option for MDU setups
this is not tested due to missing hardware, a GUI option will be
implemented after success reports
for now, use fe0_uni_pin=123 (change 123 to your assigned PIN)
in /var/tuxbox/config/zapit/frontend.conf
2013-03-03 19:39:53 +01:00
Stefan Seyfried
26a11a3458 hdd_menu: use proper tune2fs call
call the my_system with the proper number of parameters instead
of relying on specifics of the getopt() used by tune2fs, now that
there is no limitation on the number of my_system arguments anymore
2013-03-03 19:21:13 +01:00
Stefan Seyfried
96650cdd45 helpers: improve my_system function
Instead of hardcoding the maximum number of arguments to the
my_system helper, pass a variable argument list.
The function is deliberately source-incompatible with the old
implementation (as opposed to a variant with a sentinel NULL
argument, which would be compatible) to find all users and to
make sure that new future users of this function are not
overlooked during merges with other branches.
2013-03-03 19:18:13 +01:00
Stefan Seyfried
8f3872177c frontend: silence getEvent(), disable some timing info 2013-03-03 15:18:11 +01:00
Stefan Seyfried
adee6e9220 zapit: remove redundant console output 2013-03-03 15:17:19 +01:00
Stefan Seyfried
9064d34a1e scanpmt: de-spam CPmt class 2013-03-03 15:16:35 +01:00
Stefan Seyfried
e50c0865e7 frontend: rework debug output
* silence some messages by using DBG() instead of printf
* amend messages by using INFO() instead of printf
2013-03-03 15:14:59 +01:00
Stefan Seyfried
9e1e28f7d8 femanager: remove unneeded newline from debug message 2013-03-03 15:12:18 +01:00
Stefan Seyfried
3c8fca65da capmt: de-spam CCam::makeCaPmt() 2013-03-03 15:11:41 +01:00
Stefan Seyfried
2ef5af939c zapit/debug: even shorter filenames 2013-03-03 15:09:56 +01:00
Stefan Seyfried
66679f537c CRemoteControl: de-spam processAPIDnames() 2013-03-03 15:05:41 +01:00
Stefan Seyfried
603e0f4b99 SCR: switch off ODU when entering standby 2013-03-03 15:05:41 +01:00
Stefan Seyfried
b37a778012 my_system/my_popen: detach the children from neutrino's terminal 2013-03-02 20:01:24 +01:00
svenhoefer
8b18346c98 - neutrino.cpp: fix handling of g_settings.mode_left_right_key_tv 2013-03-01 20:49:47 +01:00
svenhoefer
ca8f8251ed - audioplayer.cpp: fix comparison operator 2013-02-28 10:02:59 +01:00
svenhoefer
c0959cc5f5 - icons: remove unneeded movieplayer.raw 2013-02-28 09:49:27 +01:00
svenhoefer
57317aae31 - audioplayer.cpp: reducing console spam 2013-02-27 21:23:15 +01:00
Stefan Seyfried
4f3561104e zapit: fix order of stopping playback and selecting live FE 2013-02-26 14:11:29 +01:00
Gaucho316
3ece169f9b - moviebrowser: only save settings if modified 2013-02-26 13:53:07 +01:00
svenhoefer
365300c830 - icons: add missing hint_a_pic.png 2013-02-26 13:30:13 +01:00
svenhoefer
d4370304cd - osd_setup.cpp: move dest-dir for screenshots to top of menu 2013-02-26 13:10:17 +01:00
svenhoefer
e72d3685f0 - locale: clean screenshot-locale from unnecessary ballast 2013-02-26 13:07:20 +01:00
Stefan Seyfried
f45a04b34a zapit: fix order of stopping playback and selecting live FE 2013-02-24 17:45:51 +01:00
Stefan Seyfried
cdd60c3600 capmt: fix demux selection on spark 2013-02-24 17:45:21 +01:00
Stefan Seyfried
2e84a632f5 frontend: add a "frontend index", set by femanager
this allows to easily find the "first" or "second" tuner, which
fixes the tuner number display in the infobar
2013-02-24 15:25:36 +01:00
Stefan Seyfried
05fdc3c08d femanager: remove workaround after libconfigfile fix 2013-02-24 14:03:45 +01:00
Stefan Seyfried
804bed4e73 configfile: don't do a full sync() after saving 2013-02-24 14:03:34 +01:00
Stefan Seyfried
809db6211e configfile: reset modified flag after saving 2013-02-24 14:03:23 +01:00
Stefan Seyfried
07a8027b4d configfile: set the modified flag correctly on set*Vector methods 2013-02-24 14:03:11 +01:00
Stefan Seyfried
a410dabcdb infoviewer_bb: initialize values to satisfy valgrind 2013-02-24 13:57:07 +01:00
Stefan Seyfried
b0c7ca94a7 channellist: initialize values to satisfy valgrind 2013-02-24 13:56:47 +01:00
Stefan Seyfried
b1b7bfef74 femanager: only open first frontend in single mode
this frees the second frontend for e.g. vtunerd
2013-02-24 12:44:24 +01:00
Stefan Seyfried
53e4fdfe8d frontend: remove newline from debug messages 2013-02-24 12:14:19 +01:00
Stefan Seyfried
29a23bffb6 scan_setup: add option to set frontend type to multinorm boxes 2013-02-24 01:45:38 +01:00
Stefan Seyfried
2ac2b1620d femanager: scan for max. 4 frontends
...otherwise we'll miss the 2nd SAT tuner of spark7162...
2013-02-24 01:10:14 +01:00
Stefan Seyfried
ba8b5cc6c5 frontend: remove FE_OFFSET hack
now that we have fe_type, FE_OFFSET is no longer needed
for selecting the tuner type
2013-02-24 01:05:24 +01:00
Stefan Seyfried
9d4d479317 femanager: add fe_type option to frontend.conf
If fe_type is set, only frontends of the given type will be used.
This will enable the selection of the frontend type for boxes with
multiple tuners of different types.
2013-02-24 00:58:55 +01:00