Commit Graph

11703 Commits

Author SHA1 Message Date
J. Krieg
9f18bf7960 src/gui-neutrino/lib/xmltree/xmlinterface.cpp: fix build when compiling with -Werror
because with this the warning:
  warning: 'xmlgz_file' may be used uninitialized in this function [-Wmaybe-uninitialized]
  warning: 'xml_file' may be used uninitialized in this function [-Wmaybe-uninitialized]
is treated as an error and the build aborts - so let's remove this warning...

Thanks to Janus for reporting this and the suggested fix

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-02 19:58:37 +02:00
TangoCash
cf885b1027 implement own tmp function / satify compiler
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-02 17:21:58 +02:00
svenhoefer
bbecf5c764 - miscsettings-menu: read xmltv too when user requests a re-reading of epg
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-02 17:19:57 +02:00
svenhoefer
30abf912d9 - rename g_settings.webepg* to g_settings.xmltv* because it is XMLTV; see http://wiki.xmltv.org
By courtesy of TangoCash. :)

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 23:36:23 +02:00
svenhoefer
3606c717d4 - eitd/sectionsdclient: unify new code and call it as it is ... it is XMLTV; ...
fix another compiler warning: the use of `tmpnam' is dangerous

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 23:33:42 +02:00
svenhoefer
b00f1e53df - webepg: align new keys/values to the existing keys/values
By courtesy of TangoCash. :)

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 23:31:31 +02:00
svenhoefer
7c83250836 - zapit/bouquets: minor format changes
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 23:23:49 +02:00
svenhoefer
2bb45e4b7c - fix compile warnings from previous commit
warning: declaration of ‘url’ shadows a previous local
warning: the use of `tmpnam' is dangerous
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 23:22:55 +02:00
TangoCash
32354d558c fix repeating remotetimers
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 19:48:18 +02:00
TangoCash
e5a76941fe add settings for xmltv epg
todo:
GUI

for testing edit your neutrino.conf:

webtv_xml_0=http://<remoteboxip>/control/xmltv.m3u
webtv_xml_count=1
webepg_0=http://<remoteboxip>/control/xmltv.xml
webepg_count=1

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 19:47:40 +02:00
TangoCash
a9bb08df0d add option to read (online) xmltv epg
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 19:43:33 +02:00
TangoCash
04f1219a1e fixes for xmltv epg
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 19:43:03 +02:00
TangoCash
4ca24a178b cleanup
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 19:42:33 +02:00
Thilo Graf
7011bdfd73 src/zapit/src/bouquets.cpp: fix possible compile error
error: declaration of 'url' shadows a previous local [-Werror=shadow]
2018-09-01 19:40:35 +02:00
TangoCash
a01167378a prepare for online webchannels lists / fix epg
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 15:36:09 +02:00
TangoCash
9675f6ed41 fix possible segfault
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 15:33:41 +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
c482b6de63 - xmlinterface: fix compiling for CST hardware
error was: ‘pugi::xml_parse_status’ is not a class or namespace

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-31 10:24:54 +02:00
svenhoefer
8e29b3d481 - add gzstream.h to fix 4bcce912b248fd21018c45dfe2c2801367e4178c
Signed-off-by: Thilo Graf <dbt@novatux.de>
4bcce912b248fd21018c45dfe2c2801367e4178c = 'add reading from gzipped xml files (xxx.xml.gz)'
2018-08-31 10:24:50 +02:00
TangoCash
9f9ac9b616 add reading from gzipped xml files (xxx.xml.gz) 2018-08-31 10:24:47 +02:00
Thilo Graf
bd36134e17 src/system/helpers.cpp: fix cherry pick
protected space was broken
2018-08-28 10:13:22 +02:00
BPanther
7096a2d39a more time for shutdown message
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-23 10:38:08 +02:00
TangoCash
63fe9994ae small fix in bname
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-23 10:38:05 +02:00
TangoCash
142406d260 avoid segfault with saved tvg-id
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-23 10:38:02 +02:00
svenhoefer
b0590ff20d - audioplayer: remove some code; since 2588700 it's to find in helpers.cpp|h
Signed-off-by: Thilo Graf <dbt@novatux.de>

this is a fix for: adding some curl helpers
2018-08-23 10:37:58 +02:00
TangoCash
153cce9d95 adding some curl helpers
Signed-off-by: Thilo Graf <dbt@novatux.de>

NOTE: this pick makes build broken because of some previous declarations
2018-08-23 10:37:56 +02:00
TangoCash
29fe639ad3 satisfy compiler
Signed-off-by: Thilo Graf <dbt@novatux.de>

Possible error was:
operation on ‘iColon’ may be undefined, possible sequence-point error
2018-08-23 10:37:43 +02:00
TangoCash
adf7457279 supplemental to a7be95b6ada4c7aaaafc39596ab0c36a7a42cf9e
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-23 10:31:57 +02:00
TangoCash
f355a54b14 add option to load E2 & M3U iptv lists directly as webtv
Conflicts:
	src/zapit/src/bouquets.cpp

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

- fixed some line indentation errors
- line 967 contains possible error:
	operation on ‘iColon’ may be undefined [-Werror=sequence-point]
2018-08-23 10:30:40 +02:00
Thilo Graf
d958e1128d src/zapit/src/bouquets.cpp: minor format changes 2018-08-23 10:30:35 +02:00
svenhoefer
561cadfa4d - channellist: re-allow switching bouquets in zaphistory/current_transponder mode
see https://www.neutrino-images.de/board/viewtopic.php?f=61&t=2728

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-19 16:45:24 +02:00
svenhoefer
7ee2df2c34 - neutrino: new defaults for epg scan; scan all favs in standby mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-19 16:45:21 +02:00
Thilo Graf
57790766e7 src/gui/components/cc_frm_footer.cpp: fix assinged vector content 2018-08-18 11:22:23 +02:00
Thilo Graf
8a9ef1db85 cc_frm_footer.cpp: avoid possible crash if content[i].button = NULL
If content[i].button = NULL, conversion of content[i].button into std::string would fail.
2018-08-18 11:22:23 +02:00
Thilo Graf
29dd3a6b13 cc_frm_button.h: expand getButtonDirectKey() for item id
With this parameter it is possible to get any existing directkey
inside button object. For compatibility the old behavior is untouched.
2018-08-18 11:22:23 +02:00
Thilo Graf
5d212fc401 src/gui/components/cc_frm_footer.cpp: add member getButtonLabel()
Allows to get button label object from button collection.
2018-08-18 11:22:23 +02:00
Thilo Graf
3955da6893 src/gui/components/cc_types.h: fix default key for button labels
First index = 0 not 1
2018-08-18 11:22:23 +02:00
svenhoefer
047366e45d - movieplayer: don't wake up screensaver with ignored msgs
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-04 00:18:37 +02:00
svenhoefer
685f5306bd - screensaver: move code for ignored msgs to screensaver code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-04 00:18:34 +02:00
svenhoefer
47105169e1 - menu: add condition to enable/disable items in record mode (version 2)
Signed-off-by: Thilo Graf <dbt@novatux.de>

Unused but useful if conditions are required to disable
or enable items depends of record mode.
2018-08-04 00:18:27 +02:00
Thilo Graf
401fc3a436 src/gui/scan.cpp/h: add more plausible caption for user canceled scan 2018-08-03 23:22:34 +02:00
Thilo Graf
1ae2aa00c3 locales: add cancel message for canceled channel scan 2018-08-03 23:22:28 +02:00
svenhoefer
37debfc727 - scan-setup: rework/unify shortcuts (thx to Janus)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-03 23:22:23 +02:00
svenhoefer
9c86da665f - movieplayer: fix display of timeshift stop dialog ...
... if timeshift was stopped in background while playback

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-02 15:28:10 +02:00
svenhoefer
5209ee9970 - movieplayer: fix vfd message when timeshift is startet in paused mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-02 15:28:10 +02:00
svenhoefer
bbd3ca61ec - neutrino: fix auto-delete code
* Why only remove old timeshift recordings if timeshift-dir == recording-dir?

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-02 15:28:10 +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
65a7f3a432 - cables.xml: update Antennengemeinschaft Göltzschtalbrücke
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-31 22:27:56 +02:00
svenhoefer
a5800b2641 - user-menu: disable timeshift item if timeshift is already running
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-07-31 22:27:56 +02:00