Commit Graph

14294 Commits

Author SHA1 Message Date
Thilo Graf
e1807715c3 epgview.cpp: Fix warning about ignored 'nodiscard' attribute in show method
Changed the for-loop in the show method of CEpgData class to properly
check both conditions using the logical AND operator.
This should ensure that the return value of 'operator!=' is not ignored,
which addresses the compiler warning about the 'nodiscard' [-Wunused-result].

- Replaced ',' with '&&' in the loop condition.
2024-07-05 17:26:08 +02:00
Thilo Graf
b911d5f73a controlapi.cpp: Fix format warnings and update types in CControlAPI::EpgCGI
- Changed long to time_t for event times.
- Used PRIu64, PRIdMAX, and %lld for formatting and parsing time_t
  and event IDs.
- Updated sscanf and printf calls to handle time_t and uint64_t correctly.
2024-07-05 17:26:08 +02:00
Thilo Graf
7308e50b77 libdvbsub/Debug.cpp: Fix format warnings for __suseconds64_t in Debug.cpp
- Added <inttypes.h> for correct format specifiers.
- Used PRIdMAX for formatting __suseconds64_t in print function.
- Updated sprintf call to handle __suseconds64_t correctly.
2024-07-05 17:26:08 +02:00
Thilo Graf
ed29984d9f audioplayer.cpp: Fix format warnings for time_t in audioplayer.cpp
- Added <inttypes.h> for correct format specifiers.
- Used PRIdMAX for formatting time_t in paintItem and updateTimes functions.
- Updated snprintf calls to handle time_t correctly.
- Minor formatting adjustments for readability.
2024-07-05 17:26:08 +02:00
Thilo Graf
742fc42d0f followscreenings.cpp: Fix format issues for time_t portability
- Added <inttypes.h> for correct format specifiers.
- Used PRIuMAX or time_t handling to resolve [-Wformat=] warnings.
- Updated sscanf and snprintf calls in exec and show functions.
2024-07-05 17:26:08 +02:00
Thilo Graf
f0671d734b controlapi.cpp: ensure type compatibility for time_t in multiple methods
- Updated channelEPGformated to use time_t instead of long for _stoptime.
- Corrected sscanf format specifier in EpgCGI to handle time_t correctly.
- Changed handling of _stoptime in xmltvepgCGI to use time_t.
- Ensured gmtime and localtime functions receive time_t arguments.

These changes ensure compatibility with _TIME_BITS=64 and maintain
proper type usage for time functions, addressing different
definitions and maintaining robustness across kernel and library versions.
2024-07-04 16:08:36 +02:00
Thilo Graf
11b0b2a2fa controlapi.cpp: try to fix build errors if member 'time' is not found
Ensure backward compatibility for rc_sync and channelEPGformated

- Added conditional compilation in rc_sync to check for input_event_sec macro.
- Used input_event_sec and input_event_usec macros if defined.
- Provided fallback to direct timeval members for older versions.
- Minor formatting adjustment in channelEPGformated for consistency.

This should ensure compatibility with both newer and older
kernel versions, different C library implementations,
and possible standard settings of build systems.
Addressing different definitions of the input_event structure maintains
robustness across kernel, library, and build system configurations.
2024-07-04 16:08:36 +02:00
Thilo Graf
637539bdee rcinput: ensure backward compatibility
supplement to commit:

  rcinput: Fix build issues with _TIME_BITS=64

- Ensured compatibility with various definitions of input_event structure
  as per input.h.
- Added conditional compilation to check for input_event_sec macro.
- Used input_event_sec and input_event_usec macros if defined.
- Provided fallback to direct timeval members for versions without
  the macros.

This ensures compatibility with both newer and older kernel versions,
different C library implementations, and possible standard settings of
build systems. Addressing different definitions of the input_event structure
maintains robustness across kernel, library, and build system configurations.
2024-07-04 16:08:36 +02:00
Thilo Graf
a46554db1e rcinput: Fix build issues with _TIME_BITS=64
- Updated rcinput.cpp to use input_event_sec and input_event_usec macros
  for accessing time members of input_event structure.
- Included necessary headers for time functions and structures.
- Ensured compatibility with various definitions of input_event structure
  as per input.h.

This should resolves compilation errors related to accessing time members
of input_event structure when _TIME_BITS=64 is defined.
2024-07-04 16:08:36 +02:00
Thilo Graf
27a9141275 cc_timer.h: Fix missing include for std::string in cc_timer.h
Added the missing #include <string> directive to cc_timer.h to
resolve compilation error due to incomplete type 'std::string'.
Observed with g++ 13.
2024-06-10 10:50:47 +02:00
Thilo Graf
409e21e782 neutrino: Add method to check for empty files in neutrino Lua API
doc:
 -https://wiki.tuxbox-neutrino.org/wiki/Lua:Neutrino-API:empty:de
 -https://wiki.tuxbox-neutrino.org/wiki/Lua:Neutrino-API:empty:en
2024-06-10 08:57:25 +02:00
TangoCash
df918a356f add cmdline option to load xmltv epg
Origin commit data
------------------
Commit: b2ebab61c8
Author: TangoCash <eric@loxat.de>
Date: 2024-06-05 (Wed, 05 Jun 2024)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit

It would often be very helpful to know why a commit is there or what
a particular change is good for, or why it is needed, without having to
ask.
2024-06-09 11:27:05 +02:00
TangoCash
d4d6f634d2 fix reload webchannels
Origin commit data
------------------
Commit: f19cf3a8fb
Author: TangoCash <eric@loxat.de>
Date: 2024-06-02 (Sun, 02 Jun 2024)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
# Conflicts:
#	src/gui/webchannels_setup.cpp
2024-06-09 11:11:13 +02:00
max_10
7f20e1b4f0 terrestrial.xml: update
Origin commit data
------------------
Commit: a87fb11c82
Author: max_10 <max_10@gmx.de>
Date: 2024-05-21 (Tue, 21 May 2024)

Origin message was:
------------------
- terrestrial.xml: update

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-22 20:23:32 +02:00
max_10
cefc213899 configure.ac: Corrected formatting
addressing formatting issues from recent commits


Origin commit data
------------------
Commit: 1b79a3cd17
Author: max_10 <max_10@gmx.de>
Date: 2024-05-21 (Tue, 21 May 2024)

Origin message was:
------------------
- configure.ac: formatting code

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-22 20:22:43 +02:00
vanhofen
50f96effdc locale: change shoutcast locales
Origin commit data
------------------
Commit: d62b6bce66
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-13 (Mon, 13 May 2024)

Origin message was:
------------------
- locale: change shoutcast locales

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
# Conflicts:
#	data/locale/english.locale
#	data/locale/slovak.locale
2024-05-14 12:19:07 +02:00
vanhofen
26bd0559a4 configure.ac: minor cosmetics
Origin commit data
------------------
Commit: 62cac67fde
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-13 (Mon, 13 May 2024)

Origin message was:
------------------
- configure.ac: minor cosmetics

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
# Conflicts:
#	configure.ac
2024-05-14 12:00:35 +02:00
vanhofen
41081b61fb configure.ac: in shoutcast speach it's not an api key but a developer id
See 10th section in https://www.shoutcast.com/legal/agreements/api#4-license-restrictions


Origin commit data
------------------
Commit: bc49bc4d23
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-13 (Mon, 13 May 2024)

Origin message was:
------------------
- configure.ac: in shoutcast speach it's not an api key but a developer id

See 10th section in https://www.shoutcast.com/legal/agreements/api#4-license-restrictions


------------------
This commit was generated by Migit
2024-05-14 11:09:04 +02:00
Thilo Graf
aad2311ebc configure.ac: More API key management security and improve backward compatibility
- GUI management of API keys is now disabled by default for OpenWeather,
  TMDb, OMDb, Shoutcast, and YouTube to enhance security.
  In particular, the risk of accidental activation of GUI-based management
  of API keys should be reduced.
- Introduced warning log messages to inform users about the risks of
  enabling GUI management, which could potentially expose sensitive API
  keys.
- Updated help strings to emphasize safe use of API keys.
- Added notices for users about the possible use of outdated API key
  options.
- Implemented missing backward compatibility for some API option names
  that have changed. This is necessary because build environments
  generated with 'buildenv' do not necessarily adjust automatically to
  the new options. This should prevent the risk of build failures and
  ensure that older configurations remain compatible.

These changes aim to secure configurations better and mitigate the risk
of unintentional exposure of API keys to end users and should avoid build errors.
2024-05-11 23:38:47 +02:00
vanhofen
3021d62d33 configure.ac: shorten/unify AS_HELP_STRINGs
Origin commit data
------------------
Commit: 340490fd76
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-04 (Sat, 04 May 2024)

Origin message was:
------------------
- configure.ac: shorten/unify AS_HELP_STRINGs

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-09 21:34:08 +02:00
vanhofen
d3f10dafe5 rename SHOUTCAST_DEV_KEY => SHOUTCAST_DEV_ID
Origin commit data
------------------
Commit: 6559455ce8
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-04 (Sat, 04 May 2024)

Origin message was:
------------------
- rename SHOUTCAST_DEV_KEY => SHOUTCAST_DEV_ID

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-09 21:34:06 +02:00
vanhofen
e58aea8b6d rename YOUTUBE_DEV_KEY => YOUTUBE_API_KEY
Origin commit data
------------------
Commit: 4d01fa773a
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-04 (Sat, 04 May 2024)

Origin message was:
------------------
- rename YOUTUBE_DEV_KEY => YOUTUBE_API_KEY

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
# Conflicts:
#	data/locale/slovak.locale
2024-05-09 21:34:03 +02:00
vanhofen
8254c984e3 rename TMDB_DEV_KEY => TMDB_API_KEY
Origin commit data
------------------
Commit: dbb48ff878
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-04 (Sat, 04 May 2024)

Origin message was:
------------------
- rename TMDB_DEV_KEY => TMDB_API_KEY

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-09 21:33:59 +02:00
vanhofen
3c1a5dc99c rename WEATHER_DEV_KEY => WEATHER_API_KEY
Origin commit data
------------------
Commit: 7925297e03
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-04 (Sat, 04 May 2024)

Origin message was:
------------------
- rename WEATHER_DEV_KEY => WEATHER_API_KEY

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-09 21:33:57 +02:00
Thilo Graf
40271ee154 .gitignore: Add .vscode directory to prevent tracking of IDE settings 2024-05-09 21:33:46 +02:00
Thilo Graf
7000e4af2d opkg_manager: Refactor version info saving logic in COPKGManager
Update logic in COPKGManager::pullPkgData() to handle various
package names including "neutrino-mp", "neutrino", or falling
back to the generic "PACKAGE" if specific names are not found.
2024-05-09 21:33:09 +02:00
vanhofen
d31da80bd8 weather: formatting code using astyle
Origin commit data
------------------
Commit: f63728bbb5
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-03 (Fri, 03 May 2024)

Origin message was:
------------------
- weather: formatting code using astyle

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-04 09:23:42 +02:00
vanhofen
69592226da weather-setup: disable api version chooser until api version 3.0 won't work
Origin commit data
------------------
Commit: fedb8d3b68
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-03 (Fri, 03 May 2024)

Origin message was:
------------------
- weather-setup: disable api version chooser until api version 3.0 won't work

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-04 09:23:25 +02:00
vanhofen
c3db7b4847 locale: add LOCALE_MENU_HINT_WEATHER_API_VERSION
Origin commit data
------------------
Commit: 4bb0243934
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-03 (Fri, 03 May 2024)

Origin message was:
------------------
- locale: add LOCALE_MENU_HINT_WEATHER_API_VERSION

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-04 09:23:03 +02:00
vanhofen
aa95a4338d rename weather-dev-ver => weather-api-version
Origin commit data
------------------
Commit: d083c61dbb
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-03 (Fri, 03 May 2024)

Origin message was:
------------------
- rename weather-dev-ver => weather-api-version

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-04 09:23:00 +02:00
TangoCash
27fadb7864 add option to change openweather api to 3.0, since 2.5 will be deactivated in June 2024
Origin commit data
------------------
Commit: 58cf5bf2f1
Author: TangoCash <eric@loxat.de>
Date: 2024-05-03 (Fri, 03 May 2024)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-04 09:21:55 +02:00
BPanther
beb7c10977 fix rc (thx mohousch)
Origin commit data
------------------
Commit: 2d63f3f32c
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-05-01 (Wed, 01 May 2024)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-05-04 09:19:03 +02:00
BPanther
bca0d06e60 yWeb: /control/getchannelinfo changed.
Line 1: servicename
Line 2: epg now
Line 3: epg now duration X/Y
Line 4: epg next


Origin commit data
------------------
Commit: 866fc19dd0
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-04-30 (Tue, 30 Apr 2024)



------------------
This commit was generated by Migit
2024-05-04 09:18:19 +02:00
BPanther
a1ac4f7b95 yWeb: /control/getchannelinfo for short channel info added.
Line 1: servicename
Line 2: epg info
Line 3: duration X/Y


Origin commit data
------------------
Commit: 3498c8c8a6
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-04-30 (Tue, 30 Apr 2024)



------------------
This commit was generated by Migit
2024-05-04 09:15:22 +02:00
GetAway
9321aaada0 getservices.cpp: fix e2tv streaming on cable boxes 2024-04-29 09:58:54 +02:00
vanhofen
648dc493ad record-info: fix display of timeshift icon
Origin commit data
------------------
Commit: 04320a31fb
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-04-23 (Tue, 23 Apr 2024)

Origin message was:
------------------
- record-info: fix display of timeshift icon

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-04-24 12:17:41 +02:00
vanhofen
644fe9c5c2 bouqueteditor: use NEUTRINO_ICON_BUTTON_CHECKED
Origin commit data
------------------
Commit: 7b7a794777
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-04-23 (Tue, 23 Apr 2024)

Origin message was:
------------------
- bouqueteditor: use NEUTRINO_ICON_BUTTON_CHECKED

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-04-24 12:17:35 +02:00
vanhofen
f3c0ef0be7 icons: introduce NEUTRINO_ICON_BUTTON_CHECKED
Origin commit data
------------------
Commit: 769990243b
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-04-23 (Tue, 23 Apr 2024)

Origin message was:
------------------
- icons: introduce NEUTRINO_ICON_BUTTON_CHECKED

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-04-24 12:17:00 +02:00
vanhofen
14240c3c4a turn some comparsions for a better readability
Origin commit data
------------------
Commit: bee4cb4959
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-03-25 (Mon, 25 Mar 2024)

Origin message was:
------------------
- turn some comparsions for a better readability

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-03-27 07:12:41 +01:00
vanhofen
f7f1f4d6e6 nhttpd_controlapi.html: update reloadchannels documentation
Origin commit data
------------------
Commit: 470001bcdb
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-02-27 (Tue, 27 Feb 2024)

Origin message was:
------------------
- nhttpd_controlapi.html: update reloadchannels documentation

------------------
This commit was generated by Migit
2024-03-01 10:54:05 +01:00
vanhofen
01b1610aa9 helpers: add ø to GetSpecialName()
Origin commit data
------------------
Commit: 4d89394141
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-02-18 (Sun, 18 Feb 2024)

Origin message was:
------------------
- helpers: add ø to GetSpecialName()

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-02-26 12:56:26 +01:00
TangoCash
de27448e44 add option to reload channels via webif without saving first
Origin commit data
------------------
Commit: 0c0a1a1d5f
Author: TangoCash <eric@loxat.de>
Date: 2016-03-25 (Fri, 25 Mar 2016)


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

Where is this documented?
Making changes to the API without any documentation is quite unpleasant.
Unfortunately, this has happened several times before.
It would be nice if someone could address this issue.

see: ./neutrino/doc/nhttpd/nhttpd_controlapi.html
2024-02-26 12:41:51 +01:00
vanhofen
3f316f95c4 neutrino: some minor formatting changes
Origin commit data
------------------
Commit: 6d66951874
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-28 (Sun, 28 Jan 2024)

Origin message was:
------------------
- neutrino: some minor formatting changes

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-01-29 12:13:00 +01:00
vanhofen
8cc61d5e71 neutrino: try to fix segfault
Origin commit data
------------------
Commit: 8eed517283
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-28 (Sun, 28 Jan 2024)

Origin message was:
------------------
- neutrino: try to fix segfault

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-01-29 12:12:54 +01:00
BPanther
5c57a546ad fix PiP init (first call) hd51/h7/bre2ze4k
Origin commit data
------------------
Commit: 387b654d1b
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-01-21 (Sun, 21 Jan 2024)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-01-22 11:05:18 +01:00
GetAway
f28f3bf0f7 update.cpp: remove unused variable 2024-01-14 13:44:47 +01:00
vanhofen
ce9d47cf93 update: fix commit: neutrino remove useless allow_flash from CmdParser()
commit: 947b52f09a
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 854a86ba9f
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-12 (Fri, 12 Jan 2024)

Origin message was:
------------------
- update: fix 27d6d263223f13d0c6bfb482401a7229fbb8217c

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2024-01-13 21:12:36 +01:00
GetAway
a807efeada zapit.cpp: fix segfault on CST while neutrino starts 2024-01-13 20:02:51 +01:00
Thilo Graf
9fddb37971 Change to version 3.24 3.24 2024.1 2024-01-10 11:40:46 +01:00
Thilo Graf
0a46ad7ba0 moviedb: outsource moviedb sources into own subdir 2024-01-09 20:16:40 +01:00