summaryrefslogtreecommitdiff
path: root/mpv_service.h
diff options
context:
space:
mode:
authorManiac <na@na.na>2015-07-03 22:29:41 +0200
committerManiac <na@na.na>2015-07-03 22:29:41 +0200
commitda407909879f82c15f786bda3fedda0cae892100 (patch)
tree143c2b842028c38e8f7facfe576567039459afd9 /mpv_service.h
downloadvdr-plugin-mpv-da407909879f82c15f786bda3fedda0cae892100.tar.gz
vdr-plugin-mpv-da407909879f82c15f786bda3fedda0cae892100.tar.bz2
import 0.0.40.0.4
Diffstat (limited to 'mpv_service.h')
-rw-r--r--mpv_service.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/mpv_service.h b/mpv_service.h
new file mode 100644
index 0000000..f4e5632
--- /dev/null
+++ b/mpv_service.h
@@ -0,0 +1,47 @@
+//////////////////////////////////////////////////////////////////////////////
+/// ///
+/// This file is part of the VDR mpv plugin and licenced under AGPLv3 ///
+/// ///
+/// See the README file for copyright information ///
+/// ///
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef __MPV_SERVICE_H
+#define __MPV_SERVICE_H
+
+#define MPV_START_PLAY_SERVICE "Mpv-StartPlayService_v1_0"
+#define MPV_SET_TITLE_SERVICE "Mpv-SetTitleService_v1_0"
+
+// Deprecated will be removed in a future release, please use Mpv_Playfile instead
+typedef struct
+{
+ char* Filename;
+ char* Title;
+} Mpv_StartPlayService_v1_0_t;
+
+// Deprecated will be removed in a future release, please use Mpv_SetTitle instead
+typedef struct
+{
+ char* Title;
+} Mpv_SetTitleService_v1_0_t;
+
+// play the given Filename, this can be a media file or a playlist
+typedef struct
+{
+ char *Filename;
+} Mpv_PlayFile;
+
+// start the given playlist in shuffle mode
+typedef struct
+{
+ char *Filename;
+} Mpv_PlaylistShuffle;
+
+// Overrides the displayed title in replay info
+typedef struct
+{
+ char *Title;
+} Mpv_SetTitle;
+
+#endif
+