Skip to content

Add Apple Music and YouTube Music search options with per-service settings toggles#76

Merged
TheJoeFin merged 4 commits into
devfrom
copilot/add-search-options-for-music-services
Apr 2, 2026
Merged

Add Apple Music and YouTube Music search options with per-service settings toggles#76
TheJoeFin merged 4 commits into
devfrom
copilot/add-search-options-for-music-services

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

Extends the existing Spotify/Discogs search integrations to include Apple Music and YouTube Music, with a new Settings section to individually enable/disable each of the four services.

Changes

New search services

  • Apple Music – attempts itmss: URI (Windows app), falls back to https://music.apple.com/search?term=…
  • YouTube Music – opens https://music.youtube.com/search?q=…

Settings persistence (SettingsService)

  • Added IsSpotifyEnabled, IsDiscogsEnabled, IsAppleMusicEnabled, IsYouTubeMusicEnabled — all default true
  • Extracted shared GetBoolSetting/SetBoolSetting helpers to reduce boilerplate

Now Playing page

  • NowPlayingViewModel gains SearchOnAppleMusic(), SearchOnYouTubeMusic(), and IsXxxEnabled passthrough properties
  • All four service buttons in NowPlayingPage.xaml now bind Visibility to their respective ViewModel.IsXxxEnabled

Favorites page

  • Apple Music and YouTube Music HyperlinkButtons added to the DataTemplate expanded row, each with an x:Name
  • FavoritesListView_SelectionChanged calls a new SetButtonVisibility() helper that uses the existing FindDescendant mechanism to apply per-service visibility from SettingsService at expansion time

Settings page

New Music search services section with a ToggleSwitch + description row for each service, bound two-way to SettingsViewModel.IsXxxEnabled properties.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • ndavsblobprodwus219.blob.core.windows.net
    • Triggering command: /usr/bin/dotnet dotnet restore --no-dependencies /tmp/codeql-scratch-09a801a7dd23cb56/dbs/csharp/working/7308510B18BD5F018EBF4978576AFCBB/missingpackages_workingdir --packages /tmp/codeql-scratch-09a801a7dd23cb56/dbs/csharp/working/missingpackages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal --configfile /tmp/codeql-scratch-09a801a7dd23cb56/dbs/csharp/working/nugetconfig/nuget.config --force (dns block)
  • s8nvsblobprodwus2158.blob.core.windows.net
    • Triggering command: /usr/bin/dotnet dotnet build Trdo.slnx --configuration Release -p:EnableWindowsTargeting=true (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue Apr 1, 2026 that may be closed by this pull request
…ttings toggles

Agent-Logs-Url: https://github.com/TheJoeFin/Trdo/sessions/dac8c98c-2c5e-4f5f-bf1b-cd721868e8db

Co-authored-by: TheJoeFin <7809853+TheJoeFin@users.noreply.github.com>
Copilot AI changed the title [WIP] Add configurable search options for music services Add Apple Music and YouTube Music search options with per-service settings toggles Apr 1, 2026
Copilot AI requested a review from TheJoeFin April 1, 2026 05:40
Added new SVG files: apple_music.svg, discogs.svg, and ytmusic.svg. These files provide vector logo assets for Apple Music, Discogs, and YouTube Music, with discogs.svg featuring detailed paths and gradients.
- Use SVG icons for all music search services for visual consistency
- Add horizontally scrollable search links with settings button
- Centralize Apple Music search logic with region-aware URLs
- Redesign SettingsPage for per-service music search toggles
- Raise MusicSearchServicesChanged event for real-time UI updates
- Update NowPlayingViewModel and FavoritesPage to react to service changes
- Refactor Apple Music search to always use web, not app
- Improve XAML formatting and UI alignment
- Add and include new SVG assets for Apple Music, Discogs, YouTube Music
@TheJoeFin TheJoeFin marked this pull request as ready for review April 2, 2026 00:23
@TheJoeFin TheJoeFin merged commit 213b39e into dev Apr 2, 2026
1 check passed
@TheJoeFin TheJoeFin deleted the copilot/add-search-options-for-music-services branch April 2, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Google and Apple Music search options

2 participants