Re: [LAU] command line playlist (m3u) creator anyone?

From: Arnold Krille <arnold@email-addr-hidden>
Date: Thu Jan 01 2009 - 12:36:22 EET

On Thursday 01 January 2009 10:58:25 Kevin Cosgrove wrote:
> Anyone know of a nice command-line playlist creator? I'm thinking of
> something like:
> playlist-creator directory -o directory.m3u

As far as I remember the m3u-format its as simple as:

for file in directory/*; do echo $file >> directory.m3u; done

Or maybe even some piping of ls output is possible too. There you could also
set it to only list files newer then the creation of an given m3u to only add
the new files.

Have fun,

Arnold

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Received on Thu Jan 1 16:15:01 2009

This archive was generated by hypermail 2.1.8 : Thu Jan 01 2009 - 16:15:02 EET