Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: molski on November 05, 2002, 11:10:45 AM
-
Is it possible to play MP3 files on my SME v5.5 update2 server ?
I got an old ISA soundcard that I want to use for this (and maybe later on a PCI Creative SB Live! 5.1). Are there any how-to's on how to do this ?
Regards,
Molski
-
Can be done (Read that as I have it working)
Suggest the following:
use Creative PCI 64 or 128 sound card, Less overhead.
use "amp" as player software , not MPG123, less overhead.
I'm using mymusic as the player as it is a very basic web driven player.
Suggestion map drive to I-bay named MP3 , configure ripper software to place mp3's in the I-bay, Make I-bay local network access only
I am testing it currently but do not have time to do it all over again for someone else :<(( sorry.
Mymusic is a basic script, But I like the way it will choose a random track and play it if your playlist runs out.
Could be a good RPM if anyone has the time for it.
-
I checked out the mymusic script. But isn't this only a player to choose files from your server and play them on a client ? Or does it plays the mp3 files you choose on the server, and you only navigate through your client(s) ?
Installing the script doesn't seem to be so difficult, but setting up audio on the server, that's my problem! I have an ISA Soundcard, if it is recognized by the server does it then automatically play MP3 files ? I don't know how to set up SME to recognize MP3 as audio files and let the server play those files.
Regards,
Molski
-
The mymusic script has bugs as supplied from the site, I and a few friends had to rewrite some of it in order to get it working acceptably.
It is a php script that displays a web page, If you choose a song on the page it will play it through the sound card in the server. If you run out of songs, It will pick a random song and play one for you, Eventually the songs will run out and it will stop playing (Bummer). if you start the program again it will happily play away, The bigger the album list the less likely it is to ever stop.
I would suggest that you use the amp program as the actual player as mpg123 is heavy on overhead
Then run sndconfig and see if your card is supported, ISA should be. PCI wasn't
I use a Creative soundblaster 64PCI on a P133 with 32 mb of ram and it dawdles along all day.
Have placed most of the files on my server at http://www.ebix.bpa.nu/mp3player for a short time if you are interested, My server may have to disappear in a day or so , So I suggest you be quick.
That should prove to be the basics to get amp playing. Suggest a PCI sound card would be a good investment as ISA card tend to "click" a bit.
Regards,
Gavin
-
Thanks Spike, but can I use all of this on SME 5.5 without any troubles? I installed the rpm's for sndconfig AND sndconfig on a test-machine, and the install gave no problems. Only 1 problem.....the testmachine has no soundcard : (
I will install it on my SME 5.5 edition server and will see what happens. And after the installing and running the command sndconfig all must work just fine ?? I really hope so!
Molski
-
After installing a few of the rpm's I tried to run sndconfig, all seems to go good, but then I get this message after configuring the IO, DMA and IRQ settings (because this ISA card is not recognized automatically ??)
The following error occurred running the modprobe program:
„
„ Warning: modutils is reading from /etc/modules.conf and
„ ignoring /etc/conf.modules. The use of
„ /etc/conf.modules is deprecated,
„ please remove /etc/conf.modules as soon as
„ possible. Command
„ rm /etc/conf.modules
„ modprobe: Can't locate module sound-slot-0
Can anyone help me out here ? I don't know what to do next : (
ThanX...
-
molski wrote:
> Can anyone help me out here ? I don't know what to do next : (
The message you've quoted tells you *exactly* what to do next!!
Charlie
-
Removing the conf.modules ? Did that.
But what to do next is a unknown to me. I don't know that much about Linux to understand everything that they are saying. I have tried and tried and tried but cannot come to a solution. So THAT IS WHY I come here and ask for help. If I only knew just a little bit what to do, I didn't reply so quick, but it's (for me) very difficult to come to a solution. So therefore I hope that people that know about what I am talking can help me.
Regards,
Molski
-
Molski,
Read the message from Charlie again.......:-)
As discussed today, it's a matter of carefully reading details...
The quoted messages says it all!
Contact me in the morning and I will give you some more 'hints'.
Thanks Charlie.
Regards,
guestHH
-
In short the message you have is saying to run the following command at the commnad prompt
rm /etc/conf.modules
as the file is no longer used.
What it doesn't tell you is that you need (or it has added) the
"sound-slot-0"
entry to the /etc/modules.conf file (This file is used to define the hardware devices)
If you have it right, and you have the sound card and the amp stuff loaded. if you place some mp3's in an I-bay and make the i-bay local network access only
You can them change to the i-bay and type in at the command prompt
amp *.mp3
and it should start to play songs and display the name of the song on the console
The nice part is that you can stream to another PC oer the network at the same time and listen to a totally different song to that which is playing on the server.
Of course we are all talking about only non-copyright music files, Aren't we, So legally there are no copyright issues involved.
Nice to see that Charlie is watching, Greetings.
Get that far and we can go further.
- Gav
P.S it works on 5.1.2 fine, I do not see why it cannot work on 5.5 or 5.6 when it is released.
-
Thanks for he pointers Gavin!
Regards,
guestHH
-
Hsing Foo Wang, Gavin, Charlie......
Thank you all very much for helping me. I´m sure that with your help and advice I can bring this "project" to a happy end!
RequestedDeletion, I will talk to you tomorrow morning.
ThanX all and have a good night ; )
My Regards,
Molski
-
Mokski,
Depends on where on the planet you are ...
Down Under it is still arfternoon.
the
mymusicd and mymusic-update go i nthe /usr/local/bin directory
the init file goes in the /etc/rc.d/init.d
After that it should play....
Regards,
Gav
P.S anyone for a how to and RPM ?? - the RPM is a little bit beyond me at present.
-
ThanX for your advice.Gonna try to solve all the problems with the help of RequestedDeletion this morning.
Right now I am in the most beautiful city of the planet. Amsterdam - Holland ;-P
The country of the tulips and the windmills and here it is now 08:50, so good morning to you all ; )
Molski
-
By the way...I forgot something to tell you. when I try to install AMP, I get an error message ??
]# rpm -Uvh http://www.ebix.bpa.nu/mp3player/amp-0.7.6-3.i386.rpm
Retrieving http://www.ebix.bpa.nu/mp3player/amp-0.7.6-3.i386.rpm
Preparing... ########################################### [100%]
1:amp error: unpacking of archive failed on file bin/amp: cpio: Archive file not in header
How can I solve this problem ? I have tried to install the same rpm but then from rpmfind.net, but no luck, same problem : (
-
Morning all,
Not sure why amp does not work, I am running 5.1.2 at present.
I've not been 100% convinced that 5.5 was a better version than 5.1.2 as it seemed to be rushed to release and some of the web stuff was not 100% right from the CD, (No slur intended to Mitel). I can reload the amp software to the website if you like, Or you could try mpg123 and adjust the php script to suit.
The original mymusicd script should be in the standard mymusic 1.0.6. from the site with the right options to use for mpg123, they are pretty obvious (program name and opt variables at the top of the script). Suggest you change only the lines in my version to suit, As there were other errors in the original script that we fixed. Amp does use different options.
Would suggest you get the sound card working and the scripts working and loading in songs and come back to the amp problem.
I made an i-bay named mp3 and pointed my music library to there.
A suggestion, The update script seems to get upset if the player is playing whilst it is trying to update, I am using the following method to update the library.
Stop Player with the stop button.
Kill mymusicd by using "mymusicd -k"
Run the update script , Look at tracks go into database.
Start daemon with "mymusicd --daemon" to put it into background
Press play button on the web interface.
I know the web page is of very limited display quality. However it looks like it would work fine as a touch screen application if you had access to one of those (As I have)