LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 06: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, 07:47 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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, 11:05 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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, 07: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



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 11:57 AM
wanna build my own distro.... citrus General 3 04-11-2004 10:22 AM
I wanna build a Linux cluster Neorio Linux - General 7 01-05-2004 06:31 PM
I wanna build a Linux cluster Neorio Linux - General 1 01-04-2004 11:25 PM
wanna develop a mp3 player ?? Morpheus Programming 0 01-16-2003 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:17 AM.

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
Open Source Consulting | Domain Registration