Off-by-one error when using "play next" action
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
- #527 của @EthanJoyce — đã đóng, không merge
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the queue handling code for the “Play next” action and how it adjusts the insertion position when the selected song is before the currently playing song. Reproduce the three song scenario from the issue and check the resulting queue order. Done means the selected song is immediately after the currently playing song; issue #527 is a closed, unmerged pull request linked to this report.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
GrapheneOS (2026110701; Android 17), Pixel Emulator (BE4B.251210.005; Android 16)
Affected device model
Pixel 8 Pro, Pixel Emulator
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
- Have a library of at least three different songs
- Start playing a song, open track queue, arrange songs such that the currently playing song is in the middle (see screenshot 1 below)
- Return to library view, select song that's before the currently playing song, and select the "Play next" action
- The selected song is now after the next song, rather than taking the place of the next song (see screenshot 2)
Screenshot 1:
Screenshot 2:
Expected behavior
The song should be next in the track queue
Actual behavior
It is instead second-next (i.e. there's an off-by-one error in the queuing logic)
Screenshots/Screen recordings
No response
Additional information
No response
- Ngôn ngữ chính
- Kotlin
- Star
- 933
- Fork
- 104
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FossifyOrg/Music-Player
-
feature request needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
FossifyOrg/Music-Player#515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature request needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
FossifyOrg/Music-Player#479 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
FossifyOrg/Music-Player#424 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
FossifyOrg/Music-Player#423 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add info button on current playing fileCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởfeature request needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
FossifyOrg/Music-Player#29 · 13 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của FossifyOrg/Music-Player
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
thtbee/nectarlink#912 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
grote/Transportr#1029 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
TeamAmaze/AmazeFileManager#4800 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
FossifyOrg/Gallery#1235 ·
Maintainer thường phản hồi trong vòng 1 ngày