remove adult in favour of NSFW tvtype

This commit is contained in:
Cloudburst 2022-08-14 16:43:03 +02:00 committed by GitHub
parent 3f52802264
commit 7b7ba11001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View file

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

View file

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

View file

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