Figuya: Fix für Thumbnail

Plex: Hotfix
This commit is contained in:
Akamaru 2017-10-30 17:06:34 +01:00
parent 71b28e4ff0
commit 8a84a228ce
2 changed files with 2 additions and 2 deletions

View File

@ -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 = '<b>'..title..'</b>\n<i>'..desc..'</i>'..'<a href="'..pic..'"> </a>'
return text

View File

@ -135,7 +135,7 @@ function plex:get_plex(query)
rating = ''
end
if data.Genre[1] then
if data.Genre then
genre = '\n<b>Genre:</b> '..data.Genre[1].tag
else
genre = ''