• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Android app stop playing

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Android app stop playing

    Android App (Stock) Stops Playing
    pixel24
    Offline

    Member

    Posts: 196
    Threads: 56
    Joined: 2023 Aug
    Reputation: 1
    Country:Germany
    #1
    2024-06-23, 01:10 PM
    Hi@all,

    We're running JF 10.9.6 and currently using it with two users. One is myself with my old Pixel 4XL (GrapheneOS) and my girlfriend with her Pixel 6 Pro (StockROM). We're both in the same WiFi network with a very strong signal (2 meters away from the router). This morning, I started shuffle play over the entire music library on both devices. On my phone, it plays continuously without any issues. However, on my girlfriend's phone, the playback stops after a short time.

    The app displays the pause button as if the current song is still playing. Clicking pause and then play again doesn't change anything—it still doesn't play. However, when clicking on "forward," it starts playing the next song.
    Does anyone have any ideas on how to troubleshoot this issue?

    with best
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-23, 04:57 PM
    Can you provide specific replication steps? Like exactly what she is pressing or which interface she is initiating the shuffle all. I'm trying to replicate the problem on my Pixel 6a.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    pixel24
    Offline

    Member

    Posts: 196
    Threads: 56
    Joined: 2023 Aug
    Reputation: 1
    Country:Germany
    #3
    2024-06-23, 10:13 PM
    Start the app -> Open library -> Songs -> Shuffle Play

    On my Android, it plays through, but it stops on hers.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-23, 10:56 PM
    Does this problem happen shortly after you start playback? I used your steps and I've been listening for about 20 minutes uninterrupted.

    Try clearing the Jellyfin app's data and try again?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    pixel24
    Offline

    Member

    Posts: 196
    Threads: 56
    Joined: 2023 Aug
    Reputation: 1
    Country:Germany
    #5
    2024-06-24, 08:10 AM
    We just tested it with my girlfriend's phone. Opened the app and started shuffle play in the album view. The first song played, but then it just stopped. The phone is currently charging, so it can't be the power-saving mode (I think).

    When the playback stopped, I checked the queue, and all the upcoming songs were displayed. Pressing the "Next" button played the next song. It's really strange :-(
    pixel24
    Offline

    Member

    Posts: 196
    Threads: 56
    Joined: 2023 Aug
    Reputation: 1
    Country:Germany
    #6
    2024-06-24, 09:03 AM
    I've tested various things. It seems to be related to the screen lock. As soon as the screen lock is activated, the app plays the current track to the end and then stops.
    In the Admin UI, I see the message "m.girlfriend was disconnected from Pixel 6 Pro". In the logfile, I see:

    Code:
    Jun 24 10:49:03 media02 jellyfin[682]: [10:49:03] [INF] User policy for m.girlfriend. EnableAudioPlaybackTranscoding: True
    Jun 24 10:49:15 media02 jellyfin[682]: [10:49:15] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
    Jun 24 10:50:03 media02 jellyfin[682]: [10:50:03] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
    Jun 24 10:50:51 media02 jellyfin[682]: [10:50:51] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
    Jun 24 10:51:19 media02 jellyfin[682]: [10:51:19] [INF] Playback stopped reported by app Jellyfin Android 2.6.1 playing Enjoy The Silence ⁄ Interlude #2∶ Crucified. Stopped at 372800 ms

    In the app settings (Android), "Background usage" is enabled for Jellyfin.
    pixel24
    Offline

    Member

    Posts: 196
    Threads: 56
    Joined: 2023 Aug
    Reputation: 1
    Country:Germany
    #7
    2024-06-24, 09:32 AM
    I see the following message in the log file that indicates a disconnection. However, I have no idea why this happens with my girlfriend's device and not with mine, even though we are using the same app.

    Code:
    Jun 24 11:27:58 media02 jellyfin[682]: [11:27:58] [WRN] WS 2a02:8071:xxxx:yyyy:zzzz:773c:d0f:1762 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.

    Jun 24 11:27:58 media02 jellyfin[682]: [11:27:58] [INF] WS 2a02:8071:xxxx:yyyy:zzzz:773c:d0f:1762 closed
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-06-24, 02:39 PM
    Ok. I've seen this with the official app before. Android doesn't make it easy to find all the settings to stop this behavior. But the easy fix is to use another app.

    You should give Finamp a try. Make sure you sign up for the beta in the app store so you get the much much better reworked version.

    https://forum.jellyfin.org/t-announcing-...esign-beta

    If you'd rather stick with the official app, read my post in this thread. It lists out all the battery/data saver/optimization settings in Android.

    https://forum.jellyfin.org/t-jellyfin-an...0#pid21120
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jellybum
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Australia
    #9
    2024-08-11, 09:59 AM
    I also had the same behaviour, however if I used the slider and moved a few seconds forward from the error point (which typically happened around the 1:30 mark, except if the song was around 2 mins, then it played the whole thing OK) then the song would continue to play.

    For longer tracks (e.g. 7 mins) the issue would reoccur later in the track. Same thing, sliding ahead a few seconds "fixed" it.

    Going back before the issue point caused the issue to occur at exactly the same spot.

    I haven't checked any logs yet.
    I've installed Finamp and so far it's working nicely. Unlike Symfonium, it picked up the playlists and I'm shuffling one that's got >5K songs, so we'll see how we go Grinning-face

    Would be nice to have the option to sort playlists by various criteria, but I'll dig around before crying about that!!
    Tolriq
    Offline

    Junior Member

    Posts: 6
    Threads: 0
    Joined: 2024 Jan
    Reputation: 0
    #10
    2024-08-16, 10:09 AM
    "Unlike Symfonium, it picked up the playlists"

    Jellyfin made an undocumented change on the returned value on the API for playlists, this is already fixed in Symfonium beta.
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode