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 ? |
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. |
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 |
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. |