You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error. Not sure why, but the artist name is significantly long - 58 Japanese characters, so it could be that?
Artist name is ガヴリール(CV:富田美憂)、ヴィーネ(CV:大西沙織)、サターニャ(CV:大空直美)、ラフィエル(CV:花澤香菜), song name is ハレルヤ☆エッサイム (instrumental), album name is ハレルヤ☆エッサイム
However, it works fine with a different song with artist name as サターニャ(CV:大空直美)、ラフィエル(CV:花澤香菜)
State
at DiscordRPC.BaseRichPresence.set_State(String value)
at PlexampRPC.MainWindow.SetPresence(PresenceData presence) in D:\Development\repos\PlexampRPC\Windows\MainWindow.xaml.cs:line 176
at PlexampRPC.MainWindow.StartPolling() in D:\Development\repos\PlexampRPC\Windows\MainWindow.xaml.cs:line 118
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
The text was updated successfully, but these errors were encountered:
I think I found the issue, Discord rich presence only accepts a max of 128 bytes for strings and the artist name I mentioned is 134 bytes (in UTF-8 encoding).
Would it be possible to add a check for if strings are >128 bytes, and if so, truncate them?
State
at DiscordRPC.BaseRichPresence.set_State(String value)
at PlexampRPC.MainWindow.SetPresence(PresenceData presence) in D:\Development\repos\PlexampRPC\Windows\MainWindow.xaml.cs:line 197
at PlexampRPC.MainWindow.StartPolling() in D:\Development\repos\PlexampRPC\Windows\MainWindow.xaml.cs:line 118
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
I'm getting this error. Not sure why, but the artist name is significantly long - 58 Japanese characters, so it could be that?
Artist name is
ガヴリール(CV:富田美憂)、ヴィーネ(CV:大西沙織)、サターニャ(CV:大空直美)、ラフィエル(CV:花澤香菜)
, song name isハレルヤ☆エッサイム (instrumental)
, album name isハレルヤ☆エッサイム
However, it works fine with a different song with artist name as
サターニャ(CV:大空直美)、ラフィエル(CV:花澤香菜)
The text was updated successfully, but these errors were encountered: