Audio restarts after it's selected from the track list

Open
#538 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin
Domain
mobile

Research direction

The issue names no files or tests. Start by locating the track-list item click handler that starts playback and the playback service or controller that owns the current playback position; reproduce by playing a track, going back to the list, and selecting the same track. Done means selecting the currently playing track no longer resets playback to the beginning, or the behavior is made an explicit setting as the reporter suggests.

Written by the indexing model from the issue text.

Description

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.8.5

Affected Android/Custom ROM version

Android 16

Affected device model

Samsung Galaxy A34

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. Click on any audio to initialize its playback
  2. Go back to the track list
  3. Click on the same audio again. That's it (the audio starts playing from the beggining).
Expected behavior

It shouldn't restart the audio from the beggining, it should not interrupt the listening experience, but pretty self-explanatory and it just feels like the intuitive behavior here. (I know there is that button at the bottom, but sometimes, you just forget which button to click)

Actual behavior

It restarts the audio.

Screenshots/Screen recordings

No response

Additional information

I don't know if it's a bug or an intended behavior, but it's pretty annoying. If it's an intended behavior, it could be fixed with just one on/off switch in the settings (either restarts the audio or it doesn't).

Dominant language
Kotlin
Stars
933
Forks
104
Avg merge
2d 10h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FossifyOrg/Music-Player

All issues in FossifyOrg/Music-Player

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.