-
Notifications
You must be signed in to change notification settings - Fork 2
/
mpv_service.h
68 lines (57 loc) · 1.56 KB
/
mpv_service.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//////////////////////////////////////////////////////////////////////////////
/// ///
/// 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;
typedef struct
{
int SeekAbsolute;
int SeekRelative;
} Mpv_Seek;
typedef struct
{
int x;
int y;
int width;
int height;
} Mpv_ScaleVideo;
typedef struct
{
uint8_t *image;
int size;
int width;
int height;
} Mpv_GrabImage;
#endif