Fix für doppelten Alternativnamen beim TVDB Plugin
This commit is contained in:
parent
683a128720
commit
a1afe7b4f2
@ -26,8 +26,8 @@ local function send_tv_data(result, receiver)
|
|||||||
local title = xml.find(result, 'SeriesName')[1]
|
local title = xml.find(result, 'SeriesName')[1]
|
||||||
local id = xml.find(result, 'seriesid')[1]
|
local id = xml.find(result, 'seriesid')[1]
|
||||||
|
|
||||||
if xml.find(result, 'AliasNames') then
|
if xml.find(result, 'AliasNames') and xml.find(result, 'AliasNames')[1] ~= title then
|
||||||
alias = '\noder: '..xml.find(result, 'AliasNames')[1]
|
alias = '\nAlternativ: '..xml.find(result, 'AliasNames')[1]
|
||||||
else
|
else
|
||||||
alias = ''
|
alias = ''
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user