summaryrefslogtreecommitdiff
path: root/mpv_service.h
diff options
context:
space:
mode:
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
+