Question about
SetSourceSettings
on a browser source
I am trying to change the css, here is what getsourcesettings get me
/command=GetSourceSettings,sourceName="PIXCHAT Intermission"
{
"message-id": "58rnE773XYUIwhjl",
"sourceName": "PIXCHAT Intermission",
"sourceSettings": {
"css": "body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden;font-family:windlass;}\n.css-zxgouf{\ncolor:white !important;\n}",
"fps": 31,
"height": 250,
"url": "https://pixel.chat/****************",
"width": 600
},
"sourceType": "browser_source",
"status": "ok"
}
Ok
I am then trying to change using
/command=SetSourceSettings,sourceName="PIXCHAT Intermission",sourceSettings=css="body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden;font-family:windlass;} \n\n.css-zxgouf{\ncolor:blue !important;\n}\n"
But I get
Error with command "SetSourceSettings,sourceName=PIXCHAT Intermission,sourceSettings=css=body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden;font-family:windlass;} \n\n.css-zxgouf{\ncolor:$arg4text !important;\n}\n": Missing a = in Name=Type
Error with command "SetSourceSettings,sourceName=PIXCHAT Intermission,sourceSettings=css=body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden;font-family:windlass;} \n\n.css-zxgouf{\ncolor:$arg4text !important;\n}\n": Index was outside the bounds of the array.
Ok
Any help would be much appreciated