try more things that don't work
This commit is contained in:
parent
4954fd7896
commit
ca561f9940
10 changed files with 8 additions and 5 deletions
|
@ -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..
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue