mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
If the current channel is no longer available because of a VPS timer entering the VPS margin, live view now switches to the channel of that timer
This commit is contained in:
parent
62ad9b41dd
commit
51dca45a0c
4
HISTORY
4
HISTORY
@ -9887,7 +9887,7 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed possible duplicate component entries in the info of an ongoing recording
|
- Fixed possible duplicate component entries in the info of an ongoing recording
|
||||||
(reported by Christoph Haubrich).
|
(reported by Christoph Haubrich).
|
||||||
|
|
||||||
2024-03-10:
|
2024-03-28:
|
||||||
|
|
||||||
- Fixed the move assignment operator to check for self-assignment (suggested by
|
- Fixed the move assignment operator to check for self-assignment (suggested by
|
||||||
Stefan Herdler).
|
Stefan Herdler).
|
||||||
@ -9914,3 +9914,5 @@ Video Disk Recorder Revision History
|
|||||||
transponder.
|
transponder.
|
||||||
- The EIT scan is no longer inhibited if a timer is in VPS margin or needs the
|
- The EIT scan is no longer inhibited if a timer is in VPS margin or needs the
|
||||||
transponder.
|
transponder.
|
||||||
|
- If the current channel is no longer available because of a VPS timer entering the
|
||||||
|
VPS margin, live view now switches to the channel of that timer.
|
||||||
|
6
vdr.c
6
vdr.c
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* The project's page is at http://www.tvdr.de
|
* The project's page is at http://www.tvdr.de
|
||||||
*
|
*
|
||||||
* $Id: vdr.c 5.14 2024/03/10 11:26:54 kls Exp $
|
* $Id: vdr.c 5.15 2024/03/28 13:21:42 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -1170,8 +1170,10 @@ int main(int argc, char *argv[])
|
|||||||
if (Device->SwitchChannel(Timer->Channel(), false))
|
if (Device->SwitchChannel(Timer->Channel(), false))
|
||||||
Device->SetOccupied(TIMERDEVICETIMEOUT);
|
Device->SetOccupied(TIMERDEVICETIMEOUT);
|
||||||
}
|
}
|
||||||
if (cDevice::PrimaryDevice()->HasDecoder() && HadProgramme && !cDevice::PrimaryDevice()->HasProgramme())
|
if (cDevice::PrimaryDevice()->HasDecoder() && HadProgramme && !cDevice::PrimaryDevice()->HasProgramme()) {
|
||||||
|
LastTimerChannel = Timer->Channel()->Number();
|
||||||
Skins.QueueMessage(mtInfo, tr("Upcoming recording!")); // the previous SwitchChannel() has switched away the current live channel
|
Skins.QueueMessage(mtInfo, tr("Upcoming recording!")); // the previous SwitchChannel() has switched away the current live channel
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user