mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
The new member function cSkinDisplayReplay::SetRecording() allows a skin to display more information about the currently played recording
This commit is contained in:
6
svdrp.c
6
svdrp.c
@@ -10,7 +10,7 @@
|
||||
* and interact with the Video Disk Recorder - or write a full featured
|
||||
* graphical interface that sits on top of an SVDRP connection.
|
||||
*
|
||||
* $Id: svdrp.c 2.18 2012/05/08 11:23:56 kls Exp $
|
||||
* $Id: svdrp.c 2.19 2012/05/12 11:55:18 kls Exp $
|
||||
*/
|
||||
|
||||
#include "svdrp.h"
|
||||
@@ -1371,7 +1371,7 @@ void cSVDRP::CmdPLAY(const char *Option)
|
||||
if (recording) {
|
||||
if (c)
|
||||
option = skipspace(++option);
|
||||
cReplayControl::SetRecording(NULL, NULL);
|
||||
cReplayControl::SetRecording(NULL);
|
||||
cControl::Shutdown();
|
||||
if (*option) {
|
||||
int pos = 0;
|
||||
@@ -1383,7 +1383,7 @@ void cSVDRP::CmdPLAY(const char *Option)
|
||||
else
|
||||
resume.Save(pos);
|
||||
}
|
||||
cReplayControl::SetRecording(recording->FileName(), recording->Title());
|
||||
cReplayControl::SetRecording(recording->FileName());
|
||||
cControl::Launch(new cReplayControl);
|
||||
cControl::Attach();
|
||||
Reply(250, "Playing recording \"%s\" [%s]", num, recording->Title());
|
||||
|
||||
Reference in New Issue
Block a user