Project

General

Profile

Bug #1447 ยป vdr-extrecmenu-LastReplayed.diff

amair, 10/18/2013 01:11 PM

View differences:

mymenurecordings.c
Recordings.StateChanged(recordingsstate);
Display();
//Display();
if(wasdvd&&!cControl::Control())
{
......
Set();
if(mysetup.GoLastReplayed && myReplayControl::LastReplayed())
if(mysetup.GoLastReplayed && mysetup.ReturnToRec && myReplayControl::LastReplayed())
Open();
mysetup.ReturnToRec = false;
Display();
SetHelpKeys();
mymenusetup.c
mysetup.DescendSorting=0;
mysetup.GoLastReplayed=0;
mysetup.ReturnToPlugin=1;
mysetup.ReturnToRec=0;
mysetup.LimitBandwidth=0;
mysetup.UseVDRsRecInfoMenu=0;
mysetup.PatchFont=1;
mymenusetup.h
int DescendSorting;
int GoLastReplayed;
int ReturnToPlugin;
int ReturnToRec;
int LimitBandwidth;
int UseVDRsRecInfoMenu;
int PatchFont;
myreplaycontrol.c
myReplayControl::~myReplayControl()
{
if(fCallPlugin)
{
mysetup.ReturnToRec = true;
cRemote::CallPlugin("extrecmenu");
}
}
eOSState myReplayControl::ProcessKey(eKeys Key)
    (1-1/1)