Episodenanzahl und Spiellänge zum Plex Plugin hinzugefügt
This commit is contained in:
parent
5a990bf663
commit
33ef0ec3c0
@ -61,16 +61,30 @@ local data = json:decode(table.concat(response_body))._children[1]
|
||||
|
||||
if data.originallyAvailableAt then
|
||||
date = '\nAusstrahlung: '..makeOurDate(data.originallyAvailableAt)
|
||||
elseif data.year then
|
||||
date = '\nAusstrahlung: '..data.year
|
||||
else
|
||||
date = ''
|
||||
end
|
||||
|
||||
if data.leafCount then
|
||||
episodes = ' ('..data.leafCount..' Episoden) '
|
||||
else
|
||||
episodes = ''
|
||||
end
|
||||
|
||||
if data.contentRating then
|
||||
fsk = '\nAltersfreigabe: '..gerRating(data.contentRating)
|
||||
else
|
||||
fsk = ''
|
||||
end
|
||||
|
||||
if data.duration then
|
||||
duration = '\nLänge: '..formatMilliseconds(data.duration)
|
||||
else
|
||||
duration = ''
|
||||
end
|
||||
|
||||
if data.rating then
|
||||
rating = '\nBewertung: '..data.rating
|
||||
else
|
||||
@ -87,7 +101,7 @@ local data = json:decode(table.concat(response_body))._children[1]
|
||||
pic = baseurl..data.thumb
|
||||
end
|
||||
|
||||
local text = title..from..origtitle..studio..date..fsk..rating..desc..'\n'
|
||||
local text = title..from..origtitle..studio..date..episodes..fsk..duration..rating..desc..'\n'
|
||||
|
||||
|
||||
if data.thumb then
|
||||
|
Reference in New Issue
Block a user