Skip to content

Conversation

@ChiefGyk3D
Copy link
Owner

No description provided.

- Add MultiUserConfig, StreamerConfig, SocialAccountConfig models
- Support JSON-based configuration for per-user social account routing
- Add account_id to SocialPlatform base class for multi-account support
- Update StreamStatus with social_account_filter and per-account post tracking
- Add example multi-user-config.example.json with comprehensive documentation
- Backward compatible with existing single-user setup (simple mode)

This enables scenarios like:
- Multiple streamers on same platform posting to different social accounts
- Shared social accounts (e.g., Discord server) across streamers
- Per-streamer customization of which platforms receive announcements
- Configuration modes (simple vs advanced)
- JSON schema and field descriptions
- 3 detailed example scenarios
- Environment variable naming patterns
- Migration guide from single to multi-user
- Troubleshooting section
- Best practices
@ChiefGyk3D ChiefGyk3D self-assigned this Nov 29, 2025
@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

import json
import logging
from dataclasses import dataclass, field
from typing import Dict, List, Set, Optional

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'Dict' is not used.

Copilot Autofix

AI 5 days ago

The correct way to fix this issue is to remove unused imports from the typing import line in stream_daemon/models/user_config.py. Specifically, alter line 6 from from typing import Dict, List, Set, Optional to only import List, since the other types are unused within the provided code. No other imports, definitions, or code changes are required.

Suggested changeset 1
stream_daemon/models/user_config.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/stream_daemon/models/user_config.py b/stream_daemon/models/user_config.py
--- a/stream_daemon/models/user_config.py
+++ b/stream_daemon/models/user_config.py
@@ -3,7 +3,7 @@
 import json
 import logging
 from dataclasses import dataclass, field
-from typing import Dict, List, Set, Optional
+from typing import List
 
 logger = logging.getLogger(__name__)
 
EOF
@@ -3,7 +3,7 @@
import json
import logging
from dataclasses import dataclass, field
from typing import Dict, List, Set, Optional
from typing import List

logger = logging.getLogger(__name__)

Copilot is powered by AI and may make mistakes. Always verify output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants