Prefix OBS source names with team scene names
All checks were successful
Lint and Build / build (pull_request) Successful in 2m51s
All checks were successful
Lint and Build / build (pull_request) Successful in 2m51s
Update stream creation to include team prefixes in all OBS source naming: - Browser sources: team_streamname format - Stream group scenes: team_streamname_stream format - Consistent naming across createStreamGroup and addStream functions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b6937f3a4f
commit
6fc079382a
2 changed files with 25 additions and 19 deletions
|
@ -317,8 +317,10 @@ async function createStreamGroup(groupName, streamName, teamName, url) {
|
|||
// Ensure team scene exists
|
||||
await createGroupIfNotExists(groupName);
|
||||
|
||||
const streamGroupName = `${streamName.toLowerCase().replace(/\s+/g, '_')}_stream`;
|
||||
const sourceName = streamName.toLowerCase().replace(/\s+/g, '_') + '_twitch';
|
||||
const cleanGroupName = groupName.toLowerCase().replace(/\s+/g, '_');
|
||||
const cleanStreamName = streamName.toLowerCase().replace(/\s+/g, '_');
|
||||
const streamGroupName = `${cleanGroupName}_${cleanStreamName}_stream`;
|
||||
const sourceName = `${cleanGroupName}_${cleanStreamName}`;
|
||||
const textSourceName = teamName.toLowerCase().replace(/\s+/g, '_') + '_text';
|
||||
|
||||
// Create a nested scene for this stream (acts as a group)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue