mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The Timers menu now displays the name of the remote VDR in front of the timer's file name, if this is a remote timer
This commit is contained in:
parent
aa40223ff2
commit
3284e941c6
4
HISTORY
4
HISTORY
@ -8596,7 +8596,7 @@ Video Disk Recorder Revision History
|
|||||||
- Bumped all version numbers to 2.2.0.
|
- Bumped all version numbers to 2.2.0.
|
||||||
- Official release.
|
- Official release.
|
||||||
|
|
||||||
2015-09-05: Version 2.3.1
|
2015-09-06: Version 2.3.1
|
||||||
|
|
||||||
- The new function cOsd::MaxPixmapSize() can be called to determine the maximum size
|
- The new function cOsd::MaxPixmapSize() can be called to determine the maximum size
|
||||||
a cPixmap may have on the current OSD. The 'osddemo' example has been modified
|
a cPixmap may have on the current OSD. The 'osddemo' example has been modified
|
||||||
@ -8789,3 +8789,5 @@ Video Disk Recorder Revision History
|
|||||||
timer, which remains valid as long as this instance of VDR is running. This means
|
timer, which remains valid as long as this instance of VDR is running. This means
|
||||||
that timers are no longer continuously numbered from 1 to N in LSTT. There may be
|
that timers are no longer continuously numbered from 1 to N in LSTT. There may be
|
||||||
gaps in the sequence, in case timers have been deleted.
|
gaps in the sequence, in case timers have been deleted.
|
||||||
|
- The Timers menu now displays the name of the remote VDR in front of the timer's
|
||||||
|
file name, if this is a remote timer.
|
||||||
|
5
menu.c
5
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 4.3 2015/08/31 13:36:05 kls Exp $
|
* $Id: menu.c 4.4 2015/09/06 09:28:24 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -1152,7 +1152,7 @@ void cMenuTimerItem::Set(void)
|
|||||||
File++;
|
File++;
|
||||||
else
|
else
|
||||||
File = timer->File();
|
File = timer->File();
|
||||||
SetText(cString::sprintf("%c\t%d\t%s%s%s\t%02d:%02d\t%02d:%02d\t%s",
|
SetText(cString::sprintf("%c\t%d\t%s%s%s\t%02d:%02d\t%02d:%02d\t%s%s",
|
||||||
!(timer->HasFlags(tfActive)) ? ' ' : timer->FirstDay() ? '!' : timer->Recording() ? '#' : '>',
|
!(timer->HasFlags(tfActive)) ? ' ' : timer->FirstDay() ? '!' : timer->Recording() ? '#' : '>',
|
||||||
timer->Channel()->Number(),
|
timer->Channel()->Number(),
|
||||||
*name,
|
*name,
|
||||||
@ -1162,6 +1162,7 @@ void cMenuTimerItem::Set(void)
|
|||||||
timer->Start() % 100,
|
timer->Start() % 100,
|
||||||
timer->Stop() / 100,
|
timer->Stop() / 100,
|
||||||
timer->Stop() % 100,
|
timer->Stop() % 100,
|
||||||
|
timer->Remote() ? *cString::sprintf("@%s: ", timer->Remote()) : "",
|
||||||
File));
|
File));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user