mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #37] [MERGED] [podcast] Fix Duration and Play Button #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/37
Author: @ricoberger
Created: 10/18/2023
Status: ✅ Merged
Merged: 10/18/2023
Merged by: @ricoberger
Base:
main← Head:podcast-fix-duration-and-play-button📝 Commits (1)
ad31f1a[podcast] Fix Duration and Play Button📊 Changes
3 files changed (+24 additions, -24 deletions)
View changed files
📝
app/lib/widgets/item/details/utils/item_audio_palyer/item_audio_player_controlbuttons.dart(+2 -9)📝
app/lib/widgets/item/details/utils/item_audio_palyer/item_audio_player_seekbar.dart(+12 -8)📝
supabase/functions/_shared/feed/podcast.ts(+10 -7)📄 Description
This commit fixes two bugs within the Podcast player.
It could happen that the play time and remaining time was not shown correctly in the player. This mainly occured in Safari and is now fixed by not using a regular expression to show the time, but instead we have added a new "_printDuration" function which handles the formatting of the durations.
Not only, but mainly on Safari it could also happen, that once a Podcast was started and then paused, the loading spinner was displayed and a user could not continue with the Podcast. This is now fixed, by removing the spinner and only show the play, pause or replay button. As loading indication we are now only using the seek bar.
Last but not least this commit also improves the readability of the code, for parsing the icon of a Podcast feed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.