From 8a84a228ce47d053ab357d857cf289475145416d Mon Sep 17 00:00:00 2001 From: Akamaru Date: Mon, 30 Oct 2017 17:06:34 +0100 Subject: [PATCH] =?UTF-8?q?Figuya:=20Fix=20f=C3=BCr=20Thumbnail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plex: Hotfix --- miku/plugins/figuya.lua | 2 +- miku/plugins/plex.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/miku/plugins/figuya.lua b/miku/plugins/figuya.lua index 8992870..28d000e 100644 --- a/miku/plugins/figuya.lua +++ b/miku/plugins/figuya.lua @@ -17,7 +17,7 @@ function figuya:get_figuya(figu) else desc = unescape(data.description)..'.' end - local pic = data.thumbnail_url + local pic = 'https://anditest.perseus.uberspace.de/img.php?url='..data.thumbnail_url local text = ''..title..'\n'..desc..''..' ' return text diff --git a/miku/plugins/plex.lua b/miku/plugins/plex.lua index 729b3b0..27c03b6 100644 --- a/miku/plugins/plex.lua +++ b/miku/plugins/plex.lua @@ -135,7 +135,7 @@ function plex:get_plex(query) rating = '' end - if data.Genre[1] then + if data.Genre then genre = '\nGenre: '..data.Genre[1].tag else genre = ''