mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
Major refactoring to improve code maintainability and readability: - printNavigationResults: Split into multiple helper functions (16->9) - printSearchResults: Extract song/artist/station printing functions (18->8) - compareSourcesAndAvailability: Separate comparison logic and summary (17->7) - storePreset: Extract parameter validation and content creation (19->8) - getNowPlaying: Break into focused helper functions (23->5) Benefits: - All cyclomatic complexity issues resolved (5->0) - Improved code readability and maintainability - Single responsibility principle applied to helper functions - Easier testing and debugging of individual components - Maintained all existing functionality Resolves all gocyclo linting issues while preserving functionality.