ham62 / xmplaydiscordstatus Goto Github PK
View Code? Open in Web Editor NEWXMPlay plugin that sets your Discord "Now Playing" status to the current track you're listening to.
License: MIT License
XMPlay plugin that sets your Discord "Now Playing" status to the current track you're listening to.
License: MIT License
disclaimer: i do not know a single bit of coding
This is a great plugin, but I wanted to change a few values for myself (mainly changing the asset icons and what metadata is displayed), so I cloned and tried building without changing anything as a test, but it gave me this error:
XMPlayDiscordStatus\source\XMPlayDiscordStatus.vcxproj : warning : The build tools for Visual Studio 2013 - Windows XP (v120_xp) cannot be found. Install Visual Studio 2013 - Windows XP (v120_xp) to build using the Visual Studio 2013 - Windows XP (v120_xp) build tools.
I didn't have that on me and I don't really have the disk space for another version of Visual Studio, so I decided to just change the platform toolset and the SDK version to what is currently on my computer. [SDK version 10.0.19041.0, Visual Studio 2019 (v142)]
Afterwords, I tried building, but it failed with 26 errors, 24 being in rpc.h
and 2 being in main.cpp
.
Here's log one: build1.txt
I did a little bit of rudimentary research, and apparently I can get rid of the 24 errors by adding #pragma once
to the beginning of the header, so I went and did that, and I tried building once again. This time it failed with only two errors, the same two that were in main.cpp
.
Log two: build2.txt
I looked up what error C2440 was about, and I found this link and I decided to attempt to fix it by changing these two lines
XMPlayDiscordStatus/source/main.cpp
Lines 110 to 111 in b0c86cc
with
const char* pszFirstLine = "No tracks playing.";
const char* pszSecondLine = "";
and tried building again. This time, it works! But... upon loading the plugin in XMPlay, the program crashes. Upon debugging, I found this:
This is at
XMPlayDiscordStatus/source/rpc.cpp
Line 58 in b0c86cc
At this point, I'm at a standstill and I don't know what to do from here. Thank you once again, and sorry for the trouble!
After putting both files in the plugin folder, nothing happens. Is there something I am doing wrong, or is there a problem with the files?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.