Compare commits

..

2 commits

Author SHA1 Message Date
Cloudburst
7b7ba11001
remove adult in favour of NSFW tvtype 2022-08-14 16:43:03 +02:00
Cloudburst
3f52802264
add tv types 2022-08-14 14:50:52 +02:00
3 changed files with 4 additions and 4 deletions

View file

@ -41,9 +41,9 @@ abstract class CloudstreamExtension @Inject constructor(project: Project) {
var requiresResources = false
var description: String? = null
var authors = listOf<String>()
var adult = false
var status = 3
var language: String? = null
var tvTypes: List<String>? = null
var iconUrl: String? = null
}

View file

@ -44,9 +44,9 @@ fun Project.makePluginEntry(): PluginEntry {
authors = extension.authors,
description = extension.description,
repositoryUrl = (if (repo == null) null else repo.url),
adult = extension.adult,
language = extension.language,
iconUrl = extension.iconUrl,
apiVersion = extension.apiVersion
apiVersion = extension.apiVersion,
tvTypes = extension.tvTypes
)
}

View file

@ -9,8 +9,8 @@ data class PluginEntry(
val authors: List<String>,
val description: String?,
val repositoryUrl: String?,
val adult: Boolean,
val language: String?,
val tvTypes: List<String>?,
val iconUrl: String?,
val apiVersion: Int
)