maybe a flash player like this(only 10k) with .m3u suport, or rejetto could add the funtion to the hfs to generate also the XSPF playlist that is the only supported streaming playlist of every free flash mp3 player that i found,
how is this format?
anyway, i guess you could already generate such playlist using the filelist.tpl file. it should be documented on the wiki.
i guess that i am too stupid to figure out how to do this, but how can i make the filelist.tpl affect the kind of file that i am generating?
im trying to generate some special files like a feed(xml) and xpsf, maybe some wml but i guess that one solutions afects another, if i change de generated file list to make the hfs auto generate a feed
using this code on the filelist.tpl
%files%
[files]
<?xml version="1.0" encoding="windows-1252"?>
<rss version="2.0">
<channel>
<title>HFS Feed - %encoded-folder%</title>
<description>feed for the hfs on the %host% Server</description>
<link>http://%host%</link>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<pubDate>Mon, 23 Oct 2006 22:31:10 -0300</pubDate>
<generator>pspad (by hand)</generator>
%list%
</channel>
</rss>
[file]
<item>
<title>%item-name%</title>
<description>%item-name% - %item-comment%</description>
<link>http://%host%%encoded-folder%%item-url%</link>
<pubDate>Mon, 23 Oct 2006 22:30:15 -0300</pubDate>
</item>
[folder]
<item>
<title>%item-name%</title>
<description>%item-name% - %item-comment%</description>
<link>http://%encoded-folder%%item-url%</link>
<pubDate>Mon, 23 Oct 2006 22:30:15 -0300</pubDate>
</item>
the feed will be auto generated by the hfs, any other command/solution that use the url command "
http://localhost/~files.lst" will be broked, becouse it change the m3u file that i used on the embeded media player...
rejetto, is there any solution? maybe a suport to creation of other kind of files or something like this:
if i want to generate the m3u i do this "
http://localhost:3333/~files.lst.m3u" right?
when somenone browse this link the hfs would based himself in a file called "filelist.m3u" or even using the "filelist.tpl" but witha reference to the kind of call inside it....
can this be ever done?
1 - put the file on the same folder of the hfs, then after doing this, start the hfs software(i dont know other way to make the hfs read this file)
2 - i changed the name of the hyperlink as you can see here and add another link to file list only and not the recursive list. Also, i added some files to test(anime movies)
3 - this is only to show to you all that again the filename is something to take care, some filenames can make a mp3 unplayable(remember my case with flash player?) and some make invalidate the feed generated....but this would serve us well, it will work, at least on the software that i used to read the feed(SharpReader0970)
4 - this is a sample of the feed generated by the recursive link
5 - this is a sample of the feed generated by the feed link, not the recursive one
well, besides some issues, i found this is useful, well at least to me, and open my mind to work it out some other possibilites...hehhe
and yet about the feed, this feed is fully worked, it can be subscribed and the hfs recieve the request and serve it well(at least if the folder that generated it still exist)...