Wrong song plays after searching and selecting a track

Closed
#161 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

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

Research direction

The payload names no source files, so start by reproducing the bug in a local build: open a playlist, filter it with search, tap a track, and check which track starts. Then find where the playback queue is built from the search results and where the tapped index is passed on. Done means the track tapped in a filtered playlist is the one that plays, and the steps in the issue no longer produce a random song.

Written by the indexing model from the issue text.

Description

Required pre-submission checklist
  • I have searched existing issues to ensure this is not a duplicate.
  • I tested this bug on the latest available build (preferably Canary).
  • This report describes one specific bug, not multiple unrelated problems.
  • The issue title names the affected area and the broken behavior clearly.
Release channel

Canary / Actions build

YumaPlayer version & build

Canary.20261101

Affected area

Library / playlists / local media / FLAC

Reproducibility

Every time

Steps to reproduce
  1. Open yuma player
  2. Head to library
  3. Click the playlist section
  4. Then search inside any playlist
  5. Then click the song
  6. Volla! A random song plays
Expected vs actual behavior

Expected: it should have played the song I clicked
Actual behaviour : it starts to play random song

Logs / Crash trace

No response

Screenshots or screen recordings (optional)

https://github.com/user-attachments/assets/c780aeda-1a63-4c49-ae15-33f006455450

Android version

Android 15

Device model

Poco m6 5g (Xiaomi hyper os 2.0.208.0)

Additional context

No response

Dominant language
Kotlin
Stars
681
Forks
22
Avg merge
2d 14h
Merged PRs (30d)
20

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 MuwMx/YumaPlayer

All issues in MuwMx/YumaPlayer

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.