feat: resolve chromecast discovery conflict and add CI/CD workflow
Build and Push Docker Image / build-and-push (push) Failing after 10m6s
Build and Push Docker Image / build-and-push (push) Failing after 10m6s
- Update Zeroconf to unicast mode to resolve port 5353 conflict with avahi-daemon - Make API and Streamlit ports configurable via environment variables (defaults: 8055, 8505) - Add Gitea Actions workflow for automated Docker builds and registry pushes - Refactor Chromecast discovery to use modern CastBrowser API
This commit is contained in:
@@ -16,6 +16,10 @@ CONFIG_DIR.mkdir(parents=True, exist_ok=True)
|
||||
THUMBNAILS_DIR.mkdir(parents=True, exist_ok=True)
|
||||
VIDEOS_DIR.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# Port configuration
|
||||
API_PORT = int(os.getenv("API_PORT", "8055"))
|
||||
STREAMLIT_PORT = int(os.getenv("STREAMLIT_PORT", "8505"))
|
||||
|
||||
# Logging configuration
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
|
||||
Reference in New Issue
Block a user