well you didn't make the thing we were going for work, now did you?
This commit is contained in:
parent
2a2689bfb7
commit
4954fd7896
20 changed files with 20 additions and 18 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"Version": 1,
|
"Version": 1,
|
||||||
"WorkspaceRootPath": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\",
|
"WorkspaceRootPath": "C:\\Users\\random()\\RiderProjects\\jellyfin-discord-rpc\\",
|
||||||
"Documents": [
|
"Documents": [
|
||||||
{
|
{
|
||||||
"AbsoluteMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|c:\\users\\joshua\\documents\\github\\jellyfin-discord-rpc\\jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
"AbsoluteMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|c:\\users\\random()\\riderprojects\\jellyfin-discord-rpc\\jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
"RelativeMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|solutionrelative:jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
"RelativeMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|solutionrelative:jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -20,13 +20,13 @@
|
||||||
"$type": "Document",
|
"$type": "Document",
|
||||||
"DocumentIndex": 0,
|
"DocumentIndex": 0,
|
||||||
"Title": "Program.cs",
|
"Title": "Program.cs",
|
||||||
"DocumentMoniker": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs",
|
"DocumentMoniker": "C:\\Users\\random()\\RiderProjects\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs",
|
||||||
"RelativeDocumentMoniker": "JellyfinDiscordRPC\\Program.cs",
|
"RelativeDocumentMoniker": "JellyfinDiscordRPC\\Program.cs",
|
||||||
"ToolTip": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs",
|
"ToolTip": "C:\\Users\\random()\\RiderProjects\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs*",
|
||||||
"RelativeToolTip": "JellyfinDiscordRPC\\Program.cs",
|
"RelativeToolTip": "JellyfinDiscordRPC\\Program.cs*",
|
||||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAANAAAAAAAAAA==",
|
"ViewState": "AgIAAF0AAAAwm5mZmZklwGMAAAAcAAAAAAAAAA==",
|
||||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
"WhenOpened": "2024-11-30T05:30:39.706Z",
|
"WhenOpened": "2024-11-30T22:21:56.575Z",
|
||||||
"EditorCaption": ""
|
"EditorCaption": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"Version": 1,
|
"Version": 1,
|
||||||
"WorkspaceRootPath": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\",
|
"WorkspaceRootPath": "C:\\Users\\random()\\RiderProjects\\jellyfin-discord-rpc\\",
|
||||||
"Documents": [
|
"Documents": [
|
||||||
{
|
{
|
||||||
"AbsoluteMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|c:\\users\\joshua\\documents\\github\\jellyfin-discord-rpc\\jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
"AbsoluteMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|c:\\users\\random()\\riderprojects\\jellyfin-discord-rpc\\jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
"RelativeMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|solutionrelative:jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
"RelativeMoniker": "D:0:0:{06FF6B5D-B070-4DB7-9A87-9B6E280A794D}|JellyfinDiscordRPC\\JellyfinDiscordRPC.csproj|solutionrelative:jellyfindiscordrpc\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -20,13 +20,13 @@
|
||||||
"$type": "Document",
|
"$type": "Document",
|
||||||
"DocumentIndex": 0,
|
"DocumentIndex": 0,
|
||||||
"Title": "Program.cs",
|
"Title": "Program.cs",
|
||||||
"DocumentMoniker": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs",
|
"DocumentMoniker": "C:\\Users\\random()\\RiderProjects\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs",
|
||||||
"RelativeDocumentMoniker": "JellyfinDiscordRPC\\Program.cs",
|
"RelativeDocumentMoniker": "JellyfinDiscordRPC\\Program.cs",
|
||||||
"ToolTip": "C:\\Users\\joshua\\Documents\\GitHub\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs",
|
"ToolTip": "C:\\Users\\random()\\RiderProjects\\jellyfin-discord-rpc\\JellyfinDiscordRPC\\Program.cs*",
|
||||||
"RelativeToolTip": "JellyfinDiscordRPC\\Program.cs",
|
"RelativeToolTip": "JellyfinDiscordRPC\\Program.cs*",
|
||||||
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAANAAAAAAAAAA==",
|
"ViewState": "AgIAAF0AAAAwm5mZmZklwGQAAAA2AAAAAAAAAA==",
|
||||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
"WhenOpened": "2024-11-30T05:30:39.706Z",
|
"WhenOpened": "2024-11-30T22:21:56.575Z",
|
||||||
"EditorCaption": ""
|
"EditorCaption": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -97,7 +97,8 @@ class Program
|
||||||
Timestamps = new Timestamps
|
Timestamps = new Timestamps
|
||||||
{
|
{
|
||||||
Start = DateTime.UtcNow - playingInfo.Progress,
|
Start = DateTime.UtcNow - playingInfo.Progress,
|
||||||
End = DateTime.UtcNow + (playingInfo.Duration - playingInfo.Progress)
|
// End = DateTime.UtcNow + (playingInfo.Duration - playingInfo.Progress) // maybe consider *using* the value that we define for this (this code doesn't work either way)
|
||||||
|
End = playingInfo.EndDate,
|
||||||
},
|
},
|
||||||
Assets = new Assets
|
Assets = new Assets
|
||||||
{
|
{
|
||||||
|
@ -213,7 +214,7 @@ class Program
|
||||||
Duration = TimeSpan.FromTicks((long)nowPlaying["RunTimeTicks"]),
|
Duration = TimeSpan.FromTicks((long)nowPlaying["RunTimeTicks"]),
|
||||||
IsMusic = isMusic,
|
IsMusic = isMusic,
|
||||||
NowPlayingItem = nowPlaying,
|
NowPlayingItem = nowPlaying,
|
||||||
EndDate = DateTime.UtcNow + TimeSpan.FromTicks((long)nowPlaying["RunTimeTicks"]) // Calculating end date based on duration
|
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!)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
|
@ -13,7 +14,7 @@ using System.Reflection;
|
||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("JellyfinDiscordRPC")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("JellyfinDiscordRPC")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6621e56127217795c884b5de7321452d6ac06485")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+2a2689bfb796e7c7505d635e8c71767ab2f9dd3c")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("JellyfinDiscordRPC")]
|
[assembly: System.Reflection.AssemblyProductAttribute("JellyfinDiscordRPC")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("JellyfinDiscordRPC")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("JellyfinDiscordRPC")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
254fa05392060f41562b55f414fe6c99c06d71cd0ac979fc6ff029387b5ac378
|
c40b6ae056b22d95c6fbf122f6bbab2d5d86aefbcbd9692e40c3bac8d3dabab6
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue