<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">you can use LuaFileSystem<br>
<a class="moz-txt-link-freetext" href="http://keplerproject.github.com/luafilesystem/">http://keplerproject.github.com/luafilesystem/</a><br>
On 7/3/2012 5:48 PM, Michael Collins wrote:<br>
</div>
<blockquote
cite="mid:CAKzWOxWkExuxKnvzJfc8ib_eaUcQis8USnGnW=SvV0AviMAvEA@mail.gmail.com"
type="cite">You'll have a challenge here because natively Lua has
no directory commands. I have never tried reading in the results
of a system call into a Lua table, but it might be possible. I'd
ask on #Lua or check Lua docs to see if such a thing is even
possible. Once you have the files in a table then you could do the
next/prev/first/last/repeat thing. <br>
<br>
-MC<br>
<br>
<div class="gmail_quote">On Tue, Jul 3, 2012 at 8:58 AM, Thomas
Hoellriegel <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:admin@blindi.net" target="_blank">admin@blindi.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi guys,<br>
I have many potcast mp3 files in a directory:<br>
/home/postcast<br>
the files beginning with:<br>
postcast_year_mon_day_hour_minutes_.mp3<br>
I like to create a playlist in lua:<br>
1. read all files, and make a messagecount.<br>
2. generate a menu to use from phone:<br>
<br>
press 1 for the next postcast.<br>
2, To repeate the postcast<br>
3. to go to the prev potcast<br>
4 for the fist potcast<br>
5 for the last potcast<br>
6 to hear the date an time for these.<br>
<br>
I like to sort, firt in first out.<br>
<br>
I don.t find a command in lua:<br>
to read the filelist,<br>
to generate a filecount.<br>
and to generate a navigation keys:<br>
forward, backward, repeate and say the time and date of the
current file.<br>
<br>
Can your help please?<br>
<br>
nice thanks to all.<br>
<br>
<br>
<br>
<br>
---------------<br>
Du kannst mich jederzeit kostenlos per Festnetz erreichen
unter:<br>
<a moz-do-not-send="true"
href="http://www.blindi.net/callback" target="_blank">http://www.blindi.net/callback</a><br>
homepage: <a moz-do-not-send="true"
href="http://www.blindi.net" target="_blank">http://www.blindi.net</a><br>
blinde-misc mailingliste für blinde. anmeldung unter:<br>
<a moz-do-not-send="true"
href="http://www.blindi.net/mailman/listinfo/blinde-misc"
target="_blank">http://www.blindi.net/mailman/listinfo/blinde-misc</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>