Plex: Kleine Änderung an date & Option für "Dokus" hinzugefügt

This commit is contained in:
Akamaru 2016-09-11 20:28:30 +02:00
parent 95aa3049b8
commit 84e5c8d7db
1 changed files with 11 additions and 6 deletions

View File

@ -88,6 +88,9 @@ function plex:get_plex(query)
else
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
@ -135,17 +138,19 @@ function plex:get_plex(query)
end
if data.librarySectionTitle == 'Animes' then
text = title..from..studio..'\n<b>Ausstrahlung:</b> '..date..episodes..fsk..duration..rating..desc
text = title..from..studio..date1..episodes..fsk..duration..rating..desc
elseif data.librarySectionTitle == 'Cartoons' then
text = title..from..studio..'\n<b>Ausstrahlung:</b> '..date..episodes..fsk..duration..rating..desc
text = title..from..studio..date1..episodes..fsk..duration..rating..desc
elseif data.librarySectionTitle == 'Dokus' then
text = title..tag..origtitle..studio..date2..fsk..duration..rating..desc
elseif data.librarySectionTitle == 'Filme' then
text = title..tag..origtitle..studio..'\n<b>Veröffentlicht:</b> '..date..fsk..duration..rating..desc
text = title..tag..origtitle..studio..date2..fsk..duration..rating..desc
elseif data.librarySectionTitle == 'Musik' then
text = title..' von '..artist..'\n<b>Veröffentlicht:</b> '..date
text = title..' von '..artist..date2
elseif data.librarySectionTitle == 'Serien' then
text = title..from..studio..'\n<b>Ausstrahlung:</b> '..date..episodes..fsk..duration..rating..desc
text = title..from..studio..date1..episodes..fsk..duration..rating..desc
elseif data.librarySectionTitle == 'YouTube Serien' then
text = title..from..studio..'\n<b>Ausstrahlung:</b> '..date..episodes..fsk..duration..rating..desc
text = title..from..studio..date1..episodes..fsk..duration..rating..desc
end
if string.match(title, 'Local Network') then