Automattic / Automattic/pocket-casts-ios

Lockscreen Widget: Shows negative playback time left

Open
#808 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
197
Avg merge
17h 20m
Merged PRs (30d)
103

Description

### Expected behavior

The values should always be a positive value or equal to 0

### Actual behavior

It sometimes shows a negative value. It was first reported by me internally here: p1669965298896429-slack-C02A333D8LQ

### Steps to reproduce the behavior

1. Listen to some episodes on the web player using 3x speed
2. Refresh the iOS app
3. Look at the lockscreen widget and notice the playback time remaining

image image

##### Tested on [iPhone 14 Pro Max], iOS [16.4], Pocket Casts [7.36]

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the issue using the listed 3x-speed web playback and iOS refresh steps, then trace the lockscreen widget's playback-time-remaining calculation. Done means the widget displays a value of zero or greater in this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.