finamp-app/finamp

Quicktile for play/pause

开放

#1,382 创建于 2025年9月20日

 (2 条评论) (0 个反应) (0 位负责人)Dart (301 个派生)batch import
easy fixfeaturehacktoberfest

仓库指标

星标
 (4,201 个星标)
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

贡献者指南