Commit Graph

159 Commits

Author SHA1 Message Date
kamel5 2f64512710 Cosmetic changes 2021-12-22 13:26:56 +01:00
Peter Bieringer 9690f6d8a0 remove debug lines 2021-12-20 19:13:00 +01:00
Peter Bieringer 5e5e5c4fbc extend detection of isHD and isUHD in case of stored EPG info (event) is missing any information regarding video (e.g. if EPG is missing on a channel) 2021-12-20 18:42:58 +01:00
kamel5 5b61c36484 Fix compiler error 2021-06-07 11:37:40 +02:00
kamel5 8aeb848044 Add token errors for recordings (VDR >= 2.5.4) 2021-05-30 14:15:00 +02:00
kamel5 b55994a8a6 Fix display of the background in the display channel
If you enter the display channel in Zapcockpit mode with the right or
left button and exit with OK, the background of the display channel was
not displayed.
2021-05-30 11:42:02 +02:00
kamel5 b47f544ad5 Fix incorrect display of posters and banners in the recording menu
When using the narrow recording menu, the posters and banners were
displayed incorrectly
2021-05-29 15:51:27 +02:00
kamel5 4a89d28f03 Fix display of events in channel display
When switching to a channel without EPG, the display of the current and
following program was not updated.
2021-05-27 11:53:17 +02:00
kamel5 ebd99e119c Fix update timer in the main menu
The timers in the open main menu were not updated when a timer recording
was started or stopped
2021-05-21 11:46:20 +02:00
kamel5 3c7e014dcc Fix a device is currently recording
The token indicating whether a device is currently recording was not
updated correctly
2021-05-21 11:46:16 +02:00
kamel5 b977e3582a Fix display of recording sign in display channel
The display of the instant timer has been corrected in the display
channel so that all events contained in the timer that have a tmFull
or tmPartial flag are marked with the recording symbol.
2021-05-21 11:46:11 +02:00
kamel5 9b63e8327f Fix Fehler: Aufruf des überladenen »min(int&, int&)« ist nicht eindeutig 2021-05-15 14:57:16 +02:00
kamel5 a7fc762b3d Update timerliste in main menu
The display of the instant timers has been corrected in the main menu so
that they are displayed as in the timer list.
2021-05-10 15:48:52 +02:00
Peter Bieringer 0b2666f62d remove comment 2021-05-05 18:51:01 +02:00
Peter Bieringer d4b1765aaf fix vdrstatus in displaymenu 2021-05-05 18:03:13 +02:00
Peter Bieringer 3aae0169b4 expose vdrstatus to displaymenu 2021-05-05 17:39:40 +02:00
Peter Bieringer 4daec64480 add {vdrHasTimers} to vdrstatus - can be used in skins for e.g. REC/SCHED/FREE (in combination with {vdrIsRecording}) 2021-05-04 19:20:29 +02:00
kamel5 09925e6113 Fix Incorrect detection of a recording that is currently running
To set timeShiftActive correctly, it is not sufficient to compare the
name of the recording and the timer in cGlobalTimers::IsRecording()
if no short text is available. Therefore, the start time of both is now
also compared.
2021-05-04 14:38:52 +02:00
Peter Bieringer 0ca96e8b3a add additional vdrstatus exposing "vdrIsRecordingsHandlersActive" and "vdrIsRecording" - can be used in skins for e.g. IDLE/BUSY REC/FREE 2021-05-03 10:53:55 +02:00
Peter Bieringer 700798ba21 add additional recording flag "isInUse" - can be used in skins for e.g. records in cutting/copy(queue) 2021-05-03 07:01:04 +02:00
kamel5 0aeb15d03a Merge branch 'pbiering/code-optimization' into develop 2021-04-25 11:14:40 +02:00
kamel5 50879fa931 Fix segfault with mpv plugin (thx to @lnj at vdr-portal.de)
This fix prevents a segfault when using the mpv plugin because there are
no cutmarks.
2021-03-28 12:26:24 +02:00
Peter Bieringer 4821574437 remove of duplicate code by introducing macros by https://gitlab.com/Mike838 from https://gitlab.com/kamel5/skindesigner/-/issues/1#note_508426185 2021-03-20 16:06:45 +01:00
kamel5 cef6ca78a2 Fix cutting marks wasn't updated 2021-03-15 14:10:18 +01:00
Peter Bieringer 4d3fa0bc71 fix tuner device mapping in case tuners are not starting as first device (e.g. NetCeiver mcli) 2021-03-11 12:52:08 +01:00
Peter Bieringer cbce894c0c Merge remote-tracking branch 'upstream/master' 2021-03-11 08:16:55 +01:00
kamel5 fdc8195174 Add active recordings to timeshift mode
If the current program is paused (timeshift mode), a recording
is created with an "@" at the beginning. A skin can display
this mode differently than the normal playback of a recording.
This change also enables a different display mode for currently
active timer recordings.
2021-03-04 17:47:32 +01:00
kamel5 e7ea88c253 Revert "Disabled timeshift display for non timeshift recordings"
This reverts commit 1fc5379e2e.
2021-03-04 17:33:59 +01:00
Peter Bieringer 105fe893a2 Merge remote-tracking branch 'upstream/master' 2021-03-01 07:25:50 +01:00
kamel5 99d2bc6a86 Eliminate SetRecordingLength 2021-02-15 14:00:40 +01:00
kamel5 15aa722410 Move SetTimeShiftValues 2021-02-15 14:00:40 +01:00
kamel5 afa9cb77a3 Add element timeShiftTimes to displayreplay
In displayreplay the tokens recstart, playbacktime and timeshiftrest
added to display start time, actual playback time and the rest of
the actual recording in timeshiftmode.
2021-02-15 14:00:35 +01:00
kamel5 1fc5379e2e Disabled timeshift display for non timeshift recordings 2021-02-15 12:22:33 +01:00
kamel5 7a70ed13a7 Add tokens eventstart and eventstop to eDRRecTitleST
Tokens eventstart and eventstop can be used in displayreplay timshiftmode to
display the start and end time of the coresponding event
2021-02-15 12:22:33 +01:00
kamel5 64599db339 In timeshift mode, the title of the actual playback position is displayed
If the timeshift mode is activated during playback, the title of the
program that was active when the time shift started is displayed by
pressing OK.
The behavior has now been changed so that the title of the program is
displayed in the actual playback position when you press OK.
2021-02-11 17:39:18 +01:00
kamel5 628a28201b Revision cViewReplay::SetTimeShiftValues()
When the timeshift recording reaches the end time of the start event,
the progress bar and the end time no longer shows any useful
information.
From this version the current live event is used to calculate the
progress bar and the end time.
2021-02-11 17:34:23 +01:00
kamel5 538d59ca4e An error with the remaining time in the channel display has been fixed
The remaining time in the channel display wasn't updated.
A new token "currentremaining" was introduced in the Progressbar section
of displaychannel.xml.
2021-02-11 17:34:23 +01:00
kamel5 78d424d256 Token eLeMenuDefaultIT::devstatus added 2021-02-09 15:57:13 +01:00
kamel5 cba8fe1eb4 Missing token eCeMenuSchedulesIT::durationminutes added 2021-02-09 15:57:13 +01:00
kamel5 c3f7a2cfdf Fixed a bug in timeshift mode that prevented the progress bar from updating in pause mode 2021-02-08 15:31:59 +01:00
kamel5 6972a59e1b A bug with timeshift in connection with global timers has been fixed
With commit 8a04a17 an error was introduced which did not take the global
timers into account in the timeshift replay.
thanks to @machtnix at vdr-portal.de for finding the bug
2021-02-08 11:05:51 +01:00
kamel5 f8b6b2cf1b This reverts bd86dd4de "disabled timeshift display for instant recordings" 2021-02-06 17:58:19 +01:00
Peter Bieringer 764f657620 Merge branch 'fix-Wstringop-overflow' 2021-02-06 12:55:42 +01:00
Peter Bieringer dd30dacb5b fix crash caused by cVeDmDetailheaderRec::Parse introduced in 1.2.10 2021-02-06 12:52:19 +01:00
Peter Bieringer 4bebeda1b0 fix 3x Wstringop-overflow compiler warnings 2021-02-06 09:36:17 +01:00
Peter Bieringer 9def7d2b0d rename to isRecording, filter IsInUse proper, add also to replay recinfo 2021-02-05 08:44:00 +01:00
Peter Bieringer ca354a29e6 added token for recordings: isInUse 2021-02-05 08:06:22 +01:00
kamel5 1c393e23a5 Fixed an error in displayreplay if no recording information are available 2021-02-03 13:53:25 +01:00
Peter Bieringer 83c85870fb align tuner number (starting internally with 0) with VDR numbering (starting with 1) 2021-01-28 13:27:09 +01:00
kamel5 c9c2d953a5 - retrieve ChannelName from 'info' and fallback via ChannelID from active channel list (reverse mechanism)
- remove exposing ChannelID (senseless as default 'info' is not containing it)
2021-01-24 13:02:35 +01:00