mirror of
https://github.com/Goldenkrew3000/OSSP_OpenSource.git
synced 2025-12-19 08:14:44 +10:00
The app is technically functional
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <pthread.h>
|
||||
#include "external/discord-rpc/include/discord_rpc.h"
|
||||
#include "gui/gui_entry.hpp"
|
||||
#include "libopensubsonic/logger.h"
|
||||
@@ -8,6 +9,7 @@
|
||||
#include "libopensubsonic/httpclient.h"
|
||||
#include "libopensubsonic/endpoint_ping.h"
|
||||
#include "configHandler.h"
|
||||
#include "player/player.h"
|
||||
|
||||
const char* APPID = "1407025303779278980";
|
||||
|
||||
@@ -92,6 +94,10 @@ int main(int argc, char** argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Connection attempt was successful, initialize player
|
||||
pthread_t pthr_player;
|
||||
pthread_create(&pthr_player, NULL, OSSPlayer_ThrdInit, NULL);
|
||||
|
||||
// Launch Discord RPC
|
||||
discordInit();
|
||||
updatePresence();
|
||||
|
||||
Reference in New Issue
Block a user