Fixed GST Idle mode, added proper GST Pause mode, and finally fixed pausing with Discord RPC

This commit is contained in:
2026-03-24 13:35:17 +10:00
parent af8f359759
commit c69585b0e9
4 changed files with 92 additions and 17 deletions
+2
View File
@@ -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;