ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

How to Play A Random Video from A Folder Using Streamer.Bot (Websocket v5.x)

Автор: Geefbird

Загружено: 2024-04-13

Просмотров: 2377

Описание: ** UPDATE **
While you can still use this I have made a better version that is easier to set up and offers better functionality, as well as comes in 6 variations which can be found by watching this video
here -    • Random Video From Folder 2.0  


For all you cool cats out there trying to set up one media source and have all of your videos pulled through it, run your own randomized ads, or do any other type of stuff using the Random Video from Folder action but couldn't get it to work since the updates to websockets (yea, a lot of people don't even realize that is why it doesn't work anymore) I have completely rebuilt the action for use with current v5.x websockets. So here you go, enjoy.

- - C# CODE (copy and paste this into execute C# code sub-action) - - -
using System;
using System.IO;

public class CPHInline
{
public bool Execute()
{
var rand = new Random();
var myDirectory = args["videoFolder"].ToString();
var files = Directory.GetFiles(myDirectory,"*.*");
var myfile = files[rand.Next(files.Length)];

CPH.SetArgument("randomVideo", myfile);

return true;
}
}

- - OBS RAW CODE (copy and paste this into OBS RAW sub-action) - - -
{
"requestType": "SetInputSettings",
"requestData": {
"inputName": "Random Video Player",
"inputSettings": {
"local_file": "%randomVideo%"
},
"overlay": true
}
}

Thank you for watching! Hope you found this video helpful and I hope you stick around for more videos.

Come catch a live stream sometime!
@  / geefbird  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
How to Play A Random Video from A Folder Using Streamer.Bot (Websocket v5.x)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Subscriber Only Viewer Actions Using Streamer.Bot

Subscriber Only Viewer Actions Using Streamer.Bot

Перемирие всё. Кто не сдержал слова?

Перемирие всё. Кто не сдержал слова?

ИИ создал VPN с нуля — и он ОБХОДИТ любые блокировки

ИИ создал VPN с нуля — и он ОБХОДИТ любые блокировки

Home page redesign

Home page redesign

How to make a giveaway tool with streamer.bot

How to make a giveaway tool with streamer.bot

Клодбот вот-вот ВСЁ РАЗРУШИТ

Клодбот вот-вот ВСЁ РАЗРУШИТ

How to Setup Automated NEEWER Lighting Using Streamer.Bot

How to Setup Automated NEEWER Lighting Using Streamer.Bot

OBS Instant Replay Tutorial Using Streamer.Bot

OBS Instant Replay Tutorial Using Streamer.Bot

3 Бесплатных AI Видео Генератора, Которые Реально Работают!

3 Бесплатных AI Видео Генератора, Которые Реально Работают!

CLAWDBOT EXPOSED: The $16M AI Scam That Fooled Everyone (72 Hour Meltdown)

CLAWDBOT EXPOSED: The $16M AI Scam That Fooled Everyone (72 Hour Meltdown)

My Streamer.bot STARTER PACK! (Also I launched a new website for streamers)

My Streamer.bot STARTER PACK! (Also I launched a new website for streamers)

GIF Commands and Twitch Redeems with Streamerbot

GIF Commands and Twitch Redeems with Streamerbot

Хакер демонстрирует самые безумные гаджеты в своем EDC

Хакер демонстрирует самые безумные гаджеты в своем EDC

Повысил скорость загрузки на 40% и снизил пинг на 50% за 5 минут!

Повысил скорость загрузки на 40% и снизил пинг на 50% за 5 минут!

УСКОРИЛ ИНТЕРНЕТ В 10 РАЗ?! | Локальный DNS решил проблемы с загрузкой страниц | Adguard Home

УСКОРИЛ ИНТЕРНЕТ В 10 РАЗ?! | Локальный DNS решил проблемы с загрузкой страниц | Adguard Home

Шалости CMD! (ТОЛЬКО в образовательных целях!)

Шалости CMD! (ТОЛЬКО в образовательных целях!)

Create Dynamic Twitch Alerts Using Dynamic Masks - OBS & STREAMER.BOT TUTORIAL

Create Dynamic Twitch Alerts Using Dynamic Masks - OBS & STREAMER.BOT TUTORIAL

EASIEST Video Shoutouts on Twitch with Streamer Bot Under TWO Mins

EASIEST Video Shoutouts on Twitch with Streamer Bot Under TWO Mins

Hysteria2 — рабочий VPN при «блокировках» VLESS

Hysteria2 — рабочий VPN при «блокировках» VLESS

«15 репозиториев GitHub», запрещенных ФБР (вам обязательно нужно это увидеть!!)

«15 репозиториев GitHub», запрещенных ФБР (вам обязательно нужно это увидеть!!)

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]