LeoKlaus / plappa

An Audiobook client for Jellyfin and AudioBookShelf, written in Swift/SwiftUI.
https://plappa.me
237 stars 1 forks source link

[Feature Request] Please add the .opus extension support! #199

Closed spartan15 closed 1 month ago

spartan15 commented 1 month ago

Hi! When I try to play an opus file in plappa from my Jellyfin server, it doesn't start. It would be nice to have the opus support.

Thank you!

ebb-earl-co commented 1 month ago

@spartan15 if you take a look at the Jellyfin audio compatibility, you’ll see that iOS doesn’t support OPUS audio except for .caf files.

It is certainly possible for @LeoKlaus to implement a workaround, but I expect that to be a big lift…

LeoKlaus commented 1 month ago

Hey spartan15, thank you for reaching out!

As @ebb-earl-co noted, OGG sadly isn’t supported in iOSs native AVPlayer (as discussed in #170) and I don’t plan to ever switch to a third party framework for handling audio.

This pretty much means that most .opus files will not play in plappa. The simplest workaround is to re-encode these files to a more broadly supported format like MP3 or M4B.