well you didn't make the thing we were going for work, now did you?

This commit is contained in:
random() 2024-12-02 09:37:44 -07:00
parent 2a2689bfb7
commit 4954fd7896
20 changed files with 20 additions and 18 deletions

View file

@ -97,7 +97,8 @@ class Program
Timestamps = new Timestamps
{
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
{
@ -213,7 +214,7 @@ 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
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!)
};
}
}