diff --git a/channels/vvvvid.json b/channels/vvvvid.json index 416a6516..e1f33816 100644 --- a/channels/vvvvid.json +++ b/channels/vvvvid.json @@ -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": [] } \ No newline at end of file diff --git a/channels/vvvvid.py b/channels/vvvvid.py index 3cc1dee6..983fa91d 100644 --- a/channels/vvvvid.py +++ b/channels/vvvvid.py @@ -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: