Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fallthrough to media3 MimeTypes in codec->mime type mapping #3410

Merged

Conversation

nielsvanvelzen
Copy link
Member

Changes

Add fall through to media3's MimeType getters when our own mapping does not have a specific codec. This also adds an (empty) implementation for video codecs.

Issues

part of #1057

@nielsvanvelzen nielsvanvelzen added enhancement New feature or request playback Issue related to media playback labels Feb 27, 2024
@nielsvanvelzen nielsvanvelzen added this to the v0.17.0 milestone Feb 27, 2024
}

val ffmpegVideoMimeTypes = mapOf<String, String>(
// TODO: Add map

Check warning

Code scanning / detekt

Flags a forbidden comment. Warning

Forbidden TODO todo marker in comment, please do the changes.
@nielsvanvelzen nielsvanvelzen merged commit 3ad5375 into jellyfin:master Feb 27, 2024
5 checks passed
@nielsvanvelzen nielsvanvelzen deleted the playback-mapping-fallthrough branch February 27, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request playback Issue related to media playback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants