Skip to content
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

feat: Add resume position tracking for all play types #2331

Draft
wants to merge 1 commit into
base: future3/develop
Choose a base branch
from

Conversation

hoffie
Copy link
Contributor

@hoffie hoffie commented Apr 11, 2024

The tracking is active by default, but the resuming has to be enabled explicitly, either by setting
playermpd.play_position_tracking.resume_by_default: true
or by calling the play_* functions with the new resume=True kwarg.

Related: #1946

Reasons for draft status / checklist before merging:

I've been using most of the code on my Phoniebox without problems. The code has seen some adjustments by now though, so it hasn't been tested as-is. Other than that, it's ready for review. I will do a final round of testing when the reviews are done.

Previous review by @pabera (most of the actionable items should have been incorporated by now): hoffie@c4805ce

@hoffie hoffie marked this pull request as draft April 11, 2024 21:41
@coveralls
Copy link

coveralls commented Apr 11, 2024

Pull Request Test Coverage Report for Build 8653786800

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 38.336%

Totals Coverage Status
Change from base Build 8605260930: 0.0%
Covered Lines: 493
Relevant Lines: 1286

💛 - Coveralls

@hoffie hoffie force-pushed the add-play-position-tracking branch from 317673c to dbfe64f Compare April 11, 2024 22:00
@hoffie hoffie changed the title Add play position tracking for all play types Add resume position tracking for all play types Apr 11, 2024
@pabera pabera added the future3 Relates to future3 development label Apr 12, 2024
@pabera pabera added this to the v3.6 milestone Apr 12, 2024
@pabera pabera mentioned this pull request Apr 12, 2024
@pabera pabera changed the title Add resume position tracking for all play types feat: Add resume position tracking for all play types Apr 12, 2024
@hoffie hoffie force-pushed the add-play-position-tracking branch from dbfe64f to 07e9ea8 Compare April 14, 2024 20:11
The tracking is active by default, but the resuming has to be
enabled explicitly, either by setting
  playermpd.resume.resume_by_default: true
or by calling the play_* functions with the new resume=True kwarg.

Related: MiczFlor#1946
@hoffie hoffie force-pushed the add-play-position-tracking branch from 07e9ea8 to 9c94056 Compare April 14, 2024 20:13
@s-martin s-martin linked an issue Apr 15, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement future3 Relates to future3 development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 | Add resume option
4 participants