Paar kleine Fixes für Plex
This commit is contained in:
parent
0de17d3bba
commit
8098f05b6a
@ -58,7 +58,7 @@ function plex:get_plex(query)
|
||||
end
|
||||
|
||||
if data.parentTitle then
|
||||
artist = '<b>'..data.parentTitle..'</b>'
|
||||
artist = 'von <b>'..data.parentTitle..'</b>'
|
||||
else
|
||||
artist = ''
|
||||
end
|
||||
@ -83,15 +83,18 @@ function plex:get_plex(query)
|
||||
|
||||
if data.originallyAvailableAt then
|
||||
date = makeOurDate(data.originallyAvailableAt)
|
||||
date1 = '\n<b>Ausstrahlung:</b> '..date
|
||||
date2 = '\n<b>Veröffentlicht:</b> '..date
|
||||
elseif data.year then
|
||||
date = data.year
|
||||
date1 = '\n<b>Ausstrahlung:</b> '..date
|
||||
date2 = '\n<b>Veröffentlicht:</b> '..date
|
||||
else
|
||||
date = ''
|
||||
date1 = date
|
||||
date2 = date
|
||||
end
|
||||
|
||||
local date1 = '\n<b>Ausstrahlung:</b> '..date
|
||||
local date2 = '\n<b>Veröffentlicht:</b> '..date
|
||||
|
||||
if data.leafCount then
|
||||
if data.leafCount > 1 then
|
||||
episodes = ' ('..data.leafCount..' Episoden) '
|
||||
@ -146,7 +149,7 @@ function plex:get_plex(query)
|
||||
elseif data.librarySectionTitle == 'Filme' then
|
||||
text = title..tag..origtitle..studio..date2..fsk..duration..rating..desc
|
||||
elseif data.librarySectionTitle == 'Musik' then
|
||||
text = title..' von '..artist..date2
|
||||
text = title..artist..date2
|
||||
elseif data.librarySectionTitle == 'Serien' then
|
||||
text = title..from..studio..date1..episodes..fsk..duration..rating..desc
|
||||
elseif data.librarySectionTitle == 'YouTube Serien' then
|
||||
|
Reference in New Issue
Block a user