finamp-app/finamp

Quicktile for play/pause

開放

#1,382 建立於 2025年9月20日

 (2 則留言) (0 個反應) (0 位負責人)Dart (299 個分叉)batch import
easy fixfeaturehacktoberfest

倉庫指標

星標
 (4,190 顆星)
PR 合併指標
 (平均合併 68天 5小時) (30 天內合併 8 個 PR)

描述

Are you using the newest Version?

  • Yes, the feature is still missing on the newest version
  • No, there aren't any open request about this. I checked!

Type of Feature

  • Something new
  • Improvement of a feature
  • None of the above

Description

Play/pause by using the Quicktile.

If there is a queue paused, it should (restore if needed and) continue playing. If the queue is empty it should shuffle all and start playing

  1. With "quick mix" I suggested picking and item at random and starting a mix for that, like you suggested.

Originally posted by @Chaphasilor in #271

This could be coupled with #271 and use QuickMix instead of Shuffle All. (Well, you can 2 QuickTiles and have both options)

Reasoning

For Quick access so it runs on the background, instead of opening the app then wait for the queue to restore and finally hit play.

I have seen a few apps that use QuickTile and there was no issues created here on this topic.

Implementation Notes

You can refer this blog post and its source code

AFAIK everything can be done in Kotlin under android folder so it should not affect other platforms. That is, if its only for play/pause.

Additional Information

No response

貢獻者指南