Start- und Enddatum Ausgabe geändert
This commit is contained in:
parent
33ef0ec3c0
commit
2619e0c243
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,4 +9,5 @@ plugins/help2.lua
|
||||
plugins/pegelf_img.lua
|
||||
plugins/chantalle.lua
|
||||
plugins/wiiu.lua
|
||||
plugins/plex_test.lua
|
||||
plugins/plex_test.lua
|
||||
plugins/gravatar.lua
|
@ -14,14 +14,14 @@ local function search_kicker(tag)
|
||||
local pledged = comma_value(string.gsub(data.pledged, "%.(.*)", ""))
|
||||
local goal = comma_value(data.goal)
|
||||
local currency = data.currency_symbol
|
||||
local created = run_command('date -d @'..data.launched_at..' +%d.%m.%Y')
|
||||
local created = string.gsub(run_command('date -d @'..data.launched_at..' +%d.%m.%Y'), '%\n', '')
|
||||
local ending = run_command('date -d @'..data.deadline..' +%d.%m.%Y')
|
||||
local url = data.urls.web.project
|
||||
if data.photo.full then
|
||||
image_url = data.photo.full
|
||||
end
|
||||
|
||||
local text = title..' von '..from..' ('..country..')\n'..pledged..currency..' von '..goal..currency..' erreicht\n'..'Erstellt am '..created..'Endet am '..ending..'\n'..desc..'\n'..url
|
||||
local text = title..' von '..from..' ('..country..')\n'..pledged..currency..' von '..goal..currency..' erreicht\n'..'Läuft von '..created..' bis '..ending..'\n'..desc..'\n'..url
|
||||
|
||||
if data.photo.full then
|
||||
return text, image_url
|
||||
|
@ -29,6 +29,12 @@ local data = json:decode(table.concat(response_body))._children[1]
|
||||
|
||||
local title = data.title
|
||||
|
||||
if data.tagline then
|
||||
tag = '\n"'..data.tagline..'"'
|
||||
else
|
||||
tag = ''
|
||||
end
|
||||
|
||||
if data.parentIndex then
|
||||
season = 'S'..convertNumbers(data.parentIndex)
|
||||
else
|
||||
@ -101,7 +107,7 @@ local data = json:decode(table.concat(response_body))._children[1]
|
||||
pic = baseurl..data.thumb
|
||||
end
|
||||
|
||||
local text = title..from..origtitle..studio..date..episodes..fsk..duration..rating..desc..'\n'
|
||||
local text = title..tag..from..origtitle..studio..date..episodes..fsk..duration..rating..desc..'\n'
|
||||
|
||||
|
||||
if data.thumb then
|
||||
|
Reference in New Issue
Block a user