Skip to content

Yandex Music: Add configurable My Wave settings#3140

Closed
trudenboy wants to merge 4 commits intomusic-assistant:devfrom
trudenboy:feat/yandex-music-my-wave-config
Closed

Yandex Music: Add configurable My Wave settings#3140
trudenboy wants to merge 4 commits intomusic-assistant:devfrom
trudenboy:feat/yandex-music-my-wave-config

Conversation

@trudenboy
Copy link
Contributor

Summary

Adds 9 configuration options for Yandex Music provider's My Wave feature:

Performance & Behavior Settings (Advanced)

  1. My Wave maximum tracks (150) - Control total tracks fetched
  2. My Wave batch count (3) - Number of API calls for initial load
  3. Track details batch size (50) - Batch size for track detail requests
  4. Discovery initial tracks (5) - Initial display limit for Discover
  5. Browse initial tracks (15) - Initial display limit for Browse

Feature Toggles (Standard Settings)

  1. Enable Discover (Recommendations) (true) - Toggle recommendations
  2. Enable My Wave in Browse (true) - Show/hide My Wave folder
  3. Enable My Wave Playlist (true) - Show/hide My Wave in playlists
  4. Enable My Wave Radio Mode (true) - Enable/disable radio feedback

Additional improvements

  • ✅ Duplicate track protection using set-based tracking
  • ✅ Faster recommendation refresh (60s vs 3h cache)
  • ✅ Configurable performance tuning
  • ✅ Granular control over visibility

Breaking changes

None - all settings have sensible defaults maintaining current behavior.

Replaces

Replaces #3133 (was created from dev branch with unrelated changes)

🤖 Generated with Claude Code

trudenboy and others added 3 commits February 11, 2026 21:52
Add 6 new configuration options for Yandex Music provider:
- My Wave maximum tracks (default: 150) - Control total number of tracks fetched
- My Wave batch count (default: 3) - Number of API calls for initial load
- Track details batch size (default: 50) - Batch size for track detail requests
- Discovery initial tracks (default: 5) - Initial display limit for Discover
- Browse initial tracks (default: 15) - Initial display limit for Browse
- Enable Discover (default: true) - Toggle recommendations on/off

Implemented duplicate protection for My Wave tracks using set-based tracking.
Recommendations now refresh every 60 seconds instead of 3 hours for fresher discoveries.

All new settings have sensible defaults that maintain current behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add three new toggle settings to control My Wave feature visibility:
- Enable My Wave in Browse: Show/hide My Wave folder in Browse section
- Enable My Wave Playlist: Show/hide My Wave as virtual playlist in library
- Enable My Wave Radio Mode: Enable/disable radio feedback (like/dislike)

All settings default to True to preserve existing behavior.

This completes the planned 9 settings for My Wave configuration:
- 5 performance settings (max tracks, batch sizes, initial track counts)
- 4 feature toggles (recommendations, browse, playlist, radio feedback)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Advanced configuration setting for API base URL, allowing users to
change the endpoint if Yandex Music updates their API URL in the future.

Changes:
- Add CONF_BASE_URL and DEFAULT_BASE_URL constants
- Add Advanced ConfigEntry for base_url in provider settings
- Update YandexMusicClient to accept optional base_url parameter
- Pass base_url from config to ClientAsync initialization
- Remove GET_FILE_INFO_BASE_URL constant (now uses client.base_url)

Default value: https://api.music.yandex.net

This makes the provider more resilient to API endpoint changes and
allows users to override the URL if needed without code modifications.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@trudenboy
Copy link
Contributor Author

Closing as this PR is fully superseded by #3147, which includes all these changes plus:

  • Liked Tracks improvements (virtual playlist, sorting, visibility toggles)
  • Organized configuration UI with categories and advanced settings

All My Wave settings, toggles, and base URL configuration from this PR are included in #3147.

@trudenboy trudenboy closed this Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants