You are browsing as a guest. Sign up (or log in) to start making projects!

YouTubeBroadcastCreator

  • 10 Devlogs
  • 13 Total hours

Used for automatically creating a ready-to-stream YouTube broadcast, printing the stream key and other info for easy automation.

Ship #1

This is a tool to allow for creating a ready-to-stream YouTube broadcast directly from a CLI, printing the stream key and other info for easy automation.

This would allow for (for example) 24/7 livestreaming, by restarting the stream every 12h via an OBS Advanced Scene switcher macro.
(restarting the stream in OBS requires user interaction, so this tool is a way to get around this)

And because the streams can be created by a simple CLI tool, the user has full control of the livestream title, description, thumbnail, and other info… It even supports inline shell commands on the title and description via $cmd[command here], as long as a flag is passed.

Another usecase is scripting, being able to easily start up a stream and get the stream key without needing to learn the YouTube API.

Do not that the setup process requires a Google Cloud project, you can visit the wiki on the GitHub repo to figure that out (or follow the setup instructions in the README which will lead you there)

Try project → See source code →
Open comments for this post

18m 40s logged

Sorry, this probably won’t be shipped :(

The requirements for shipping this requires a video example (well a gif) that I cannot provide because YouTube just returns a 500 whenever I try to make any requests for some reason.

Asked in stardance-help and was told that yeah I would need a demo video.

2
0
120
Open comments for this post

1h 26m 47s logged

v1.3.0 is out!

Authentication is now done separately of management commands.
This means before creating a new Broadcast, you must YouTubeBroadcastCreator auth interactive, however this only needs to be done once as the credentials are cached afterward.

I also added logging, which logs to stderr. To the user, it will look no different than normal logs.

Tangent

For funzies I wanted to see what happens if I output my entire fastfetch into the description, see the second image for the result.

To replicate this, use the following description snippet:

"description": "$cmd[fastfetch]"

and call YouTubeBroadcastCreator broadcast create {params} --evaluate-formatter-commands

0
0
12
Open comments for this post

2h 34m 33s logged

Refactored a bunch of stuff, now stream and broadcast settings are separate under a “profile”.
You can also now create a basic template to build off of, which will make it easy for people to set up!

I don’t think I will do the auth stuff yet, so 1.2.0 will not include it.
Release coming soon, almost finished with it.

To my knowledge, a stream is mostly just a stream key with encoder settings, while the broadcast is the actual video that appears on YouTube.

I also updated the readme a bit, will start on a wiki soon as well.

Pictured is the template with the new profile structure. (subject to change)

0
0
18
Open comments for this post

2h 23m 13s logged

You can now reuse existing stream keys when creating a new broadcast.

Changes have been made behind the hood to create an API wrapper service, which will be moved to it’s own .Core project which can be depended on by other programs.

I will also be expanding the scope in version 1.2.0 to allow for deleting and some management of broadcasts and streams, as well as creating new stream keys from the terminal directly.

This will include being able to delete broadcasts, streams, being able to auth directly from the program (NOTE: effective in 1.2.0: it will no longer ask you to auth in-browser when you call broadcast create to avoid unintentionally opening the browser during automation.)

This will likely result in a project rename as well, if you have any ideas, please leave them in the comments! I’ll be checking them every once in a while. (maybe I will mention whoever came up with the name I end up using in the README if desired)

Once this is feature complete, a video will be made on how it works and documentation will be added.

The release is out now: https://github.com/DexrnZacAttack/YouTubeBroadcastCreator/releases/tag/YouTubeBroadcastCreator%2F1.1.2

0
0
13
Open comments for this post

44m 4s logged

the jank required to get this to work is insane… Why can’t we just output schemas from our JsonConverters??? Unless we can and I just can’t figure it out……..

0
0
6

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…