Moar Merge

This commit is contained in:
Andreas Bielawski 2016-08-18 13:19:30 +02:00
commit d457b39b06

View File

@ -110,7 +110,11 @@ function plex:get_plex(query)
end
if data.summary then
if string.len(data.summary) > 400 then
desc = '\n\n<i>'..string.sub(unescape(data.summary:gsub("%b<>", "")), 1, DESC_LENTH)..'...</i>'
else
desc = '\n\n<i>'..unescape(data.summary)..'</i>'
end
else
desc = ''
end
@ -121,7 +125,7 @@ function plex:get_plex(query)
pic = nil
end
local text = title..tag..from..origtitle..studio..date..episodes..fsk..duration..rating..desc..'\n'
local text = title..tag..from..origtitle..studio..date..episodes..fsk..duration..rating..desc
return text, pic
end