From 8098f05b6a33e5c0b670a634cf3ef5a2cea46685 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Thu, 15 Sep 2016 15:35:08 +0200 Subject: [PATCH] =?UTF-8?q?Paar=20kleine=20Fixes=20f=C3=BCr=20Plex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miku/plugins/plex.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/miku/plugins/plex.lua b/miku/plugins/plex.lua index 8d7dac2..f654300 100644 --- a/miku/plugins/plex.lua +++ b/miku/plugins/plex.lua @@ -58,7 +58,7 @@ function plex:get_plex(query) end if data.parentTitle then - artist = ''..data.parentTitle..'' + artist = 'von '..data.parentTitle..'' else artist = '' end @@ -83,14 +83,17 @@ function plex:get_plex(query) if data.originallyAvailableAt then date = makeOurDate(data.originallyAvailableAt) + date1 = '\nAusstrahlung: '..date + date2 = '\nVeröffentlicht: '..date elseif data.year then date = data.year + date1 = '\nAusstrahlung: '..date + date2 = '\nVeröffentlicht: '..date else date = '' + date1 = date + date2 = date end - - local date1 = '\nAusstrahlung: '..date - local date2 = '\nVeröffentlicht: '..date if data.leafCount then if data.leafCount > 1 then @@ -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