Commit Graph

145 Commits

Author SHA1 Message Date
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
Peter Bieringer
b9b82875ba expose to displaymenurecordings: recchannelname, recchannelid, recchannelnumber
add fallback to get name/id from 'info' in case channel is no longer in active channel list
2021-01-23 23:19:16 +01:00
Peter Bieringer
2eef09e6aa detect isRadio proper in case recording is missing "X 1" (happen on e.g. RTL channel) 2021-01-23 10:32:08 +01:00
kamel5
59248ccebb Merge branch 'pbiering/skindesigner-add-isRadio-to-recording' 2021-01-22 19:44:15 +01:00
Peter Bieringer
f127c8d948 add-isRadio-to-recording 2021-01-22 18:01:23 +01:00
Peter Bieringer
fdc1a7357e add isHD and isUHD to channel list 2021-01-21 20:05:18 +01:00
kamel5
bcc24977b0 Merge branch 'pbiering/skindesigner-add-isRadio-to-channel' 2021-01-21 11:57:02 +01:00
Peter Bieringer
f3f4ee2d48 expose isRadio to menuchannel 2021-01-21 08:59:43 +01:00
Peter Bieringer
66f090afdb add isUHD to screenresolution
change mechanism to detect video type using screen height instead of guessing height from width
2021-01-21 07:49:35 +01:00
Peter Bieringer
4c4b9f7837 expose on top of isHD now also isUHD for recordings 2021-01-20 21:37:36 +01:00
Peter Bieringer
ce520980fd fix detection order from high to low 2021-01-20 21:29:37 +01:00
kamel5
4c4374ecb2 improve HD detection code, catch also stream content 9 (Submitted by Peter Bieringer) 2021-01-17 14:27:34 +01:00
kamel5
c5f0b5d3f8 added tokens for framesPerSecond and isHD (Submitted by Peter Bieringer) 2021-01-17 14:27:02 +01:00
kamel5
6f14ddae8a Refactor reruns 2020-07-15 13:21:33 +02:00
kamel5
66351a48f9 Optimization for softhdcuvid 2019-10-12 18:28:07 +02:00