sradicato supporto ai canali per adulti

This commit is contained in:
marco
2020-04-22 20:53:50 +02:00
parent 73079d7989
commit 8bd67a6cd8
280 changed files with 38 additions and 13026 deletions
-1
View File
@@ -2,7 +2,6 @@
"id": "community",
"name": "Community",
"active": true,
"adult": false,
"language": ["*"],
"thumbnail": "",
"banner": "",
-1
View File
@@ -2,7 +2,6 @@
"id": "downloads",
"name": "Descargas",
"active": false,
"adult": false,
"language": ["*"],
"categories": [
"movie"
-1
View File
@@ -3,7 +3,6 @@
"name": "Film in tv",
"language": ["ita"],
"active": false,
"adult": false,
"thumbnail": null,
"banner": null,
"categories": [],
-1
View File
@@ -2,6 +2,5 @@
"id": "help",
"name": "Ayuda",
"active": false,
"adult": false,
"language": ["*"]
}
-1
View File
@@ -2,7 +2,6 @@
"id": "news",
"name": "Novedades",
"active": false,
"adult": false,
"language": ["*"],
"categories": [
"movie"
-8
View File
@@ -155,10 +155,6 @@ def get_channels_list():
if not channel_parameters["active"]:
continue
# No incluir si es un canal para adultos, y el modo adulto está desactivado
if channel_parameters["adult"] and config.get_setting("adult_mode") == 0:
continue
# No incluir si el canal es en un idioma filtrado
if channel_language != "all" and channel_language not in str(channel_parameters["language"]) \
and "*" not in channel_parameters["language"]:
@@ -630,10 +626,6 @@ def setting_channel(item):
if not channel_parameters["active"]:
continue
# No incluir si es un canal para adultos, y el modo adulto está desactivado
if channel_parameters["adult"] and config.get_setting("adult_mode") == 0:
continue
# No incluir si el canal es en un idioma filtrado
if channel_language != "all" and channel_language not in str(channel_parameters["language"]) \
and "*" not in channel_parameters["language"]:
-1
View File
@@ -2,7 +2,6 @@
"id": "search",
"name": "search",
"active": false,
"adult": false,
"thumbnail": "",
"banner": "",
"categories": [],
-2
View File
@@ -419,8 +419,6 @@ def setting_channel_new(item):
presel_values = ['skip', 'actual', 'all', 'none']
categs = ['movie', 'tvshow', 'documentary', 'anime', 'vos', 'direct', 'torrent']
if config.get_setting('adult_mode') > 0:
categs.append('adult')
for c in categs:
preselecciones.append(config.get_localized_string(70577) + config.get_localized_category(c))
presel_values.append(c)
-1
View File
@@ -2,7 +2,6 @@
"id": "tvmoviedb",
"name": "TvMovieDB",
"active": false,
"adult": false,
"language": ["*"],
"thumbnail": "http://i.imgur.com/HA7fvgD.png",
"categories": [
-1
View File
@@ -2,7 +2,6 @@
"id": "url",
"name": "URL",
"active": false,
"adult": false,
"thumbnail": "url.png",
"banner": "url.png"
}
-1
View File
@@ -2,7 +2,6 @@
"id": "videolibrary",
"name": "Videoteca",
"active": false,
"adult": false,
"language": ["*"],
"settings": [
{