-
Notifications
You must be signed in to change notification settings - Fork 56
Feature/unified eth with player state #225
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
Open
craigmillard86
wants to merge
37
commits into
CarlosDerSeher:develop
Choose a base branch
from
craigmillard86:feature/unified-eth-player-state
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
1cc2a85
feat: Unified Ethernet interface with settings manager and web UI
craigmillard86 11d6c49
Add player state and refactor inter task communication
luar123 d736928
Merge branch 'develop' of https://github.com/CarlosDerSeher/snapclien…
craigmillard86 ac46f3f
Merge luar123/player_state + fix 4 critical issues
craigmillard86 25fc8c2
Fix: Restore required includes in snapcast_protocol_parser.c
craigmillard86 3706883
Revert README.md to match luar123/player_state version
craigmillard86 62842df
Remove local Claude Code config file from commits
craigmillard86 ebf7a14
Add .claude to .gitignore to exclude local IDE config
craigmillard86 bb97646
Revert .gitignore to match luar123/player_state
craigmillard86 dfe124a
maximize partitions
luar123 2074ba9
Fix dead lock in deinit_player. Refactor callbacks and check for NULL
luar123 6d01fd1
Merge luar123/player_state latest update - Fix deadlock in deinit_player
craigmillard86 5836146
Unified Ethernet/WiFi MAC, player state fixes, and boot-time improvem…
craigmillard86 3d5841f
Fix correctness bugs from code review and Copilot findings
craigmillard86 81b97a7
Merge branch 'develop' into player_state
luar123 d4923a9
Keep volume in settings struct
luar123 4d4f250
Merge remote-tracking branch 'upstream/develop' into player_state
luar123 61a54a7
Move log message so it does not spam the logs when paused
luar123 029bf60
fix
luar123 b3c9532
Set CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=2
luar123 b6daa59
fix state cb
luar123 00dcd40
Merge remote-tracking branch 'upstream/develop' into player_state
luar123 db77bee
fix
luar123 4a9335d
Merge remote-tracking branch 'upstream/develop' into player_state
luar123 cf4f984
Apply volume/mute only while playing
luar123 5ec9a48
Use snapcast state instead of player state
luar123 4915458
Add i2s lock
luar123 a274fa1
Refactor handling of scSettings object
luar123 9805edd
Merge luar123/player_state (a274fa1) - command-based state machine
craigmillard86 5170a17
Fix build break and correctness issues from code review
craigmillard86 5c19771
Replace reconnect polling with sc_restart_snapcast() commands
craigmillard86 c4250e8
Resolve luar123 review comments on reconnect polling PR
craigmillard86 f840181
Fix audio not restarting after network reconnection
craigmillard86 f138c63
Fix Ethernet reconnection: restart DHCP and clean up IPv6 on disconnect
craigmillard86 86dad5d
Merge upstream/develop: PR #203 (snapcast state refactor), #218, #219…
craigmillard86 2842a65
Revert reset_connection_state helper and hoisted statics
craigmillard86 9afbedd
Address Copilot review comments on PR #225
craigmillard86 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,18 @@ | ||
| idf_component_register(SRCS "network_interface.c" "eth_interface.c" "wifi_interface.c" | ||
| set(SRCS "network_interface.c" "wifi_interface.c") | ||
|
|
||
| # Only include Ethernet interface if Ethernet is enabled | ||
| if(CONFIG_SNAPCLIENT_USE_INTERNAL_ETHERNET OR CONFIG_SNAPCLIENT_USE_SPI_ETHERNET) | ||
| list(APPEND SRCS "eth_interface.c") | ||
| endif() | ||
|
|
||
| set(PRIV_DEPS driver esp_wifi esp_eth esp_netif esp_timer nvs_flash improv_wifi settings_manager lwip) | ||
|
|
||
| # ping is only needed when Ethernet is enabled (used by eth_interface.c) | ||
| if(CONFIG_SNAPCLIENT_USE_INTERNAL_ETHERNET OR CONFIG_SNAPCLIENT_USE_SPI_ETHERNET) | ||
| list(APPEND PRIV_DEPS ping) | ||
| endif() | ||
|
|
||
| idf_component_register(SRCS ${SRCS} | ||
| INCLUDE_DIRS "include" | ||
| PRIV_REQUIRES driver esp_wifi esp_eth esp_netif esp_timer nvs_flash improv_wifi) | ||
| PRIV_INCLUDE_DIRS "priv_include" | ||
| PRIV_REQUIRES ${PRIV_DEPS}) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.