spotube icon indicating copy to clipboard operation
spotube copied to clipboard

Add cool features to iOS app

Open Rahul-Sahani04 opened this issue 9 months ago • 3 comments

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.

Rahul-Sahani04 avatar Mar 09 '25 07:03 Rahul-Sahani04

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

lori28167 avatar Oct 13 '25 16:10 lori28167

Conflicts resolved and merged. Ready for review.

Rahul-Sahani04 avatar Oct 13 '25 18:10 Rahul-Sahani04

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

Rahul-Sahani04 avatar Oct 14 '25 04:10 Rahul-Sahani04