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 id = xml.find(result, 'seriesid')[1]
|
||||
|
||||
if xml.find(result, 'AliasNames') then
|
||||
alias = '\noder: '..xml.find(result, 'AliasNames')[1]
|
||||
if xml.find(result, 'AliasNames') and xml.find(result, 'AliasNames')[1] ~= title then
|
||||
alias = '\nAlternativ: '..xml.find(result, 'AliasNames')[1]
|
||||
else
|
||||
alias = ''
|
||||
end
|
||||
|
Reference in New Issue
Block a user