tweak stuff
This commit is contained in:
parent
ea3ff90349
commit
c2577ad3dc
@ -138,7 +138,7 @@ end
|
||||
utils['rss_latest'] = function( path )
|
||||
local latest_path, latest_name, latest_size, latest_date = {}, {}, {}, {}
|
||||
|
||||
for i, file_path in ipairs( utils.latest_files( path ) ) do
|
||||
for i, file_path in ipairs( utils.latest_audio( path ) ) do
|
||||
local popen = io.popen
|
||||
|
||||
-- get the size of the file
|
||||
|
||||
@ -9,7 +9,9 @@
|
||||
<language>en-us</language>
|
||||
<itunes:author>Intergalactic FM</itunes:author>
|
||||
<description>Latest uploads</description>
|
||||
<itunes:explicit>no</itunes:explicit>
|
||||
<itunes:explicit>false</itunes:explicit>
|
||||
<itunes:category>Music</itunes:category>
|
||||
<itunes:image>https://intergalactic.fm/themes/custom/ifm/logo.svg</itunes:image>
|
||||
|
||||
<% for i, file in ipairs(latestpath) do %>
|
||||
<item>
|
||||
@ -18,6 +20,7 @@
|
||||
<guid><%= datapath .. file %></guid>
|
||||
<pubDate><%= latestdate[i] %></pubDate>
|
||||
<description><![CDATA[<%= latestname[i] %>]]></description>
|
||||
<itunes:explicit>false</itunes:explicit>
|
||||
</item>
|
||||
<% end %>
|
||||
</channel>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user