LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2005, 07:18 AM   #1
aashiks
LQ Newbie
 
Registered: Mar 2005
Location: Cochin
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
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 ?
 
Old 03-23-2005, 08:47 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
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.
 
Old 03-23-2005, 12:05 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 03-23-2005, 08:04 PM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wanna build my jailshell for security reasons Mr-Sale Linux - Security 1 10-09-2005 12:57 PM
wanna build my own distro.... citrus General 3 04-11-2004 11:22 AM
I wanna build a Linux cluster Neorio Linux - General 7 01-05-2004 07:31 PM
I wanna build a Linux cluster Neorio Linux - General 1 01-05-2004 12:25 AM
wanna develop a mp3 player ?? Morpheus Programming 0 01-16-2003 06:29 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration