Instagram: Pattern-Fix
Plex: Studio-Fix
This commit is contained in:
Akamaru 2016-12-24 23:52:30 +01:00
parent d3afbdb057
commit 5fd3fb6aba
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@ local instagram = {}
function instagram:init(config) function instagram:init(config)
instagram.triggers = { instagram.triggers = {
"https?://www.instagram.com/p/(.*)" "instagram.com/p/(.*)"
} }
end end

View File

@ -79,7 +79,11 @@ function plex:get_plex(query)
end end
if data.studio then if data.studio then
studio = '\n<b>Studio:</b> '..data.studio if string.match(data.studio, "None found, add some") then
studio = ''
else
studio = '\n<b>Studio:</b> '..data.studio
end
else else
studio = '' studio = ''
end end