Add basic music video support (#948)

## Description
Just enables showing and playing music videos as if they were regular
videos. Basic metadata is shown as well.

Navigation isn't great because a music video library goes by folders
which don't necessary have the best UI choices.

### Related issues
Related to #267 

### Testing
Checked playback on the emulator

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Ray 2026-02-21 15:30:16 -05:00 committed by GitHub
parent 55b148971e
commit cc052453a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -121,7 +121,9 @@ fun DestinationContent(
) )
} }
BaseItemKind.VIDEO -> { BaseItemKind.VIDEO,
BaseItemKind.MUSIC_VIDEO,
-> {
// TODO Use VideoDetails // TODO Use VideoDetails
MovieDetails( MovieDetails(
preferences, preferences,

View file

@ -9,6 +9,7 @@ val supportItemKinds =
BaseItemKind.EPISODE, BaseItemKind.EPISODE,
BaseItemKind.SERIES, BaseItemKind.SERIES,
BaseItemKind.VIDEO, BaseItemKind.VIDEO,
BaseItemKind.MUSIC_VIDEO,
BaseItemKind.SEASON, BaseItemKind.SEASON,
BaseItemKind.COLLECTION_FOLDER, BaseItemKind.COLLECTION_FOLDER,
BaseItemKind.FOLDER, BaseItemKind.FOLDER,
@ -47,6 +48,7 @@ val supportedPlayableTypes =
BaseItemKind.MOVIE, BaseItemKind.MOVIE,
BaseItemKind.EPISODE, BaseItemKind.EPISODE,
BaseItemKind.VIDEO, BaseItemKind.VIDEO,
BaseItemKind.MUSIC_VIDEO,
BaseItemKind.TV_CHANNEL, BaseItemKind.TV_CHANNEL,
BaseItemKind.TV_PROGRAM, BaseItemKind.TV_PROGRAM,
BaseItemKind.RECORDING, BaseItemKind.RECORDING,