summaryrefslogtreecommitdiff
path: root/xineliboutput.c
diff options
context:
space:
mode:
Diffstat (limited to 'xineliboutput.c')
-rw-r--r--xineliboutput.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/xineliboutput.c b/xineliboutput.c
index 33eb8c16..fbd5b1b4 100644
--- a/xineliboutput.c
+++ b/xineliboutput.c
@@ -21,7 +21,7 @@
*
* xineliboutput.c: VDR Plugin interface
*
- * $Id: xineliboutput.c,v 1.37 2008-11-20 11:46:31 rofafor Exp $
+ * $Id: xineliboutput.c,v 1.38 2009-03-12 17:29:13 rofafor Exp $
*
*/
@@ -282,6 +282,8 @@ const char **cPluginXinelibOutput::SVDRPHelpPages(void)
" Play music file.",
"PIMG <file>\n"
" Play/show image file.",
+ "QMSC <file>\n"
+ " Queue music file to playlist.",
NULL
};
return HelpPages;
@@ -332,6 +334,16 @@ cString cPluginXinelibOutput::SVDRPCommand(const char *Command, const char *Opti
}
}
+ else if(strcasecmp(Command, "QMSC") == 0) {
+ if(*Option) {
+ LOGMSG("SVDRP(%s, %s)", Command, Option);
+ cXinelibPlayerControl::Queue(Option);
+ return cString("Queueing music file");
+ } else {
+ ReplyCode = 550; // Requested action not taken
+ }
+ }
+
return NULL;
}