Fixed GST Idle mode, added proper GST Pause mode, and finally fixed pausing with Discord RPC
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#ifndef _DISCORDRPC_H
|
||||
#define _DISCORDRPC_H
|
||||
#include <time.h>
|
||||
|
||||
#define DISCORDRPC_STATE_IDLE 0
|
||||
#define DISCORDRPC_STATE_PLAYING_OPENSUBSONIC 1
|
||||
@@ -16,6 +17,7 @@
|
||||
typedef struct {
|
||||
int state;
|
||||
long songLength;
|
||||
time_t startTime;
|
||||
char* songTitle;
|
||||
char* songArtist;
|
||||
char* coverArtUrl;
|
||||
|
||||
Reference in New Issue
Block a user