DZ_Da_Dude
New Member
good idea… since its not working as intendedIt would be good for you to explain how, for those who come later and have the same problem, and for us to point out potential problems *before* they wreck your show.
good idea… since its not working as intendedIt would be good for you to explain how, for those who come later and have the same problem, and for us to point out potential problems *before* they wreck your show.
I would suggest to set up a helper macro which set up various variables.Hi, this is my first time posting here.
I have one camera hooked up to OBS and I'm using this plugin for a few tasks:
- Turn off monitor after 10 mins of idle time
- Change recording folder at change of date
- Stop recording when camera goes offline and start after it comes online
- Motion detection in a selected area and log it
I require help with #4.
Currently,I'm only able to log a message and not the timestamp when the macro is triggered.
What my requirement is, when the macro is triggered, save the current date and time in a variable and use that when writing to the log file.
This is my current macro. How do I get the current date and time?
View attachment 101372
Thanks in advance.
AAAVXnic7VhbbyI3FP4rlp/abaAMm220vG2zRIu0aVDIpqqqqDIzhxmLwR7ZHhYa8d97jj03GnVLSx4HgTT+zsXn8tmD/cw3Ijba8snvz1yJDfAJX4BjH4UD9iiMFMscLL/ghSgtClcit0AjI/Ic8gbQ6joTKm017FoW0x3Ed2rhhHENnhpdFs0o0fEap3NSpRjCMzeQSuvANAqZsPel+rl0Tis+caYM2JyieYHiTK60n8WyE1gm0yzHn5utrrVKpJNa2Qe0aDRM7f8Bdhgnx/nqfI9wPydKSvVS9iVgKI2PJgkRVUrt/EwYYBT28MjihgL6lomPeMgPF6FrH2ISNTqLIpcOizfX1o99TwvqbfT+3eGier56d3V4qhxM0V1w8s+2V9H7xnZElnWPPmm3hr3tcAIrEEC0fmoK1YWcTtMc5n+H2xL4eWOd56KwkDS+JT7yBDmJ9cp1KmOMBdlTGkFWtzqRK0mseeZObuAP9GedEVI5r2eBJvAE24qcWt88jIYod/uCHg8UsgwmWzDWlyE6IJyI/d3qV4C1lzXRhiAwqgcZFk6p2A0s2SUbjSbR28koYuPR+JK3SuNvaslUaQO09NrEPRT8B54bKEC066ksyPeduq/goFRX5n+m3Mn4OoN4XbstBHEEVfgQP+z4y4kcIv7XNm6rXQUTBkUPSe2+lvwS9qHfQBjeouMKnilMRCbM4/kSmIUc/LSojG1/DGlyHKly89hJutO46CeiRboB5WbJjk8GEY7L5cIZ3IqqHWvUheSf4BFkP+zmbR3e8Aq7FS7OvC/UWkmVoCEq0EJmTjNCvGqRixiOZRXIvkqX1e5wVa9kSm0LRepuvQ7zrmumi6rgI78ruGy6KwzY0En+HYvYD2zM3rC37Hv2IyOW4dq7Lq3Tm7nRm6JlklRF6WqMf0AXqWKeMxRj3YVJ8DDzyhR1pvOks2HLFwI+GGCVwTCH6Q4Gvu1babSi4j8et/zLYno/v7+7mX2eUjNjULBoukurO9D2on5V0VboYFOgm1YcEdFCHzzh9sSjA21i5zLyVivfoZ6SPSXPouTGE+lVOPlR7HtG9ow8l5H4wn8dPn7SZf/W7gl5NiEz4tHrvLWlKv3Joedkz8nzXtuBSa/CyoU/lPas7Fl5LivD9QayEs/f0Nzo0Bn8iaA6s6M7vupsbcW2Ug93GbASZe4ahhHP1fHR53SL8Mf0dP3qj8N/CKne1083aRbd6SYPYN0JBk+dCxQeDceXwzE//AVvTSre
${variable name here}
syntax in various text fields throughout the plugin.The macro is called "Start", but its actions are Stop.Hi
I have a few macro set up in the Advanced Scene Switcher and they're all working great. The plug in is so intuitive its amazing. BUT I am trying to get my broadcasts to automatically start at a certain time and I just cannot get it to work. I have tired a few different things and right now my brain has gone to fog. I am including screenshots of my latest attempt that failed. I have a broadcast set up to go to YouTube. I have tried setting the same time on the schedule broadcast section for the Youtube video and that doesn't work either. Can you see anything I am doing incorrectly, or any advise?
TIAView attachment 101419View attachment 101420
I would suggest to set up a helper macro which set up various variables.
You can use those to generate the desired timestamp string.
The macro should look something like this:
View attachment 101392
You can import this example using this code:
Code:AAAVXnic7VhbbyI3FP4rlp/abaAMm220vG2zRIu0aVDIpqqqqDIzhxmLwR7ZHhYa8d97jj03GnVLSx4HgTT+zsXn8tmD/cw3Ijba8snvz1yJDfAJX4BjH4UD9iiMFMscLL/ghSgtClcit0AjI/Ic8gbQ6joTKm017FoW0x3Ed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E//AVvTSre
Then you can reference those variables using the${variable name here}
syntax in various text fields throughout the plugin.
So a timestamp example could look like this:
View attachment 101393
This example would result in a line similar to this being appended to the given file:
My log message happened at: 2024-2-4-0-24-32
Hope that helps!
Well that was my "duh" moment! This was just a test macro and the actual macro does have "start" I checked it again. The actual macro has a specific start time so I set up the test macro and missed the "stop" reference.The macro is called "Start", but its actions are Stop.
I got it! Didn't realize that you first had to create the broadcast and select it. Lots of steps, but taking a break and a new look got it working.The macro is called "Start", but its actions are Stop.
Sorry to hear that you are having issues!Ok I never figured it out. It works on OBS but not live on twitch. here is what I'm trying to do
When I go live on twitch I want to add a small delay to allow people to join the stream.
After this small delay I want to start my "stream starting " animated screen scene (its 7 seconds long but I have it on loop) with the intro song playing
8 seconds before the song ends I want to switch to the animated logo intro scene (its 7 seconds) to play while the song finishes
After all of that is done go to the game capture.
How can I accomplish this if possible.View attachment 101481View attachment 101482View attachment 101483View attachment 101480
I know how to do this on Linux, but I presume you're on Windows. Much less scriptability there, but maybe you can take my structure and figure something out.Ok I never figured it out. It works on OBS but not live on twitch. here is what I'm trying to do
When I go live on twitch I want to add a small delay to allow people to join the stream.
After this small delay I want to start my "stream starting " animated screen scene (its 7 seconds long but I have it on loop) with the intro song playing
8 seconds before the song ends I want to switch to the animated logo intro scene (its 7 seconds) to play while the song finishes
After all of that is done go to the game capture.
How can I accomplish this if possible.View attachment 101481View attachment 101482View attachment 101483View attachment 101480
sudo apt install mpd mpc gmpc
This is OBS for Mac BTW. version 30.0.2Does anyone know why when i rename a macro hotkey trigger, it still shows as
"macro_condition_hotkey_2" when i call it via websocket command "GetHotkeyList"
I'm tyring to write a python script that will send OBS a TriggerHotkeyByName command when a certain sensor is triggered. But, even tho I see the commands coming through via the websocket server connection, the hotkey itself it not being triggered. I'm a noob at python, so could be something I'm doing wrong.... but not sure why the websocket doesn't recognize the hotkey name change I gave it.
View attachment 101559
OBS hotkeys consist of a "name" and a "description" field.Does anyone know why when i rename a macro hotkey trigger, it still shows as
"macro_condition_hotkey_2" when i call it via websocket command "GetHotkeyList"
I'm tyring to write a python script that will send OBS a TriggerHotkeyByName command when a certain sensor is triggered. But, even tho I see the commands coming through via the websocket server connection, the hotkey itself it not being triggered. I'm a noob at python, so could be something I'm doing wrong.... but not sure why the websocket doesn't recognize the hotkey name change I gave it.
View attachment 101559
Unfortunately, it is very difficult to say what the issue might be without further information.Hello!
I setup 2 macro:
1st one when the input streaming is paused thus the video source hasn't changed for a while,then switch to another scene,and it works fabulously.
But when the singnal is back and the video changes for a specified duration,the 2nd macro which switch back to the previous scene doen't work normal.
So, I am rather confused now.
Unfortunately, it is very difficult to say what the issue might be without further information.
Can you share the two macros you have set up?
You can do this by either by exporting the two macros or by exporting your settings to a file.
It might also be of use if you can provide a log file with verbose logging enabled and corresponding timestamp of when the issue happened in the log.