Support playing local movie trailers (#36)

Adds support for playing local movie trailers. External trailers, such
as ones on YouTube, are not yet supported.

Also fixes a couple issues with request handlers
This commit is contained in:
damontecres 2025-10-19 00:15:45 -04:00 committed by GitHub
parent bb19ba316b
commit 63baf7f904
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 61 additions and 2 deletions

View file

@ -230,6 +230,7 @@ val GetResumeItemsRequestHandler =
request.copy(
startIndex = startIndex,
limit = limit,
enableTotalRecordCount = enableTotalRecordCount,
)
override suspend fun execute(
@ -249,6 +250,7 @@ val GetNextUpRequestHandler =
request.copy(
startIndex = startIndex,
limit = limit,
enableTotalRecordCount = enableTotalRecordCount,
)
override suspend fun execute(
@ -268,6 +270,7 @@ val GetSuggestionsRequestHandler =
request.copy(
startIndex = startIndex,
limit = limit,
enableTotalRecordCount = enableTotalRecordCount,
)
override suspend fun execute(
@ -306,6 +309,7 @@ val GetGenresRequestHandler =
request.copy(
startIndex = startIndex,
limit = limit,
enableTotalRecordCount = enableTotalRecordCount,
)
override suspend fun execute(

View file

@ -20,6 +20,7 @@ val supportItemKinds =
BaseItemKind.SEASON,
BaseItemKind.COLLECTION_FOLDER,
BaseItemKind.USER_VIEW,
BaseItemKind.TRAILER,
)
val supportedCollectionTypes =