From c291be513e8fc65414248b6cf23b9960c3207326 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Thu, 4 Feb 2016 15:54:13 +0100 Subject: [PATCH] =?UTF-8?q?Songtitel=20und=20Songartist=20bei=20openings?= =?UTF-8?q?=5Fmoe=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/openings_moe.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/openings_moe.lua b/plugins/openings_moe.lua index 0ca97d8..fcbc612 100644 --- a/plugins/openings_moe.lua +++ b/plugins/openings_moe.lua @@ -9,9 +9,12 @@ local function get_opening(opening) local number = data.title local title = data.source + local song_title = data.song.title + local song_artist = data.song.artist local url = 'http://openings.moe/video/'..data.filename - - local text = number..' von '..title..'\n'..url + + text = number..' aus '..title..'\n'..'Song: '..song_title..' von '..song_artist..'\n'..url + return text end @@ -25,7 +28,7 @@ end return { description = "Sendet Infos zu einem Opening", usage = "Openings.moe Link", - patterns = {"openings.moe/%?video=(.*).webm$"}, + patterns = {"openings.moe/%?video=(.*).webm"}, run = run }