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
|
end
|
||||||
|
|
||||||
if data.parentTitle then
|
if data.parentTitle then
|
||||||
artist = '<b>'..data.parentTitle..'</b>'
|
artist = 'von <b>'..data.parentTitle..'</b>'
|
||||||
else
|
else
|
||||||
artist = ''
|
artist = ''
|
||||||
end
|
end
|
||||||
@ -83,14 +83,17 @@ function plex:get_plex(query)
|
|||||||
|
|
||||||
if data.originallyAvailableAt then
|
if data.originallyAvailableAt then
|
||||||
date = makeOurDate(data.originallyAvailableAt)
|
date = makeOurDate(data.originallyAvailableAt)
|
||||||
|
date1 = '\n<b>Ausstrahlung:</b> '..date
|
||||||
|
date2 = '\n<b>Veröffentlicht:</b> '..date
|
||||||
elseif data.year then
|
elseif data.year then
|
||||||
date = data.year
|
date = data.year
|
||||||
|
date1 = '\n<b>Ausstrahlung:</b> '..date
|
||||||
|
date2 = '\n<b>Veröffentlicht:</b> '..date
|
||||||
else
|
else
|
||||||
date = ''
|
date = ''
|
||||||
|
date1 = date
|
||||||
|
date2 = date
|
||||||
end
|
end
|
||||||
|
|
||||||
local date1 = '\n<b>Ausstrahlung:</b> '..date
|
|
||||||
local date2 = '\n<b>Veröffentlicht:</b> '..date
|
|
||||||
|
|
||||||
if data.leafCount then
|
if data.leafCount then
|
||||||
if data.leafCount > 1 then
|
if data.leafCount > 1 then
|
||||||
@ -146,7 +149,7 @@ function plex:get_plex(query)
|
|||||||
elseif data.librarySectionTitle == 'Filme' then
|
elseif data.librarySectionTitle == 'Filme' then
|
||||||
text = title..tag..origtitle..studio..date2..fsk..duration..rating..desc
|
text = title..tag..origtitle..studio..date2..fsk..duration..rating..desc
|
||||||
elseif data.librarySectionTitle == 'Musik' then
|
elseif data.librarySectionTitle == 'Musik' then
|
||||||
text = title..' von '..artist..date2
|
text = title..artist..date2
|
||||||
elseif data.librarySectionTitle == 'Serien' then
|
elseif data.librarySectionTitle == 'Serien' then
|
||||||
text = title..from..studio..date1..episodes..fsk..duration..rating..desc
|
text = title..from..studio..date1..episodes..fsk..duration..rating..desc
|
||||||
elseif data.librarySectionTitle == 'YouTube Serien' then
|
elseif data.librarySectionTitle == 'YouTube Serien' then
|
||||||
|
Reference in New Issue
Block a user