Use the game name "Midnight Manor " <- note the trailing space
Set Twitch status using the game name
Bug: The game is inadvertently set to 'Delaware St. John: Volume 1: The Curse of Midnight Manor' (id=7941)
Expected: The game is set to 'Midnight Manor' (id=906445956), or an error is thrown
Looks like src/extension/srcom-api.ts has an opportunity where it could trim the string. Since it does not currently trim, the exact API fails and searchForTwitchGame goes on to call Twitch's "unsupported API", always selecting the first match from that. This behavior results in weird game names appearing for unclear reasons, as spaces often cannot be seen.
Steps:
Bug: The game is inadvertently set to 'Delaware St. John: Volume 1: The Curse of Midnight Manor' (id=7941) Expected: The game is set to 'Midnight Manor' (id=906445956), or an error is thrown
Looks like
src/extension/srcom-api.ts
has an opportunity where it could trim the string. Since it does not currently trim, the exact API fails andsearchForTwitchGame
goes on to call Twitch's "unsupported API", always selecting the first match from that. This behavior results in weird game names appearing for unclear reasons, as spaces often cannot be seen.