YouTubeBroadcastCreator
- 9 Devlogs
- 12 Total hours
Used for automatically creating a ready-to-stream YouTube broadcast, printing the stream key and other info for easy automation.
Used for automatically creating a ready-to-stream YouTube broadcast, printing the stream key and other info for easy automation.
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.
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
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)
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
Nested commands work now, hooray!
It only took learning some dotnet specific regex stuffs that was a pain to understand
Now you can format with inline shell commands (as long as you pass an arg)
will polish and release tomorrow
Got custom thumbnails working! Publishing the release in a minute.
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……..
switched to DotMake.CommandLine, much nicer IMO.