-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Milestone
Description
I guess I found some useful information about this behavior because many people are suffering from this issue I posted at the end of this message where I think the solution is.
Actual behaviour
- When clicking on a media file in app (mp3, mp4, mov, etc.) the message 'The built-in media player is unable to play the media file' is displayed.
Expected behaviour
- You'd expect clicking a media file would play the file. Now you have to click on the three dots and select 'stream with' such that it will play with VLC. But you have to do this for all songs in the containing folder which is a bore. You can't listen to an album since you'd have to repeat these steps when a song finishes..
Steps to reproduce
- Open the app
- Browse to a media file
- Click on it to try to play the file.
Environment data
Android version:
Android 7.1.2
Stock or customized system:
Customized system
Nextcloud app version:
3.4.2
Nextcloud server version:
15.0.2
Logs
Web server error log
Nextcloud log (data/nextcloud.log)
2019/02/05 05:27:00
PreviewMediaFragment: onCreateView
2019/02/05 05:27:01
PreviewMediaFragment: onActivityCreated
2019/02/05 05:27:01
PreviewMediaFragment: onStart
2019/02/05 05:27:01
PreviewMediaFragment: Binding to MediaService...
2019/02/05 05:27:01
PreviewMediaFragment: onResume
2019/02/05 05:27:01
PreviewMediaFragment: Media service connected
2019/02/05 05:27:01
PreviewMediaFragment: starting playback of null
2019/02/05 05:27:01
MediaServiceBinder: Loading and starting through binder...
2019/02/05 05:27:01
PreviewMediaFragment: Successfully bound to MediaService, MediaController ready
2019/02/05 05:27:01
FileDisplayActivity: Media service connected
2019/02/05 05:27:01
OwnCloudClient #3: REQUEST POST /ocs/v2.php/apps/dav/api/v1/direct
2019/02/05 05:27:02
MediaService: Error in audio playback, what = -38, extra = 0
2019/02/05 05:27:03
PreviewMediaFragment: onPause
2019/02/05 05:27:03
PreviewMediaFragment: onStop
2019/02/05 05:27:03
PreviewMediaFragment: Unbinding from MediaService ...
2019/02/05 05:27:03
PreviewMediaFragment: onDestroy
2019/02/05 05:27:04
ExtendedListFragment: Setting selection to position: 0; top: 0; index: 2
I believe the main problem is the error
2019/02/05 05:27:02
MediaService: Error in audio playback, what = -38, extra = 0
I think below is some useful information to resolve this issue.
http://bighow.org/questions/21660098/android-mediaplayer-error-38-0-
https://stackoverflow.com/questions/9008770/media-player-called-in-state-0-error-38-0
g6094199, jcstaudt, HFranz, zj376879088, bn4t and 1 more