diff --git a/MDRP/App.config b/MDRP/App.config index 013d430..8a1680f 100644 --- a/MDRP/App.config +++ b/MDRP/App.config @@ -1,7 +1,7 @@ - + - + @@ -10,8 +10,7 @@ - + diff --git a/MDRP/DiscordRPC.dll b/MDRP/DiscordRPC.dll new file mode 100644 index 0000000..05eed52 Binary files /dev/null and b/MDRP/DiscordRPC.dll differ diff --git a/MDRP/MDRP.csproj b/MDRP/MDRP.csproj index 314e730..c5449ce 100644 --- a/MDRP/MDRP.csproj +++ b/MDRP/MDRP.csproj @@ -8,7 +8,7 @@ Exe MDRP MDRP - v4.7.2 + v4.8 512 true true @@ -97,11 +97,15 @@ + 1.2.1.2 + + 1.3.0.28 + 2.0.2 @@ -116,9 +120,6 @@ - - libs\DiscordRPC.dll - diff --git a/MDRP/Program.cs b/MDRP/Program.cs index 946acfc..ad4071a 100644 --- a/MDRP/Program.cs +++ b/MDRP/Program.cs @@ -557,7 +557,8 @@ private static void HandleLocalRequests() { activeClient.SetPresence(new RichPresence { - Details = activeClient.CurrentPresence.Details, + Type = ActivityType.Listening, + Details = activeClient.CurrentPresence.Details, State = activeClient.CurrentPresence.State, Assets = new Assets { @@ -644,6 +645,7 @@ private static void HandleLocalRequests() RichPresence richPresence = new RichPresence { + Type = ActivityType.Listening, Details = newDetailsWithTitle, State = newStateWithArtist, Assets = new Assets @@ -685,6 +687,7 @@ private static void HandleLocalRequests() if (activeClient != null) activeClient.SetPresence(new RichPresence { + Type = ActivityType.Listening, Details = langHelper[LocalizableStrings.FAILED_TO_GET_INFO] }); Console.Write(langHelper[LocalizableStrings.FAILED_TO_GET_INFO] + " \r"); @@ -789,7 +792,8 @@ private static void HandleRemoteRequests() RichPresence richPresence = new RichPresence { - Details = PrepareFormatStringCapped(lastMessage, lineData.Split('\n')[0], titleLength), + Type = ActivityType.Listening, + Details = PrepareFormatStringCapped(lastMessage, lineData.Split('\n')[0], titleLength), State = PrepareFormatStringCapped(lastMessage, lineData.Split('\n')[1], titleLength), Timestamps = _isPlaying diff --git a/MDRP/bin/Release/DiscordRPC.dll b/MDRP/bin/Release/DiscordRPC.dll index db9cac8..b15d3ba 100644 Binary files a/MDRP/bin/Release/DiscordRPC.dll and b/MDRP/bin/Release/DiscordRPC.dll differ diff --git a/MDRP/bin/Release/MDRP.exe b/MDRP/bin/Release/MDRP.exe index 35b484c..f2f2667 100644 Binary files a/MDRP/bin/Release/MDRP.exe and b/MDRP/bin/Release/MDRP.exe differ diff --git a/MDRP/bin/Release/MDRP.exe.config b/MDRP/bin/Release/MDRP.exe.config index 9469ef9..8a1680f 100644 --- a/MDRP/bin/Release/MDRP.exe.config +++ b/MDRP/bin/Release/MDRP.exe.config @@ -1,24 +1,18 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + diff --git a/MDRP/libs/DiscordRPC.dll b/MDRP/libs/DiscordRPC.dll index db9cac8..05eed52 100644 Binary files a/MDRP/libs/DiscordRPC.dll and b/MDRP/libs/DiscordRPC.dll differ diff --git a/MDRP/libs/DiscordRPC.dll.bak b/MDRP/libs/DiscordRPC.dll.bak new file mode 100644 index 0000000..db9cac8 Binary files /dev/null and b/MDRP/libs/DiscordRPC.dll.bak differ