[icecast] icecast/ices

Marc Remijn marc at dubhead.xs4all.nl
Sun Feb 2 23:00:46 UTC 2003



----- Original Message -----
From: marco chrappan <marco.chrappan at fastwebnet.it>
To: <icecast at xiph.org>
Sent: Sunday, February 02, 2003 8:05 PM
Subject: Re: [icecast] icecast/ices

> hi,
> how can i use it to send a playlist of mp3 files to icecast? is there
> any app to create automated playlists, I mean to create a txt file from
> a directory?

Do you use *nix. In that case use find:

This one gives all *.mp3 files in dir 'home_oud'. The '-follow' is necessary
to follow symbolic links and the '2> /dev/null' is to discard error output
(in my case outdated symlinks). '-type f' gives you only files and leaves
out directories.

marc at dubhead:~$ find home_oud -name *.mp3 -type f -follow 2> /dev/null
home_oud/chemical_imbalance.mp3
home_oud/comedy/fastshow/brilliant.mp3
home_oud/comedy/fastshow/channel9.mp3
home_oud/comedy/fastshow/randy_tailors.mp3
home_oud/comedy/fastshow/RonManager.mp3
home_oud/comedy/newsquiz_001021.mp3
home_oud/comedy/newsquiz_000923.mp3
home_oud/comedy/now_show_000908.mp3
home_oud/comedy/now_show_000801.mp3
home_oud/comedy/sunday_format.wav.mp3
home_oud/muziek/chateau_flight-camping_jazz.mp3
home_oud/muziek/ess_mix_991217.mp3
home_oud/muziek/guy_called_gerald-humanity.mp3
home_oud/muziek/james_lavelle.mp3
home_oud/muziek/juniper_moon.mp3
home_oud/muziek/knock_yourself_out.mp3
home_oud/muziek/nenehs_001220_1956.mp3
home_oud/muziek/ntsleepy.wav.mp3
home_oud/muziek/ooberman-shorley_wall.mp3
home_oud/muziek/peel/bushman.mp3
home_oud/muziek/pizzicato five - the girl from ipanema.mp3
home_oud/muziek/pizzicato five - silent night.mp3

If you want absolute pathnames just give an absolute pathname as argument to
find, like:

marc at dubhead:~$ find /home/marc/home_oud -name *.mp3 -type f -follow 2>
/dev/null
/home/marc/home_oud/chemical_imbalance.mp3
/home/marc/home_oud/comedy/fastshow/brilliant.mp3
/home/marc/home_oud/comedy/fastshow/channel9.mp3
/home/marc/home_oud/comedy/fastshow/randy_tailors.mp3
/home/marc/home_oud/comedy/fastshow/RonManager.mp3
/home/marc/home_oud/comedy/newsquiz_001021.mp3
[...]

and redirect output to playlist.txt

marc at dubhead:~$ find /home/marc/home_oud -name *.mp3 -type f -follow 2>
/dev/null > playlist.txt

<p>Marc

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list