Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scope/core/inputs/syphon.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def connect(self, identifier: str) -> bool:
self._receiver = None
return False
except ImportError:
logger.error("syphon-python not available")
logger.warning("syphon-python not available (macOS only)")
return False
except Exception as e:
logger.error(f"Error connecting SyphonInputSource: {e}")
Expand Down
2 changes: 1 addition & 1 deletion src/scope/core/outputs/syphon.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def create(self, name: str, width: int, height: int) -> bool:
self._sender = None
return False
except ImportError:
logger.error("syphon-python not available")
logger.warning("syphon-python not available (macOS only)")
return False
except Exception as e:
logger.error(f"Error creating SyphonOutputSink: {e}")
Expand Down
5 changes: 5 additions & 0 deletions src/scope/server/frame_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,11 @@ def _update_output_sink(
if sink_class is None:
logger.error(f"Unknown output sink type: {sink_type}")
return
if not sink_class.is_available():
logger.warning(
f"Output sink '{sink_type}' is not available on this platform"
)
return
try:
sink = sink_class()
if sink.create(sink_name, width, height):
Expand Down
2 changes: 1 addition & 1 deletion src/scope/server/syphon/sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def create(self) -> bool:
)
return True
except ImportError:
logger.error("syphon-python not available")
logger.warning("syphon-python not available (macOS only)")
return False
except Exception as e:
logger.error(f"Failed to create SyphonSender: {e}", exc_info=True)
Expand Down
Loading