diff --git a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json index d31239f..1ba8035 100644 --- a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json +++ b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.backup.json @@ -24,7 +24,7 @@ "RelativeDocumentMoniker": "JellyfinDiscordRPC\\Program.cs", "ToolTip": "C:\\Users\\random()\\RiderProjects\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs*", "RelativeToolTip": "JellyfinDiscordRPC\\Program.cs*", - "ViewState": "AgIAAF0AAAAwm5mZmZklwGMAAAAcAAAAAAAAAA==", + "ViewState": "AgIAAL0AAAAANjMzMzMawNsAAABZAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-11-30T22:21:56.575Z", "EditorCaption": "" diff --git a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.json b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.json index 4c3a2fc..7244681 100644 --- a/.vs/JellyfinDiscordRPC/v17/DocumentLayout.json +++ b/.vs/JellyfinDiscordRPC/v17/DocumentLayout.json @@ -24,7 +24,7 @@ "RelativeDocumentMoniker": "JellyfinDiscordRPC\\Program.cs", "ToolTip": "C:\\Users\\random()\\RiderProjects\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs*", "RelativeToolTip": "JellyfinDiscordRPC\\Program.cs*", - "ViewState": "AgIAAF0AAAAwm5mZmZklwGQAAAA2AAAAAAAAAA==", + "ViewState": "AgIAAMMAAAAAzMzMzMwFwNsAAABPAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2024-11-30T22:21:56.575Z", "EditorCaption": "" diff --git a/JellyfinDiscordRPC/Program.cs b/JellyfinDiscordRPC/Program.cs index aa8a1c2..10d2181 100644 --- a/JellyfinDiscordRPC/Program.cs +++ b/JellyfinDiscordRPC/Program.cs @@ -214,7 +214,10 @@ class Program Duration = TimeSpan.FromTicks((long)nowPlaying["RunTimeTicks"]), IsMusic = isMusic, NowPlayingItem = nowPlaying, - EndDate = DateTime.UtcNow + TimeSpan.FromTicks((long)nowPlaying["RunTimeTicks"]) // Calculating end date based on duration // no you aren't, this shit doesn't work (stop using the fucking AI diamond!) + // EndDate = DateTime.UtcNow + TimeSpan.FromTicks((long)nowPlaying["RunTimeTicks"]) // Calculating end date based on duration // no you aren't, this shit doesn't work (stop using the fucking AI diamond!) + // EndDate = new DateTime((long)nowPlaying["RunTimeTicks"]) // this looks like it *should* work but it doesn't (somehow makes it *worse*?) + // DateTime EndDate = new DateTime((long)nowPlaying["RunTimeTicks"]) // everyone suggests this but you can't do it this way + // EndDate = DateTime.FromFileTime((long)nowPlaying["RunTimeTicks"]) // ..this also breaks things like the other way that should work? beginning to think that there's something wrong with the DiscordRPC implementation.. }; } } diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfo.cs b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfo.cs index 88e9ad9..3a5fa7b 100644 --- a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfo.cs +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("JellyfinDiscordRPC")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+2a2689bfb796e7c7505d635e8c71767ab2f9dd3c")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4954fd7896ae7558c2734d4a550069fe9b168202")] [assembly: System.Reflection.AssemblyProductAttribute("JellyfinDiscordRPC")] [assembly: System.Reflection.AssemblyTitleAttribute("JellyfinDiscordRPC")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfoInputs.cache b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfoInputs.cache index 472be05..2fb1217 100644 --- a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfoInputs.cache +++ b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.AssemblyInfoInputs.cache @@ -1 +1 @@ -c40b6ae056b22d95c6fbf122f6bbab2d5d86aefbcbd9692e40c3bac8d3dabab6 +509eac63d3c89a1f5fa1391c040dc16a386ce242f6a3317588056e11f108ee64 diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.dll b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.dll index 46caa27..4603253 100644 Binary files a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.dll and b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.dll differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.pdb b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.pdb index 92edaf3..770b22f 100644 Binary files a/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.pdb and b/JellyfinDiscordRPC/obj/Debug/net9.0/JellyfinDiscordRPC.pdb differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/apphost.exe b/JellyfinDiscordRPC/obj/Debug/net9.0/apphost.exe index b2b7643..1d9f40c 100644 Binary files a/JellyfinDiscordRPC/obj/Debug/net9.0/apphost.exe and b/JellyfinDiscordRPC/obj/Debug/net9.0/apphost.exe differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/ref/JellyfinDiscordRPC.dll b/JellyfinDiscordRPC/obj/Debug/net9.0/ref/JellyfinDiscordRPC.dll index 441a88c..381bbcc 100644 Binary files a/JellyfinDiscordRPC/obj/Debug/net9.0/ref/JellyfinDiscordRPC.dll and b/JellyfinDiscordRPC/obj/Debug/net9.0/ref/JellyfinDiscordRPC.dll differ diff --git a/JellyfinDiscordRPC/obj/Debug/net9.0/refint/JellyfinDiscordRPC.dll b/JellyfinDiscordRPC/obj/Debug/net9.0/refint/JellyfinDiscordRPC.dll index 441a88c..381bbcc 100644 Binary files a/JellyfinDiscordRPC/obj/Debug/net9.0/refint/JellyfinDiscordRPC.dll and b/JellyfinDiscordRPC/obj/Debug/net9.0/refint/JellyfinDiscordRPC.dll differ