-
-
Notifications
You must be signed in to change notification settings - Fork 1
Favorite songs and playlist #46
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
Merged
Merged
Conversation
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
Introduced `BooleanToFavoriteGlyphConverter` for star glyph conversion based on favorite status. Added `FavoriteTrack` to model favorited tracks and `PlaylistHistoryItem` to manage playlist history with favoriting functionality. Implemented property change notifications and metadata conversion methods.
Introduced a new FavoritesPage for displaying and managing user's favorite tracks. Added a ViewModel to handle data binding, track removal, and dynamic updates via FavoritesService. Implemented UI elements for empty state, track list, and external search links. Included debugging statements for better traceability.
Introduced `FavoritesService` for managing favorite tracks with JSON serialization, caching, and event handling. Added `PlaylistHistoryService` to track recently played tracks, handle metadata updates, and integrate with favorites. Included error handling, duplicate prevention, and debug logging for both services.
Enhanced NowPlayingPage and PlayingPage layouts to include favorite buttons and a playlist history section. Updated NowPlayingViewModel to manage favorite status and integrate with FavoritesService and PlaylistHistoryService. Added navigation to a new Favorites page and ensured dynamic UI updates for favorite status changes.
Refactored App.xaml.cs to initialize PlaylistHistoryService early. Updated Trdo.csproj to include FavoritesPage.xaml as a compilable resource.
Introduces a first-run tutorial window with usage instructions and animation. Removes MainWindow in favor of the new onboarding experience. Updates project files and assets accordingly.
Refine tutorial experience to show only on first launch, redesign tutorial window, and expand About page with new sections and external links. Add SettingsService for persistent app settings.
Improved NullToVisibilityConverter to handle empty strings as null, and added StringToImageSourceConverter for converting valid URL strings to BitmapImage.
Extended RadioStation with homepage and favicon properties, and StreamMetadata with album art URL. Updated conversion logic and made RadioStation partial for extensibility.
Improves Windows System Media Transport Controls support with live radio metadata, album art, and hardware button handling. Expands metadata parsing for more stream formats and improves resource management and debug logging.
Enhances station model and UI to handle homepage and favicon fields, improving metadata display and integration with system media controls.
Centralize MediaSource recreation after external pause, improve playback state handling, and optimize metadata polling and HTTP client settings for efficiency.
Enables users to open a station's homepage from the context menu and includes minor UI adjustments for improved appearance.
Improves album art handling by using async/await for proper fallback between metadata and favicon, adds success/failure feedback, and enhances debug logging.
Changed pause handling to trigger MediaSource recreation on next play, ensuring playback resumes at the live position.
Improves user feedback by displaying errors in an InfoBar when network or search issues occur. Updates view model to track and expose error states and messages. Refines UI layout to accommodate error display.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.