Skip to content

[BUG] Audio player does not work #4474

Closed

Description

@jesmrec

Steps to reproduce

Play any audio file

Actual behaviour

Unexpected error trying to play...

i caught the following stacktrace:

E: IllegalStateException user1@<server>/<filename> (Ask Gemini)
                 android.app.MissingForegroundServiceTypeException: Starting FGS without a type  callerApp=ProcessRecord{1ebcada 29147:com.owncloud.android.debug/u0a202} targetSDK=34
                 	at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:53)
                 	at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:49)
                 	at android.os.Parcel.readParcelableInternal(Parcel.java:4870)
                 	at android.os.Parcel.readParcelable(Parcel.java:4852)
                 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3052)
                 	at android.os.Parcel.createException(Parcel.java:3041)
                 	at android.os.Parcel.readException(Parcel.java:3024)
                 	at android.os.Parcel.readException(Parcel.java:2966)
                 	at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7280)
                 	at android.app.Service.startForeground(Service.java:775)
                 	at com.owncloud.android.media.MediaService.setUpAsForeground(MediaService.java:626)
                 	at com.owncloud.android.media.MediaService.playMedia(MediaService.java:484)
                 	at com.owncloud.android.media.MediaService.processPlayFileRequest(MediaService.java:299)
                 	at com.owncloud.android.media.MediaService.onStartCommand(MediaService.java:267)
                 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5053)
                 	at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
                 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
                 	at android.os.Handler.dispatchMessage(Handler.java:106)
                 	at android.os.Looper.loopOnce(Looper.java:224)
                 	at android.os.Looper.loop(Looper.java:318)
                 	at android.app.ActivityThread.main(ActivityThread.java:8763)
                 	at java.lang.reflect.Method.invoke(Native Method)
                 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
                 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

Expected behaviour

File played

Reproduced in the current stable 4.3.1 with Android 14

Activity

  1. self-assigned this
    on Sep 23, 2024
  2. jesmrec commented on Sep 24, 2024

    @jesmrec
    MemberAuthor

    Checking with different Android versions:

    9 -> not reproducible
    10 -> not reproducible
    11 -> not reproducible
    12 -> not reproducible
    13 -> not reproducible
    14 -> reproducible

  3. added this to the 4.4 - Current milestone on Sep 24, 2024
  4. linked a pull request that will close this issue[FIX] Audio player does not work #4479on Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions