mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
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:
parent
bb19ba316b
commit
63baf7f904
6 changed files with 61 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ val supportItemKinds =
|
|||
BaseItemKind.SEASON,
|
||||
BaseItemKind.COLLECTION_FOLDER,
|
||||
BaseItemKind.USER_VIEW,
|
||||
BaseItemKind.TRAILER,
|
||||
)
|
||||
|
||||
val supportedCollectionTypes =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue