Understanding Action Queues in Streamer Bot

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ •

  • @Phlare
    @Phlare  2 роки тому +3

    I’ve had a few people ask me to explain Action Queues, so here’s my attempt! Thanks for watching. ❤

  • @cheesecat2004
    @cheesecat2004 6 місяців тому +3

    Wow a effective simple and easy to understand tutorial with no fluff? No idea how much I appreciate that thanks!

    • @Phlare
      @Phlare  6 місяців тому

      Haha thanks

  • @ShivamGarg
    @ShivamGarg Рік тому +2

    Am using Obs to stream on UA-cam, and I create my effects screen in obs then move that effects screen in my gameplay screen source, and in that effects screen, I have 10 sources as some screen showing effects, and I put all that effects in queue with enable blocking, but my all actions are overlapping, any solution? Will I need to create effects separate - separate in separate screen in obs? Or is there any other solution to prevent them from overlapping?

    • @Phlare
      @Phlare  Рік тому +1

      Can you be more specific about what you mean by “effects”?
      Are they media source that play a gif or movie? How are you displaying them? Just making the source visible or hidden as needed?
      Sounds like what I mention in the video, where if you have streamer bot show a media source and the media source plays a file that is 15 seconds long, you need to add 15 seconds of delay to your action after showing the source and before hiding it again.
      This is the only thing I can think of. Without this, streamer bot gets to the point where it tells OBS to show the source, and as far as it is concerned, the action is “done” even though the media file hasn’t finished playing yet.

    • @ShivamGarg
      @ShivamGarg Рік тому +2

      @@Phlare thanks very much, after adding delay, my work got done, extremely really really thanks to you and your dc team for helping me..

    • @Phlare
      @Phlare  Рік тому +1

      @@ShivamGarg yay, glad we got it sorted

    • @ShivamGarg
      @ShivamGarg Рік тому +1

      @@Phlare can you hier any Indian in your team, so Indian people can communicate faster with that guy, and can talk in Hindi means our local language..

    • @Phlare
      @Phlare  Рік тому +1

      Haha I don’t have a team. I’m just me and I do this on a very part time basis on top of a full time job and family :)

  • @John_the_baptized
    @John_the_baptized Рік тому +1

    Been watching a lot of your videos for this bot and you're very helpful, homie. Hope you get this thing figured out and take off :)

    • @Phlare
      @Phlare  Рік тому

      Thanks, appreciate the support!

  • @claireburr3718
    @claireburr3718 Рік тому +1

    Thank you! Perfect!

    • @Phlare
      @Phlare  Рік тому +1

      You’re welcome

  • @firebug_nz
    @firebug_nz Рік тому +3

    I almost didn't "Like" this video, as it was on 69 "Likes" and I didn't want to mess up a good thing. This was the exact solution to the issue I had, and I appreciate the video. Thanks so much!!

  • @Nathancheater
    @Nathancheater Рік тому +2

    thank you, you make me understand about queues

    • @Phlare
      @Phlare  Рік тому +1

      You’re welcome!

    • @Nathancheater
      @Nathancheater Рік тому

      ​@@Phlaremr. phlare help me, i want to use streamer bot change message on source text in multi-line format but i don't know how to do (i only made 1 line and don't know how to change the next line)
      advide me please (forgive me if i use wrong words or grammar, i'm just a biginer)

    • @Nathancheater
      @Nathancheater Рік тому

      Oh sorry mr. phlare, i thing i can kill my problem already by click 'use custom text extents' in text source (i use obs for a long time but it's first time i know about 'use custom text extents') :d

  • @DjPorkchop73
    @DjPorkchop73 2 роки тому +1

    Absolutely worth it's weight in gold this video is! The night you told me about delay it changed my bot for the good. I fought that issue with everything I had and I couldn't solve it. Such an easy thing to do with such amazing results!
    Thanks for sharing this with us.

    • @Phlare
      @Phlare  Рік тому +1

      Glad it helped!

  • @03Luka03
    @03Luka03 8 місяців тому +1

    crazy to me that there is a simple solution for the audios but yet not the same for the videos. a gif image I can understand needing a delay and it is a looping images there is no real end state to it. if videos had the same reactions as an audio it would be an easy click and would be way less of a hassle.

    • @Phlare
      @Phlare  8 місяців тому +1

      Yeah that’s the thing, with audio, streamer bot is actually processing the file, but with images and videos, it’s just setting a source in OBS, so streamer bot has no idea whether or not the video is done.

  • @metritisau
    @metritisau 9 місяців тому +1

    You are the best! this will help soooo much!

  • @aliasarchives
    @aliasarchives Рік тому +1

    Super helpful, thank you very much.

    • @Phlare
      @Phlare  Рік тому

      You’re welcome!

  • @ShivamGarg
    @ShivamGarg Рік тому +1

    I just do step to step, but it's not working and my effects always overlapping? Any new working method?

    • @Phlare
      @Phlare  Рік тому

      This method should still work! Are you adding delay after your effects?

    • @ShivamGarg
      @ShivamGarg Рік тому

      @@Phlare nope, is it necessary?

    • @ShivamGarg
      @ShivamGarg Рік тому +2

      @@Phlare Also how I can do and basically what to do, can you elaborate pls..

    • @Phlare
      @Phlare  Рік тому +1

      Is the queue you put your alerts in marked as blocking?
      What do the alerts do?

    • @ShivamGarg
      @ShivamGarg Рік тому +1

      @@Phlare yes all redeem actions are in queues, I use obs studio for effects as actions, and I live stream on UA-cam..

  • @360GameTV
    @360GameTV 2 роки тому +1

    Thanks Phlare! Just what I wanted to know for a long time, how it works! If you still need ideas for a video. I would like to know if you can change texts with Streamerbot, OBS. For example, a 10 becomes a 25 or "locked" becomes "unlocked" etc

    • @Phlare
      @Phlare  2 роки тому

      Like an OBS GDI text source?

    • @360GameTV
      @360GameTV 2 роки тому +1

      @@Phlare Yes. As example I want to display the stream-likes etc with several (achievement) steps like 1/10. if the counter reach 10, the total amout should switched to another number like maybe 20. I could do this with several GDI textsources and hidden / visible but I think there is maybe a better way?

    • @Phlare
      @Phlare  2 роки тому

      Sure. I mean, at the end of they day it’s still just a dynamic change to the text, which you can do from a subaction directly or from within C# if you need the logic to get complex.
      I have some code that basically tracks subathon goals and reports on each tier, so this sounds maybe somewhat similar.

    • @360GameTV
      @360GameTV 2 роки тому

      @@Phlare Ah ok. Can you share it or post on Discord. I look to the subactions and find no option for this

  • @armiastars
    @armiastars Місяць тому

    Great tutorial, thank you very much~

  • @Undeniably_
    @Undeniably_ Рік тому +1

    Hey, is it worth to put a blocking queue for Channel Points? Or it doesn't matter??

    • @Phlare
      @Phlare  Рік тому +1

      It just depends. If you want the redeems to wait for each other, you’ll want them in a blocking queue together.
      If you want them to be able to overlap each other or run concurrently, you’ll want each redeem in its own queue

    • @Undeniably_
      @Undeniably_ Рік тому +1

      @@Phlare I see thanks for the reply and vid!

    • @Phlare
      @Phlare  Рік тому

      @@Undeniably_you’re welcome!

  • @Diana-sl6tx
    @Diana-sl6tx Рік тому +1

    Thank you so much!

    • @Phlare
      @Phlare  Рік тому

      You’re welcome!

  • @JamesHouston
    @JamesHouston Рік тому +2

    Still confused about what a blocking v non blocking queue is. At 52s you describe the difference is apparent when you realise that a queue can be paused. Do you mean only one type can be paused (blocking v non blocking)?

    • @Phlare
      @Phlare  Рік тому +1

      A blocking queue will wait for one action to complete entirely before running the next item in the queue.
      A non-blocking queue will run everything all at once.
      My mention of being able to pause the queue was more to illustrate the point of using non-blocking queues at all (vs just having everything in the default queue)

  • @vexan_twitch
    @vexan_twitch 10 місяців тому +1

    life savor!

  • @hcjustin
    @hcjustin 5 місяців тому +1

    thanks!!

    • @Phlare
      @Phlare  5 місяців тому

      @@hcjustin you’re welcome!

  • @Wici0l
    @Wici0l Рік тому +1

    I'm a bit confused, my queues are always waiting for the previous action to be completed and I can't figure out why this is happening. Nothing runs concurrently. Am I getting wrong about "Non-blocking" queue?

    • @Phlare
      @Phlare  Рік тому

      A queue that isn’t blocking should allow items to run concurrently, yes.

    • @Wici0l
      @Wici0l Рік тому +1

      @@Phlare Yeah, I understand that. But I have a problem with my command that sends a chat message and then does something on screen with some delays. The problem is that the chat message is always sent after the screen actions...

    • @Phlare
      @Phlare  Рік тому +1

      @@Wici0l hmm.. i might be able to help with this, but it's hard to diagnose in comments. can you export your action(s) and send them along and I can take a look? my discord is a good place for troubleshooting

    • @Phlare
      @Phlare  Рік тому +1

      I'm happy to help

  • @duk1371
    @duk1371 11 місяців тому +1

    Hello, I wanted to set up a queue, such as for follow alerts, that would stay paused consistently. This setup would ensure that follows appear in the Pending Actions tab, giving me the option to either "permit" or "skip" each one individually. This necessity arises from the hate/threatening names a friend of mine receives from some follows during streams. Presently, with streamer.bot, I only know how to either resume the entire queue or clear it entirely. However, I desire the capability to address each follow individually.
    Ty for the video btw :)

    • @Phlare
      @Phlare  11 місяців тому +1

      so, i don't believe there is a way out of the box to release items from the queue one at a time.
      I would experiment with making the very first subaction of your action you wish to queue pause the queue.
      so... you unpause the queue, and the very first action that runs re-pauses the queue and then runs whatever else is in the action.
      I have not tested this, but that's what i would try first. As long as it's a blocking queue, then i don't see why it wouldn't work.

    • @Phlare
      @Phlare  11 місяців тому +1

      also sorry for the late reply, this was in my "review" queue because of the streamer.bot "link" :eye_roll:

  • @Octarockstudios
    @Octarockstudios 9 місяців тому +1

    thank you so much i stuck this for good hour had people tell i need quite for every channel ponint ... but the did explan right too me thanks now web cam fliter now do not over lap

    • @Phlare
      @Phlare  9 місяців тому

      Yay! Glad you got it sorted out!

  • @thezone3913
    @thezone3913 Рік тому +1

    How do I delay the file when It's playing from a folder. I cant find an option for delay sound

    • @Phlare
      @Phlare  Рік тому

      Ther should be a “finish playing before continuing” checkbox in the dialog that pops up when you configure either the “play sound” or “play sound from folder” actions.
      That might be what you’re looking for?

    • @thezone3913
      @thezone3913 Рік тому +1

      @@Phlare I did find that but it doesn't seem to stop overlapping, I guess because people are searching for any file in a folder and not just a specific command+ sound. Quite complicated to get this going, also pausing the queue then seems to break it and it loops every sound for a good 10 mins

    • @Phlare
      @Phlare  Рік тому

      @@thezone3913 that’s bizarre. Is the action that runs this in a queue set to be “blocking”?

    • @thezone3913
      @thezone3913 Рік тому +1

      @@Phlare I got it working by making 1 command per sound, and setting it to not play another until sound is over but that still sometimes has too many people requesting. the search functionality one was causing issues so ive left it for now

    • @Phlare
      @Phlare  Рік тому

      @thezone3913 fair enough! Good workaround

  • @slashkeystudio
    @slashkeystudio 2 роки тому +1

    my bots getting pretty complicated. thank you, this will be helpful

    • @Phlare
      @Phlare  2 роки тому

      You’re welcome! Hope it helps!

  • @XenomTV
    @XenomTV Рік тому +1

    Yo phlare how can i block some users to not show in the first time user action like i dont wanna streamer bot to show it if its a bot that texted on the chat like streamelement and nightbot

    • @Phlare
      @Phlare  Рік тому +1

      Some methods for doing this are detailed in this video:
      Fine-Tuned Permissions in SB using Groups
      ua-cam.com/video/MdlmfH92vOg/v-deo.html

    • @Phlare
      @Phlare  Рік тому

      If this doesn’t put you on the right track pop in my discord and we’ll get you sorted out.

    • @XenomTV
      @XenomTV Рік тому

      @@Phlare aight due to my time i have to sleep so ill check that tomorow and let u know thank you

    • @XenomTV
      @XenomTV Рік тому +1

      it did @@Phlare

  • @EternalArrow
    @EternalArrow Рік тому +1

    Queue's are cool to have. But is there any way to delay a whole queue for a certain amount of seconds each time the queue starts filling up? And refresh the delay when it's empty again.
    I mean i IRL stream to my OBS (and then to Twitch) and there is broadcast delay for about 5 seconds, so when i show notifications (in OBS) about follow or sub it runs to early. So if there is only one follow i can just add Delay sub-action, but if there are several it doesnt work as i'd like to. Can't figure out...

    • @Phlare
      @Phlare  Рік тому +1

      A blocking queue should respect delay on multiple actions. I do not know of a way out of the box to use a dynamic delay like you’re suggesting, but if you pull your delay value from a global variable you could change it with some external action.

  • @iannova7479
    @iannova7479 Рік тому +1

    Im trying to get it where i can play multiple videos but have them overlap eachother instead of kick the other one off the media source or wait to finish. Is three a way to do that?

    • @Phlare
      @Phlare  Рік тому

      Hmm. I would try setting up two (or three) different sources and two (or three) blocking queues and two identical actions for firing the videos, then have some sort of global variable that keeps track of which source/queue/action was fired last, and toggle between them.
      Maybe something like that? Only problem there would be arranging the order of the sources so the most recently activated one is on top, but I’m sure this is possible with OBS raw, if not a native subaction.

    • @iannova7479
      @iannova7479 Рік тому +1

      @@Phlare I don't think I'm good enough at the software to do that. But I'll give it my best shot

    • @Phlare
      @Phlare  Рік тому

      Yeah it was just a thought. The other option would be to just make a new source for each video and don’t put them in a blocking queue so they just fire when they fire.