Rimossi settaggi superflui da Aniplay

This commit is contained in:
Alhaziel01
2021-07-01 09:23:37 +02:00
parent 1b2782a976
commit e728947a6e
2 changed files with 4 additions and 79 deletions
-77
View File
@@ -32,83 +32,6 @@
"enabled": true,
"visible": true,
"lvalues": ["10", "20", "30", "40", "50", "60", "80", "90"]
},
{
"id": "include_in_global_search",
"type": "bool",
"label": "@70728",
"default": false,
"enabled": false,
"visible": false
},
{
"id": "include_in_newest_peliculas",
"type": "bool",
"label": "@70727",
"default": false,
"enabled": false,
"visible": false
},
{
"id": "include_in_newest_series",
"type": "bool",
"label": "@70727",
"default": false,
"enabled": false,
"visible": false
},
{
"id": "include_in_newest_anime",
"type": "bool",
"label": "@70727",
"default": false,
"enabled": false,
"visible": false
},
{
"id": "checklinks",
"type": "bool",
"label": "Verifica se i link esistono",
"default": false,
"enabled": false,
"visible": false
},
{
"id": "checklinks_number",
"type": "list",
"label": "Numero di link da verificare",
"default": 2,
"enabled": false,
"visible": "eq(-1,false)",
"lvalues": [ "3", "5", "10", "15", "20" ]
},
{
"id": "filter_languages",
"type": "list",
"label": "@30019",
"default": 0,
"enabled": false,
"visible": false,
"lvalues": ["Non Filtrare"]
}
],
"renumber": [
{
"id": "autorenumber",
"type": "bool",
"label": "@70712",
"default": false,
"enabled": false,
"visible": false
},
{
"id": "autorenumber_mode",
"type": "bool",
"label": "@70688",
"default": false,
"enabled": false,
"visible": "eq(-1,false)"
}
]
}
+4 -2
View File
@@ -150,7 +150,7 @@ class Item(object):
for k in kw:
if k in ["contentTitle", "contentPlot", "contentSerieName", "show", "contentType", "contentEpisodeTitle",
"contentSeason", "contentEpisodeNumber", "contentThumbnail", "plot", "duration", "contentQuality",
"quality"]:
"quality", "year"]:
self.__setattr__(k, kw[k])
del kwargs[k]
@@ -180,7 +180,7 @@ class Item(object):
# By modifying any of these attributes content...
if name in ["contentTitle", "contentPlot", "plot", "contentSerieName", "contentType", "contentEpisodeTitle",
"contentSeason", "contentEpisodeNumber", "contentThumbnail", "show", "contentQuality", "quality"]:
"contentSeason", "contentEpisodeNumber", "contentThumbnail", "show", "contentQuality", "quality", "year"]:
# ...and update infoLables
if name == "contentTitle":
self.__dict__["infoLabels"]["title"] = value
@@ -200,6 +200,8 @@ class Item(object):
self.__dict__["infoLabels"]["thumbnail"] = value
elif name == "contentQuality" or name == "quality":
self.__dict__["infoLabels"]["quality"] = value
elif name == "year":
self.__dict__["infoLabels"]["year"] = value
elif name == "duration":
# String q represents the duration of the video in seconds