From e791012352b1b27f509273d4113a4276c876d0b6 Mon Sep 17 00:00:00 2001 From: Andreas Mair Date: Wed, 6 Jun 2012 16:19:32 +0200 Subject: Fixed compiling with VDR 1.7.28. --- HISTORY | 3 +++ mymenurecordings.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/HISTORY b/HISTORY index d5145c5..55abf9e 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,9 @@ VDR Plugin 'extrecmenu' Revision History ---------------------------------------- +2012-xx-xx: Version 1.2.3 +- [amair] Fixed compiling with VDR 1.7.28. + 2012-04-29: Version 1.2.2 - [amair] Updated Italian translation (Submitted by Gringo) (Closes #673). - [amair] Don't show recordings menu if replay is stopped using kStop (Closes #934). diff --git a/mymenurecordings.c b/mymenurecordings.c index 0140b03..d2ea8c8 100644 --- a/mymenurecordings.c +++ b/mymenurecordings.c @@ -1031,7 +1031,11 @@ eOSState myMenuRecordings::Play() buffer=NULL; } golastreplayed=true; +#if VDRVERSNUM >= 10728 + myReplayControl::SetRecording(recording->FileName()); +#else myReplayControl::SetRecording(recording->FileName(),recording->Title()); +#endif cControl::Shutdown(); isyslog("[extrecmenu] starting replay of recording"); cControl::Launch(new myReplayControl()); -- cgit v1.2.3