Streamer.bot - Random Video from Folder Trick

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • For those of you having issues on the newest version of OBS and Streamerbot - I made a video showing it still works and how to set it up. • UPDATED: Streamer.bot ...
    Warning!!! Since OBS v28 came out and Streamerbot updated to use Websocket v5 - Many custom build tricks in streamerbot ONLY work with v4.9 of websocket.
    For this to work on OBS v28+, right now, you need to use websocket v4.9 compat. github.com/obs...
    ALSO, you must have Streamerbot and OBS connected with websocket v.4.9 BEFORE you import the code for this trick. If you swap to v4.9 AFTER you imported the code, it might not work. Delete the subaction and start over once you have OBS connected with v4.9.
    infinitequalit... - Support on Patreon and More!
    Streamer.bot Advanced Tricks - Random Video from Folder.
    Import Codes here:
    infinitequalit...
    Visit infinitequalit... for more!

ความคิดเห็น • 53

  • @infinitequality
    @infinitequality  ปีที่แล้ว

    For those of you having issues on the newest version of OBS and Streamerbot - I made a video showing it still works and how to set it up. th-cam.com/video/osbm1RqhIDg/w-d-xo.html
    For this to work on OBS v28+, right now, you need to use websocket v4.9 compat. github.com/obsproject/obs-websocket/releases

  • @lennyfelix98
    @lennyfelix98 2 ปีที่แล้ว +2

    That was super helpful, thank you!

  • @streamerdotbot
    @streamerdotbot ปีที่แล้ว +3

    TY for the video

  • @johnnyjellyjaw
    @johnnyjellyjaw 6 หลายเดือนก่อน +1

    sadly this seems to be out of date setSourceSettings doesn't seem to be a valid Raw OBS request anymore and the argument can't seem to pull the variable from the folder :(

    • @infinitequality
      @infinitequality  6 หลายเดือนก่อน

      I just streamed today and everything was working fine. Is your streamerbot up to date?

    • @johnnyjellyjaw
      @johnnyjellyjaw 6 หลายเดือนก่อน

      i managed to get it working but i had to edit the code a bit. it should be up to date i just updated a couple weeks ago.@@infinitequality

    • @Unleashed75
      @Unleashed75 5 หลายเดือนก่อน

      Yes, this is very out of date. The StreamerBot version in this video is 1.7 and OBS is version 27.
      Both, StreamerBot and OBS have had many updates since. The biggest change would be the websocket change but also, anyone wanting to use this will need to use the same versions.
      This would work but anyone wanting to use the bot for streaming may find it may not that well since Twitch had changed a lot of their api

    • @mattunwin
      @mattunwin 5 หลายเดือนก่อน

      ​@@Unleashed75​this still works just fine on the current version of streamerbot and OBS.
      You just need OBS websocket 4.9 compat. Everything else still works.
      The biggest change to streamerbot was the triggers section being added for actions which is only a ui change.
      If you import the code and setup everything else it works just fine.

  • @jedi_chrome
    @jedi_chrome ปีที่แล้ว +1

    Any plans to make it work with OBS 29 and websocket 5? Or is there an alternative way to do it now you could recommend?

    • @infinitequality
      @infinitequality  ปีที่แล้ว

      Websocket 5 is buggy still, but if you use 4.9, linked in the pinned comment, it will work.
      We will have to wait for some updates to websocket 5, which is not developed by streamerbot, nor myself.

  • @Awkventurer
    @Awkventurer ปีที่แล้ว

    Would this work if I want streamerbot to show or the program to show random clips or snippets 'within' the video? (for example a random 10 second bit of the video and each time it's at a different point of the video) Any help is greatly appreciated. Thank you for your video!

    • @infinitequality
      @infinitequality  ปีที่แล้ว

      No, this trick only randomly plays files from a folder.

  • @awwwshucksgaming9937
    @awwwshucksgaming9937 7 หลายเดือนก่อน

    Currently trying to get this setup to work on SLOBS and everything is connected properly (media source activates and deactivates like it's supposed to). However, it does not choose a different file on subsequent activations, always the same file chosen. Any ideas?

    • @infinitequality
      @infinitequality  7 หลายเดือนก่อน +1

      I suggest you migrate everything over to OBS studio. I can only confirm this works with websocket 4.9 compat. SLOBS has worse performance and less options since you cannot install plugins.

    • @awwwshucksgaming9937
      @awwwshucksgaming9937 7 หลายเดือนก่อน

      It has, in fact, worked! Thanks for the help and quick response! @@infinitequality

  • @Dally_Sparkles
    @Dally_Sparkles 10 หลายเดือนก่อน

    No luck ... going to restart from Scratch obs media source, you have to select an actual file name it won't let me have a selected folder. i have just been picking one of the videos in the folder... The OBS raw (set image source...... has missing request type.. trying again

    • @Dally_Sparkles
      @Dally_Sparkles 10 หลายเดือนก่อน

      nup no luck thanks anyway

    • @infinitequality
      @infinitequality  10 หลายเดือนก่อน

      Are you using Websocket v4.9 compat? github.com/obsproject/obs-websocket/releases Websocket 5 is buggy and doesn't work with this.

  • @dapper_chocobo2332
    @dapper_chocobo2332 ปีที่แล้ว

    @dfreitas4218
    0 seconds ago
    Hey again Sunny! I was redoing some channel point redeems and was thinking up an idea... wasn't sure if it's possible but is there a way to use the script you have here to pull different video files into one, singular Source in OBS? I was thinking if I could bypass having multiple Sources for redeems then it would put less strain on my OBS.

    • @infinitequality
      @infinitequality  ปีที่แล้ว

      The trick in this video would bring everything down to a single source in OBS, but it would still have to be randomized for it to work. If you are looking for a redemption that would trigger a specific video, then you would still need to utilize different sources in OBS, at least for the most simple method.

  • @suuuuuca
    @suuuuuca 2 ปีที่แล้ว +1

    is there a way to trigger specific media files?

    • @infinitequality
      @infinitequality  2 ปีที่แล้ว

      you can do this quite easily using OBS and streamer.bot. Just add the media file to your OBS as a source. Then setup an action that triggers the visibility/media state of said file. You can set the file to loop using the OBS properties or just to play once and turn off.

  • @verganeitor
    @verganeitor 11 หลายเดือนก่อน

    hello thx for the tutorial but i can play only 1 video of my pc from the chat or reward twitch??

    • @infinitequality
      @infinitequality  11 หลายเดือนก่อน +1

      How many videos are in the folder?
      Something might also be wrong with the bots connection to OBS. Try using websocket 4.9 compat if you haven't yet.

    • @verganeitor
      @verganeitor 11 หลายเดือนก่อน

      only i wanna create a comand to launch 1 video from folder no random especific any help?@@infinitequality IF ITS POSSIBLE FROM CHAT COMMANDO OR POINTS OF TWITCH FOR LAUNCH THE VIDEO

  • @dapper_chocobo2332
    @dapper_chocobo2332 ปีที่แล้ว

    I'm trying to make a !command trigger a random video within the folder I'm setting up with your trick... I'm noticing though the local file path in my OBS is showing forward slashes instead of backslashes like in your video... which also has the the double back slashes. I'm confused as to why which is making me think that's the issue because nothing is coming up when I do !command :(

    • @infinitequality
      @infinitequality  ปีที่แล้ว +1

      I'm sorry you're having trouble.
      First check your command works by connecting it to a different action. Make a test action that sends a chat message. And test the command to make sure it's responding and sending the action.
      Next double check your folder structure and path in streamer bot settings.
      Try these things and let me know.

    • @dapper_chocobo2332
      @dapper_chocobo2332 ปีที่แล้ว

      @@infinitequality Hey I appreciate the quick response!
      So the command definitely works, hooked it up to the MP4 and it played on OBS. So no issues there...
      Followed your directions, added the additional back slashes in Streamerbot and created the source in OBS that's grabbing the MP4... the only thing that's different between your video and my OBS is in the properties. the local file path shows singular forward slashes and I can't alter it in any way...

    • @infinitequality
      @infinitequality  ปีที่แล้ว +1

      ​@@dapper_chocobo2332 I think I would have to see your settings to actually dig into what's going wrong. If you join our community discord, linked here: infinitequality.live/
      We can do a quick screenshare and I can take a look at what's going on.
      I just double checked that everything is still working according to my settings in this video with the most recent update to Streamer.bot. So it's probably just a simple setting isn't working.
      I can help you now if you are able to join soon!

  • @MrNajsman
    @MrNajsman ปีที่แล้ว

    I cant get this to trigger, feel I follow your steps exactly. Neither hotkey nor timed action triggers it, OBS thinks its just the video Im pointing to and plays once. (hotkey tested with random chat msg works)

    • @infinitequality
      @infinitequality  ปีที่แล้ว

      It's a problem with websocket v5. You need to use this instead and switch to v4.9 compat in streamer bot. github.com/obsproject/obs-websocket/releases/tag/4.9.1-compat

    • @MrNajsman
      @MrNajsman ปีที่แล้ว

      @@infinitequality Thanks! I'll look into it

    • @MrNajsman
      @MrNajsman ปีที่แล้ว

      For anyone reading this, v5 was interfering with v4.9 and streamer.bot needed a reconfig. I got help on the linked Discord, thanks so much!

  • @taffowst
    @taffowst 6 หลายเดือนก่อน

    am i being dumb or does this skip a lot of very specific information from 8:45 onwards? i gave up even trying

    • @infinitequality
      @infinitequality  6 หลายเดือนก่อน +1

      Streamerbot has been updated a lot this last year and the UI is very different, but overall this still works. If you need more help you can join our discord and I can help you.

    • @taffowst
      @taffowst 6 หลายเดือนก่อน

      @@infinitequality apologies, that's a good point, I'm pretty new to streamerbot but I've seems it's ui change at least twice in that time 😅

    • @infinitequality
      @infinitequality  6 หลายเดือนก่อน

      I will probably need to make an updated video, tbf. But overall, importing the code, setting up OBS with the correct source, updating the Streamerbot actions to match OBS and the correct folder structure is enough to get this all working. All of that is the same.
      The big thing is you have to use websocket 4.9.1 compat for it to work still - github.com/obsproject/obs-websocket/releases

    • @taffowst
      @taffowst 5 หลายเดือนก่อน

      @@infinitequality ok i think i get it for the most part but when it comes to OBS Raw part im stumped. I set the source name and local file but when i test or go to save i get "missing requestType or requests

    • @infinitequality
      @infinitequality  5 หลายเดือนก่อน

      Does streamerbot show it's connected to OBS in the bottom right corner? Are you using web socket 4.9 compat linked in the description and pinned comment?

  • @CyrilOfTheWind
    @CyrilOfTheWind ปีที่แล้ว

    Is there anyway to get the length of the random clip and set it as a variable for the purposes of a delay?

    • @infinitequality
      @infinitequality  ปีที่แล้ว

      Unfortunately no.

    • @CyrilOfTheWind
      @CyrilOfTheWind ปีที่แล้ว

      @@infinitequality well, that certainly is unfortunate. Ty

    • @mr8ball1st
      @mr8ball1st 4 หลายเดือนก่อน

      Potentially. You would likely need to use c# to read the metadata on clip and get video length from that.

  • @EricRuel
    @EricRuel ปีที่แล้ว

    Hi, stopped working on OBS 28 and 0.1.12. Same for you?

    • @infinitequality
      @infinitequality  ปีที่แล้ว +1

      it works if you install the websocket 4.9.1 compat plugin. github.com/obsproject/obs-websocket/releases/tag/4.9.1-compat

  • @TnlVsnMedia
    @TnlVsnMedia 2 ปีที่แล้ว +1

    Can I repurpose this to random audio file?

    • @infinitequality
      @infinitequality  2 ปีที่แล้ว +1

      Any media files compatible with OBS media source will work.

    • @TnlVsnMedia
      @TnlVsnMedia 2 ปีที่แล้ว +2

      @@infinitequality thank you legend, now I can have random animal sound channel point redeem haha

    • @der_katsche
      @der_katsche ปีที่แล้ว

      Maybe it wasn't an option in SB 6 month ago, but nowadays I would use "Play sound from folder" inside SB for this. ;)