Skip to content

Commit

Permalink
Add Bluesound player provider (#1624)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyanogenbot authored Sep 11, 2024
1 parent d58371d commit 79eeb7d
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 0 deletions.
5 changes: 5 additions & 0 deletions music_assistant/server/helpers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ def get_primary_ip_address_from_zeroconf(discovery_info: AsyncServiceInfo) -> st
return None


def get_port_from_zeroconf(discovery_info: AsyncServiceInfo) -> str | None:
"""Get primary IP address from zeroconf discovery info."""
return discovery_info.port


class TaskManager:
"""
Helper class to run many tasks at once.
Expand Down
Loading

0 comments on commit 79eeb7d

Please sign in to comment.