diff --git a/miku/plugins/plex.lua b/miku/plugins/plex.lua index ae85837..8d7dac2 100644 --- a/miku/plugins/plex.lua +++ b/miku/plugins/plex.lua @@ -88,6 +88,9 @@ function plex:get_plex(query) else date = '' end + + local date1 = '\nAusstrahlung: '..date + local date2 = '\nVeröffentlicht: '..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..'\nAusstrahlung: '..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..'\nAusstrahlung: '..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..'\nVeröffentlicht: '..date..fsk..duration..rating..desc + text = title..tag..origtitle..studio..date2..fsk..duration..rating..desc elseif data.librarySectionTitle == 'Musik' then - text = title..' von '..artist..'\nVeröffentlicht: '..date + text = title..' von '..artist..date2 elseif data.librarySectionTitle == 'Serien' then - text = title..from..studio..'\nAusstrahlung: '..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..'\nAusstrahlung: '..date..episodes..fsk..duration..rating..desc + text = title..from..studio..date1..episodes..fsk..duration..rating..desc end if string.match(title, 'Local Network') then