LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wanna build an Mp3 player out of old PC (https://www.linuxquestions.org/questions/linux-newbie-8/wanna-build-an-mp3-player-out-of-old-pc-305016/)

aashiks 03-23-2005 06:18 AM

Wanna build an Mp3 player out of old PC
 
Well I wanna know how to do the following.

Boot into single user mode (thats passing 'single' to the kernel but i just mentioned what i plan to do )

then run some kinda mp3 player program (probably xmms)
here is the glitch. I plan to control this thing using a standad keyboard. There wont be any monitor , just an LCD showing whats playing now.So i wanna load

either custom playlists using combinations like Meta+1(playlis1 ) Meta+2 (playlist 2)
or there is another way. I would make say 5 directories for 5 playlists
when i give Meta+1 it should go to the first directory scan it and add all songs in it to its playlist. Meta+2 would ask the program to go to the next directory and so on.

Play|Pause|GotoNext/Previous track| are all built into almost all players.But the above mentioned functionality is not. So i am planning to write an XMMS plugin (i havent done any programming in Linux) to do it.

Any ideas ?Anyone ?

Hangdog42 03-23-2005 07:47 AM

For booting into single mode, you need to edit your /etc/inittab file and set it to boot in init leve 1 as opposed to the default 3.

You also might want to do some searching around here for command line MP3 players. I haven't used one, but I'd be HIGHLY surprised if one or two didn't exist. For example, I believe MPlayer can run from command line. XMMS certainly isn't your only option.

MasterC 03-23-2005 11:05 AM

Hi!

A few years back when resources were not as plentiful I did this, so hopefully it won't be quite as intense as it was for me.

The application I chose:
MP3Blaster (search freshmeat)

For your LCD output, check out lcdproc (assuming you mean a small LCD like one in a clock radio or something similar, and not a small 12" LCD monitor).

You can setup any keybindings you want with that application, there is no need to write a special plug-in to do what you are talking about with the playlists.

Not sure how far you are going to take it, but I placed the final product in my truck with a removable hard drive rack (to make tweaking easier) and hooked it up to the changer input on my pioneer deck. There's a cable that is commercially available that converts that input to 2 RCA inputs, which I used a 1/8" stereo to RCA cable to attach into.

Amazingly, I just checked, I sorta outlined parts of it at an OLD OLD site I used to maintain here:
http://masterc.freeservers.com/Proje...bilePuter.html

HTH

Cool

kencaz 03-23-2005 07:04 PM

I would say go with MPlayer.
http://www.mplayerhq.hu/homepage/design7/news.html

Run directly form command line, load custom playlists, can be completely controlled from keyboard, can use shuffle mode, play's movie's, good optional GUI interface.

KC


All times are GMT -5. The time now is 06:55 PM.