Moar Merge
This commit is contained in:
commit
d457b39b06
@ -110,7 +110,11 @@ function plex:get_plex(query)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if data.summary then
|
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>'
|
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
|
else
|
||||||
desc = ''
|
desc = ''
|
||||||
end
|
end
|
||||||
@ -121,7 +125,7 @@ function plex:get_plex(query)
|
|||||||
pic = nil
|
pic = nil
|
||||||
end
|
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
|
return text, pic
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user