jellyfin / jellyfin-android

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
1.58k stars 252 forks source link

[Android Auto] Track control doesn't show or always playing the same music #1150

Open JPZV opened 1 year ago

JPZV commented 1 year ago

Describe the bug

This may be related to or even a duplicate of #968, but every time I want to play music from Jellyfin while driving, I get a strange behavior on my Android Auto.

First, if I connect my phone to my radio and then select an album, it starts without any issue, except that I don't have any track control neither from the radio's screen nor from the radio's buttons. Android Auto detects that Jellyfin is active because it shows recommendations for me even if I have another app running before (like Spotify), but it doesn't show the album image nor any type of information.

Then, if I disconnect my phone and then reconnect it (without touching anything), the music will start playing again but from the beginning, and now I can see both the track info and the track control (and they'll work just fine), but it will play another playlist. I think is the "recent played" or anything like that because it's always the same music in almost the same order, and I don't have any playlist on my server nor on my phone.

And, to make it worse, if I select the album that I wanted to listen, the music will change correctly, but on my radio's screen I'll see that the "current music" is paused instead of changing to the selected music, and I'll lost any track control just like at the start.

So, in summary, here're the steps to reproduce this:

  1. Start the engine and connect the phone to a Android Auto radio
  2. Wait until it shows the map
  3. Open Jellyfin and start playing any album
  4. Now the screen will not show any Play nor Prev/Next buttons. Neither the track info
  5. Disconnect the phone from the radio. The music will stop as it has to.
  6. Reconnect the phone to the radio and wait until it shows the map
  7. The music will start playing but from the beginning, and now all the buttons and the info will show correctly.
  8. But when changing the music from the radio (or when the tracks reach the end), it will play any other track that doesn't belong to the album.
  9. Selecting the same album (or any other) from the phone, it'll start the issue again from the third step.

Logs

No response

Application version

2.5.2

Where did you install the app from?

Google Play

Device information

Poco X3 Pro

Android version

MIUI Global 13.0.8 (Android 12)

Jellyfin server version

10.8.10

Which video player implementations does this bug apply to?

jellyfin-bot commented 11 months ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

JPZV commented 11 months ago

Bump, I'm still having this issue, just confirmed

bkraul commented 8 months ago

Same issue here. Any chance this can be looked at? Everything else is near-perfect.

OGCristofer commented 8 months ago

Having this issue as well. It's explained and makes sense, but a better implementation is necessary. Also for some reason it defaults to a single folder instead of letting me navigate back up and into another folder.

jellyfin-bot commented 4 months ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

bkraul commented 4 months ago

This remains an open issue. It would be cool if someone addressed it.

d-mcknight commented 2 months ago

Possibly related, I have noticed that some tracks in my library will not play via Android Auto (I get an advancing progress bar, but no sound); I can play them in the app without any issues.

I think the failing tracks are all ALAC and working ones are FLAC, though I haven't tested extensively. This comment on #968 states the players for Android Auto and the app are different, so that could explain a difference in codec support.