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 }