mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-17 07:21:58 +00:00
add more monetization types for watch provider queries
This commit is contained in:
parent
47b81ae51c
commit
87d325bdac
1 changed files with 1 additions and 1 deletions
|
|
@ -328,7 +328,7 @@ object TmdbCollectionSourceResolver {
|
||||||
if (!filters.withWatchProviders.isNullOrBlank()) {
|
if (!filters.withWatchProviders.isNullOrBlank()) {
|
||||||
put("with_watch_providers", filters.withWatchProviders)
|
put("with_watch_providers", filters.withWatchProviders)
|
||||||
put("watch_region", filters.watchRegion?.takeIf { it.isNotBlank() } ?: "US")
|
put("watch_region", filters.watchRegion?.takeIf { it.isNotBlank() } ?: "US")
|
||||||
put("with_watch_monetization_types", "flatrate")
|
put("with_watch_monetization_types", "flatrate|free|ads|rent|buy")
|
||||||
}
|
}
|
||||||
putIfNotBlank("year", filters.year?.takeIf { mediaType == TmdbCollectionMediaType.MOVIE }?.toString())
|
putIfNotBlank("year", filters.year?.takeIf { mediaType == TmdbCollectionMediaType.MOVIE }?.toString())
|
||||||
putIfNotBlank("first_air_date_year", filters.year?.takeIf { mediaType == TmdbCollectionMediaType.TV }?.toString())
|
putIfNotBlank("first_air_date_year", filters.year?.takeIf { mediaType == TmdbCollectionMediaType.TV }?.toString())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue