• 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 General Questions Stops playing sound when screen locks

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Stops playing sound when screen locks

    Stops playing sound when screen locks
    Peter
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Jun
    Reputation: 0
    Country:Netherlands
    #1
    2024-06-25, 10:18 AM
    Hi,

    I just started using Jellyfin but Jellyfin stops playing mp3's when the screen locks.
    When playing a mp4, the screen will not lock.

    I'm using an Iphone (iOS Version: 17.5.1) and Jellyfin app Version 10.9.6

    I've tried the following settings:
    - Settings-General-Background App Refresh --> on, Jellyfin itself is not listed.
    - Settings-Battery-Low Power Mode --> off.
    - Within the Jellyfin app-Settings-Keep Screen Awake --> on.

    Tried also to logon via a Web Browser (Safari and Chrome), unfortunately same issue when the screen locks, Jellyfin via browser stops playing.

    When Setting-Display & Brightness-Auto-Lock --> never, Jellyfin keeps playing but to preserve the battery it would be great if it is possible to turn the screen off.

    Is there any other setting that I missed or is it not possible using an Iphone?

    Thank you in advance!
    1
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-06-25, 11:58 AM
    On the Android app, there's a client setting for "background audio" meant for videos, but I assume it also works to allow audio-only files to be played in the background.

    Does the iPhone app have that setting? Try enabling it.
    pixel24
    Offline

    Member

    Posts: 196
    Threads: 56
    Joined: 2023 Aug
    Reputation: 1
    Country:Germany
    #3
    2024-06-26, 08:56 AM
    Quote:On the Android app, there's a client setting for "background audio"

    Interesting. I have exactly this problem on both an Android and an iOS phone.

    @Peter: I don't currently have access to the iOS device because it is being used by a friend. Did the setting resolve the issue for you?
    Peter
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Jun
    Reputation: 0
    Country:Netherlands
    #4
    2024-06-26, 09:48 AM
    Hi,

    No, I cannot find the setting "Background Audio".
    I've added a screenshot, hopefully it is visible.


    Attached Files Thumbnail(s)
       
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,035
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #5
    2024-06-26, 12:20 PM (This post was last modified: 2024-06-26, 12:27 PM by theguymadmax. Edited 1 time in total.)
    Use Finamp, a dedicated Jellyfin music player. Background playing is not an issue.
    Peter
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Jun
    Reputation: 0
    Country:Netherlands
    #6
    2024-06-26, 01:43 PM
    Hi @theguymadmax,

    I've tried Finamp as well, but I'm unable to connect.

    When I populate the Server URL, like this: https://111.222.333.444:8096 and the right username and password:
    Error
    ClientException with SocketException: Connection refused (OS Error: Connection refused, erno = 61), address = 111.222.333.444, port = 55555, uri=https://111.222.333.444:8096/Users/AuthenticateByName


    When I populate the Server URL, like this: https://mydomainname.xxx and the right username and password:
    Error
    Could not fetch the response for POST https://mydomainname.xxx/Users/ AuthenticateByName.
    Status code: 403, error: Error processing request
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,035
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #7
    2024-06-26, 02:28 PM
    (2024-06-26, 01:43 PM)Peter Wrote: Hi @theguymadmax,

    I've tried Finamp as well, but I'm unable to connect.

    When I populate the Server URL, like this: https://111.222.333.444:8096 and the right username and password:
    Error
    ClientException with SocketException: Connection refused (OS Error: Connection refused, erno = 61), address = 111.222.333.444, port = 55555, uri=https://111.222.333.444:8096/Users/AuthenticateByName


    When I populate the Server URL, like this: https://mydomainname.xxx and the right username and password:
    Error
    Could not fetch the response for POST https://mydomainname.xxx/Users/ AuthenticateByName.
    Status code: 403, error: Error processing request

    When I logged on for the first time I got the same error when I tried to connect from my external ip. I'm pretty sure I was using the right credentials. Well about the 4th time it finally connected. Don't know what I did different.

    External server:
    https://mydomainname.xxx  - correct

    Internal server: try using http instead of https
    http:// 111.222.333.444:8096
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-06-26, 03:43 PM
    If you aren't using the Finamp beta, consider doing so. It is at a point where it is stable and pretty much feature complete.

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

    But if you want to stick with the official android app, read my post in this thread.

    https://forum.jellyfin.org/t-jellyfin-an...0#pid21120

    It lists all the settings that you may need to double check in Android to allow for unrestricted battery and data usage in the background.
    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]
    Peter
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Jun
    Reputation: 0
    Country:Netherlands
    #9
    2024-06-26, 03:43 PM
    I tried to login several times without success, same error :-(.

    Finally, I thought about the "Maximum number of simultaneous user sessions" (Edit User - Profile - Maximum number of simultaneous user sessions) setting, which was set to 1 and I had already a Jellyfin session open. Increased the "Maximum number of simultaneous user sessions" setting and I was able to login.
    Now, when the screen locks or when using another app simultaneously, Finamp (mp3) keeps playing :-).

    Thank you all for your suggestions, especially @theguymadmax !
    Syndicate-Alchemsit
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    #10
    2025-01-04, 09:54 PM
    (2024-06-26, 03:43 PM)Peter Wrote: I tried to login several times without success, same error :-(.

    Finally, I thought about the "Maximum number of simultaneous user sessions" (Edit User - Profile - Maximum number of simultaneous user sessions) setting, which was set to 1 and I had already a Jellyfin session open. Increased the "Maximum number of simultaneous user sessions" setting and I was able to login.
    Now, when the screen locks or when using another app simultaneously, Finamp (mp3) keeps playing :-).

    Thank you all for your suggestions, especially @theguymadmax !

    I had my fingers crossed that this would work for me as well but it doesn't seem to have made a difference. I changed my 'Maximum number of simultaneous user sessions' parameter to 10, re-synced my Media files and reset my iOS Jellyfin app completely before re-logging and loading up a song.

    My MP3s are still pausing as soon as I minimize the Jellyfin app or lock my phone. Do you think it could be a hardware limitation? I'm using an iPhone SE (2nd Gen) with iOS 18.1.1.
    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