VVVVID Thumbs & Settings

This commit is contained in:
Alhaziel
2019-10-07 11:19:15 +02:00
parent 26a29c0bbf
commit 259cbff6cf
2 changed files with 17 additions and 2 deletions

View File

@@ -4,8 +4,8 @@
"active": true,
"adult": false,
"language": ["ita","vos"],
"thumbnail": "",
"bannermenu": "",
"thumbnail": "vvvvid.png",
"banner": "vvvvid.png",
"categories": ["anime","tvshow","movie","vos"],
"settings": []
}

View File

@@ -74,6 +74,21 @@ def search(item, text):
itemlist = peliculas(item)
return itemlist
def newest(categoria):
item = Item()
item.args = 'channel/10007/last/'
if categoria == 'peliculas':
item.contentType = 'movie'
item.url = host + 'film/'
if categoria == 'series':
item.contentType = 'tvshow'
item.url = host + 'series/'
if categoria == 'anime':
item.contentType = 'tvshow'
item.url = host + 'anime/'
return peliculas(item)
def peliculas(item):
itemlist = []
if not item.args: