How can I stop Opus audio files skipping when played from the SD card? I'm on LineageOS 14.1 (Android 7.1.2). When I play music off of my SD card using the built-in music player, it does fine with MP3 and AAC.

The real problem is when I play opus files. They are recognized by Android since I made their extension .ogg, but when I play them, they have random pauses and stutters during playback.

I've tested with the .ogg files in internal memory, and there are no skipping problems. On the other hand, there are no skipping problems with anything other than opus files on the external SD card.
I would exclude SD-related problems because other formats are played normally.

Have you tried to open them with a third-party android app like VLC media player? (It also natively supports .opus files)

By the way, I suggest you to rename them as .opus.ogg or use an Opus To Mp3 converter app like this to avoid any further problem.


  Android version 6.0 ("Marshmallow") is able to playback Opus audio >encapsulated in Ogg containers, but the filename extension .opus is not >recognized by built-in players.[48] As a workaround, simply renaming the files >to the double filename extension .opus.ogg allows them to be treated like other >supported audio formats and indexed by the media scanner service.
  (from Wikipedia)