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