Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bluesound player provider #1624

Merged
merged 40 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e029a94
first commit, still a wip
Cyanogenbot Aug 24, 2024
1e8271a
first commits
Cyanogenbot Aug 24, 2024
db6f978
first commit, still a wip
Cyanogenbot Aug 24, 2024
0338f55
first commits
Cyanogenbot Aug 24, 2024
2398918
Merge branch 'main' of https://github.com/music-assistant/server
Cyanogenbot Aug 27, 2024
2278066
cleaning code, fixing async issue
Cyanogenbot Aug 28, 2024
0351c30
Merge branch 'main' of https://github.com/music-assistant/server
Cyanogenbot Aug 28, 2024
bd9bf21
Merge branch 'music-assistant:main' into main
Cyanogenbot Aug 28, 2024
2717f08
Merge branch 'main' of https://github.com/Cyanogenbot/server
Cyanogenbot Aug 28, 2024
23dc108
undoing unrelated changes
Cyanogenbot Aug 28, 2024
d4e29c3
Merge branch 'music-assistant:main' into BluesoundDraft
Cyanogenbot Aug 28, 2024
58db3b6
Added Bluos logo, Reverted PlayerState
Cyanogenbot Aug 28, 2024
17619b7
potential future fix regarding multi speakers
Cyanogenbot Aug 28, 2024
d2bda47
Added basic source detection
Cyanogenbot Aug 28, 2024
082be8c
some formatting
Cyanogenbot Aug 28, 2024
f18093c
fix config entries
marcelveldt Aug 28, 2024
dee071e
Optimistic pausing
Cyanogenbot Aug 28, 2024
4d234c3
Merge branch 'BluesoundDraft' of https://github.com/Cyanogenbot/serve…
Cyanogenbot Aug 28, 2024
ebf96fb
fix sonos s1 config entries
marcelveldt Aug 28, 2024
802ecf9
Some fixes for unstable (HLS) radio streams (#1622)
marcelveldt Aug 28, 2024
70b28e6
Bump ytmusicapi from 1.8.0 to 1.8.1 (#1616)
dependabot[bot] Aug 28, 2024
79b5885
small fix for airplay detecting end of stream
marcelveldt Aug 28, 2024
0a60ac8
sonos s1 config entry value
marcelveldt Aug 28, 2024
a2663f5
add config options for sync groups
marcelveldt Aug 28, 2024
367f508
Added Bluos logo, Reverted PlayerState
Cyanogenbot Aug 28, 2024
2aeeaae
potential future fix regarding multi speakers
Cyanogenbot Aug 28, 2024
e1ffd90
Added basic source detection
Cyanogenbot Aug 28, 2024
1c47a8d
some formatting
Cyanogenbot Aug 28, 2024
aa52fc1
Optimistic pausing
Cyanogenbot Aug 28, 2024
01f7e34
fix config entries
marcelveldt Aug 28, 2024
a285e00
Merge branch 'BluesoundDraft' of https://github.com/Cyanogenbot/serve…
Cyanogenbot Aug 28, 2024
6ceb8f4
Merge https://github.com/music-assistant/server into BluesoundDraft
Cyanogenbot Aug 28, 2024
fcec7ab
changed some docstrings, fixed optimistic buttons
Cyanogenbot Sep 6, 2024
8364061
lots of optimisation fixes
Cyanogenbot Sep 11, 2024
e64a2f9
removing abundant feature
Cyanogenbot Sep 11, 2024
f66bd1f
removed abundant function
Cyanogenbot Sep 11, 2024
c70661e
Updating active_source on play
Cyanogenbot Sep 11, 2024
b4eb734
Apply suggestions from code review
Cyanogenbot Sep 11, 2024
88d3e07
removed all uncommented ccode
Cyanogenbot Sep 11, 2024
51fa5bd
removed hidden character
Cyanogenbot Sep 11, 2024
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
5 changes: 5 additions & 0 deletions music_assistant/server/helpers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,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