| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Sep 12, 2006 11:06 am Post subject: Where do I put my files |
|
|
Hi
the people who look ater our server tell me they have installed Icecast etc, and it is running. We still have the default icecast.xml file.
We want visitors to our site to be able to click on a link to an mp3 file and listen to it (static).
Where should I put my mp3 files on our server? And is that all I have to do?
I found a line that says: if a request for http://server:port/mp3/stuff.mp3 comes in, then the file /var/share/icecast2/mp3/stuff.mp3 will be served.
In icexast xml, the webroot is usr/share/icecast/web.
I put an mp3 file in there, and then made the hyperlink http://www.mindtools.com/file.mp3, but all the visitor gets is the 404 page. I don't understand what server:port should be?
Sorry for being pathetically dim! MANY thanks. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Sep 12, 2006 1:14 pm Post subject: |
|
|
the port should be whatever your icecast server is listening on, check for the <port> setting in your xml. The usual port number is 8000 so http://servername:8000/file.mp3
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Sep 12, 2006 2:44 pm Post subject: I tried that |
|
|
... and it didn't work. Having spent hours now reading the documentation and various forums, a, I right that even if I get Icecast to work, my users would see a URL link that includes the port number (8000) and has the finel extension .m3u? If this is so, I'll just give up now, because we don't want this.
Does anyone know how simple sites like http://www.audiofortheweb.com/listen-download.htm deal withtheir mp3 files so that when you click on them it starts playing in wma (or whatever) while still loading. The owner of this site says she thinks she doesn't ahve any special software, but she must because when I put her file on my site, it doesn't work! wma loads the file title, but then the green bar which shows how much has bene played zips across in les sthan a second and it comes up as Stopped.
Thank you. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Sep 14, 2006 2:58 pm Post subject: |
|
|
Hi Helena
There's an excelent little webserver program called " enda "
(quick search in your favourite search engine should locate it)
Enda provides a html user interface and stream's audio files directly at the same byte-rate as they were encoded one file at a time or creates (on the fly) a playlist of the entyre directory (can be random) and plays that.
This is excelent for LAN services ( I us it my self )
but maybe not so good for WAN because of security problems and the need
to encode ALL served files at a suitable byte-rate
Hope this is helpful
Regards.. 2xQ SwanSong Trance-Nation Web Radio (Administrator) |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Oct 11, 2006 4:20 am Post subject: Icecast |
|
|
Helena:
You can Embedd a Windows Media Player in an index.html page in your website. Your clients will visit your site and without seeing any links, can receive the beauty of a wave of nice and cool music!!!!
From the content directory of icecast (/web).
If are still interested I can supply you with the Windows media player code and instructions.
Icecast has an advantage over Shoutcast in this: From the content directory of shoutcast you can only serve mp3 files and from the content directory of icecast you can serve any files. Both handle playlists.
Regards
Franco  |
|
| Back to top |
|
 |
|