summaryrefslogtreecommitdiff
path: root/mpv_service.h
blob: f4e563231c229b00ea42c2224a90361a29a942e1 (plain)
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
//////////////////////////////////////////////////////////////////////////////
///                                                                        ///
/// 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