Skip to content

Conversation

Rahul-Sahani04
Copy link

Add features to display current playing track information and support media controls on iOS.

  • HomePlayerWidget.swift

    • Add track title, artist name, and album art display in the HomePlayerWidget.
    • Update SimpleEntry struct to include trackTitle, artistName, and albumArt properties.
    • Modify placeholder, getSnapshot, and getTimeline methods to include new properties.
    • Update HomePlayerWidgetEntryView to display new track information.
  • Info.plist

    • Add support for media controls on the lock screen and control center.
    • Add integration with Siri for voice commands to control playback.
  • main.dart

    • Register the HomePlayerWidget for iOS by adding glanceProvider listener.
  • glance.dart

    • Add code to update the HomePlayerWidget with the current track information, including track title, artist name, and album art.

Add features to display current playing track information and support media controls on iOS.

* **HomePlayerWidget.swift**
  - Add track title, artist name, and album art display in the HomePlayerWidget.
  - Update SimpleEntry struct to include trackTitle, artistName, and albumArt properties.
  - Modify placeholder, getSnapshot, and getTimeline methods to include new properties.
  - Update HomePlayerWidgetEntryView to display new track information.

* **Info.plist**
  - Add support for media controls on the lock screen and control center.
  - Add integration with Siri for voice commands to control playback.

* **main.dart**
  - Register the HomePlayerWidget for iOS by adding glanceProvider listener.

* **glance.dart**
  - Add code to update the HomePlayerWidget with the current track information, including track title, artist name, and album art.
Add enhanced media controls and social sharing features.

* **Enhanced Media Controls:**
  - Add volume control slider to `PlayerControls` widget in `lib/modules/player/player_controls.dart`.
  - Implement keyboard shortcuts for media controls (play/pause, next/previous track, volume up/down) in `PlayerControls` widget.
  - Add "lyrics" button to `PlayerView` widget in `lib/modules/player/player.dart`.

* **Social Sharing Features:**
  - Add feature to share the currently playing track on social media platforms in `lib/components/track_tile/track_options.dart`.
  - Add share button to `TrackPresentationTopSection` widget in `lib/components/track_presentation/presentation_top.dart`.

* **Settings:**
  - Add dark mode toggle in the settings page in `lib/pages/settings/settings.dart`.

* **CI Configuration:**
  - Add `.ci.yaml` file for continuous integration configuration.
Enhance media controls and add social sharing features
@lori28167
Copy link
Contributor

Would love to see this in new version. Fix the conflicts and you'll get my approve.

@Rahul-Sahani04
Copy link
Author

Conflicts resolved and merged. Ready for review.

Copy link
Contributor

@lori28167 lori28167 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better UI. Really nice

@Rahul-Sahani04
Copy link
Author

Thanks. I'm Happy that you liked the UI improvements.

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.

2 participants