Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Redesign] Pressing "Next track" via headphones will skip to next track but pause #1020

Open
lord-carlos opened this issue Jan 13, 2025 · 5 comments
Labels
bug Something isn't working not reproducible The described issue can't be recreated yet playback Issues related to playback redesign-beta Issues related to the beta/redsigned version of Finamp

Comments

@lord-carlos
Copy link

lord-carlos commented Jan 13, 2025

Hoi, bit of an odd one.

Like most modern wireless headphones, they can send "next track" or "previous track" commands.
When I do this Finamp 0.9.13 skips to the next songs as expected but never plays it.
I can via heaphones send the "play/pause" command and it starts playing just fine.

Pressing play in the UI works fine.

Let me know if you need anything.

Edit: I just notice when the track is paused and I send "next" via headphones, finamp skips to the next tracks and starts playing.

@lord-carlos lord-carlos changed the title [Beta] Pressing "Next track" via headphones will skip to next track but pause [Redesign] Pressing "Next track" via headphones will skip to next track but pause Jan 22, 2025
@lord-carlos
Copy link
Author

Is there any logs I can provide to help with this issue?

@Chaphasilor
Copy link
Collaborator

@lord-carlos sorry for not responding sooner. It always helps if you attach Finamp's logs, you can get them by going to the "Logs" screen through the sidebar and then clicking the share icon at the top right (don't use the copy button, it doesn't include all logs).
A video also often helps to make sure I understand the issue correctly, and helps to reproduce the issue.

As for the issue itself, you're saying that if a track is playing and you skip (double press I assume), it skips to the next track and pauses, while if playback is paused and you skip, it skips and resumes?
Can you please confirm that playback pauses after Finamp skips to the next track, and not before? Because it sounds like your headphones really use a double-click gesture for skipping, they could be sending a play/pause command on the first click and then a skip command on the second click (maybe the issue isn't with your headphones but the interpretation in the software, but the result would be the same).

@Chaphasilor Chaphasilor added bug Something isn't working playback Issues related to playback not reproducible The described issue can't be recreated yet redesign-beta Issues related to the beta/redsigned version of Finamp labels Jan 22, 2025
@lord-carlos
Copy link
Author

All of the log file was 26mb and contained the URL of my server. I truncated it a bit until upstart was complete. Let me know if you need the full log.

Switching from song Kolido -> Alfa

[PlaybackHistoryService/FINE] 2025-02-03 21:11:55.973748: Handling track change event from null to Kolido
[PlaybackHistoryService/INFO] 2025-02-03 21:11:55.974111: Starting playback progress for Kolido
.. playing a few seconds
[PlaybackHistoryService/FINE] 2025-02-03 21:12:16.075308: Handling track change event from Kolido to Alfa
[PlaybackHistoryService/INFO] 2025-02-03 21:12:16.075487: Stopping playback progress for Kolido
[PlaybackHistoryService/FINE] 2025-02-03 21:12:16.079517: Handling play/pause event for Alfa
[PlaybackHistoryService/INFO] 2025-02-03 21:12:16.079723: Updating playback state for Alfa
..
[Chopper/INFO] 2025-02-03 21:12:16.110990: <-- 204 No Content POST BASEURL/Sessions/Playing/Stopped (32ms)
..
[PlaybackHistoryService/INFO] 2025-02-03 21:12:16.111078: Starting playback progress for Alfa

finamp-logs_minimal.txt

I can switch tracks in my car via the steering wheel and bluetooth connection no problem.
(Though sometimes app crashes when my car tries to auto connect and play, but that is for another time.)

@Chaphasilor
Copy link
Collaborator

Okay, it seems like the pause event really happens right after skipping. Which headphones are you using? Do they work correctly in other apps?

@lord-carlos
Copy link
Author

Sony LinkBuds S, they are quite popular.
Yes, they work out of the box with AntennaPod https://github.com/AntennaPod/AntennaPod or YouTube Music.

I'm not 100 per cent sure, but I think they also worked with the older version of Finamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not reproducible The described issue can't be recreated yet playback Issues related to playback redesign-beta Issues related to the beta/redsigned version of Finamp
Projects
None yet
Development

No branches or pull requests

2 participants