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
Using a Streamdeck XL. I tried installing the plugin from the store (1.0.0) and from the releases page (1.0.1) and both were the same. Watching FP1 at silverstone.
Summary
The plugin connects to multiviewer and loads the driver pictures, but none of the buttons work. Seems to be an issue with the context object.
System Info
General
MacOS M1 Max
StreamDeck
Stream Deck XL
Firmware 1.01.000)
Latest software: 6.3.0 (18948)
The plugin in streamdeck is connected (and I verified this by changing the IP)
Multiviewer
Version 1.22.2
Custom profile:
Driver buttons on the custom profile all populate correctly, and display the driver photos.
Pressing the buttons seems to have no effect. I tried this with a single stream, many streams, no streams open
Errors
When I first switch to the custom profile I get this is the console:
Setting context for Next Page to
(6x) app.js:911 Uncaught TypeError: Cannot read properties of undefined (reading 'tla')
at app.js:911:49
at action.js:72:57
at events.js:33:49
at Set.forEach (<anonymous>)
at Object.pub (events.js:33:35)
at ELGSDStreamDeck.emit (events.js:18:75)
at websocket.onmessage (api.js:232:48)
(anonymous) @ app.js:911
(anonymous) @ action.js:72
(anonymous) @ events.js:33
pub @ events.js:33
emit @ events.js:18
websocket.onmessage @ api.js:232
app.js:911 setting context for HUL to
app.js:911 setting context for MAG to
app.js:911 setting context for BOT to
app.js:911 setting context for SAR to
app.js:911 setting context for ZHO to
app.js:911 setting context for DEV to
app.js:911 setting context for STR to
app.js:911 setting context for ALB to
app.js:911 setting context for PIA to
app.js:911 setting context for RUS to 5
app.js:911 setting context for SAI to 4
app.js:911 setting context for HAM to 8
app.js:911 setting context for OCO to 14
app.js:911 setting context for TSU to 15
app.js:911 setting context for LEC to 12
app.js:911 setting context for ALO to 11
app.js:911 Uncaught TypeError: Cannot read properties of undefined (reading 'tla')
at app.js:911:49
at action.js:72:57
at events.js:33:49
at Set.forEach (<anonymous>)
at Object.pub (events.js:33:35)
at ELGSDStreamDeck.emit (events.js:18:75)
at websocket.onmessage (api.js:232:48)
(anonymous) @ app.js:911
(anonymous) @ action.js:72
(anonymous) @ events.js:33
pub @ events.js:33
emit @ events.js:18
websocket.onmessage @ api.js:232
app.js:911 setting context for PER to 10
app.js:911 setting context for GAS to 7
app.js:911 setting context for NOR to 9
app.js:911 setting context for VER to 6
app.js:911 setting context for INTERNATIONAL to
app.js:911 setting context for DATA to 13
app.js:911 setting context for TRACKER to 3
app.js:911 setting context for F1 LIVE to 2
Then when I press a driver button:
Uncaught TypeError: Cannot read properties of undefined (reading 'pages')
at app.js:948:56
at action.js:46:54
at events.js:33:49
at Set.forEach (<anonymous>)
at Object.pub (events.js:33:35)
at ELGSDStreamDeck.emit (events.js:18:75)
at websocket.onmessage (api.js:232:48)
Actions in default profile
Added some other buttons (fullscreen toggle, toggle telemetry) to my default profile and they pop up a dialog asking if I want to install the custom profile.
Errors
No matter which button I press I get one of these for each driver in console:
new_driver: {"number":"27","tla":"HUL","firstName":"Nico","lastName":"Hulkenberg","teamName":"Haas F1 Team","headshot":" [...omitted base64 string]","place":19,"id":"","type":"OBC","context":""}
app.js:896 Error setting title or image for tile due to no context. TLA: HUL
Ah looks like this might be part of it -- most of the actions have "Show player tiles" as the action. Which is why it's prompting to change to the player tiles.
I noticed a couple places you are comparing to empty objects and arrays like this:
if (x === {} || x === [])
both of those conditions will always be false -- javascript === compares objects and arrays by reference -- so you are comparing to a new empty object and a new empty array each time.
Using a Streamdeck XL. I tried installing the plugin from the store (1.0.0) and from the releases page (1.0.1) and both were the same. Watching FP1 at silverstone.
Summary
The plugin connects to multiviewer and loads the driver pictures, but none of the buttons work. Seems to be an issue with the context object.
System Info
General
StreamDeck
Multiviewer
Custom profile:
Errors
When I first switch to the custom profile I get this is the console:
Then when I press a driver button:
Actions in default profile
Errors
and then
The text was updated successfully, but these errors were encountered: