Originally Posted by supradrvr
Ok here is my idea. I have an old jukebox chasis that played 45's. It is no longer fixable and I bought another to replace it. Here is my plan but I cant seem to find the way to do it. I want to use a pc with linux and an lcd display to display songs and artist but here is the part I cant figure out. I want it to work like a "real jukebox". In other words, lets say I have a songs file name set to 100.mp3, but the id3 tag has a real artist and song title for the display, if you hit 100 then # (# actually presses enter key) on the keypad it executes a script that plays song 100.mp3 but then also be able to input other numbers that will call up more songs after it has finished. I have done a lot of searching but I dont find anything that is quite what I want. If any one has any input I would be greatful. Thanks
now, as i understand, you want it to work like a real jukebox, yes? so you basicly punch in the numbers, and the jukebox will queue them and play them sequentially in the order you typed them in? and your basic setup so far is that you have a list of songs called 1.mp3, 2.mp3, 3.mp3 etc.
you can create a shell script to do this, to read the input number with 'read' (a command built in to bash), add .mp3 on the end, then pass the filename to an mp3 player like mpg123
, and an mp3 tag reader like tagmp3
to read the tags and pass them to your display. that will enable your shell script to run in the foreground, and accept all the input, and control the mp3 player and display in the background.
if your not sure about writing a shell script to do this, then by all means give me a nudge, it sounds quite interesting.
oh, and if you need any help with the hardware side of things (mounting the pc, any physical building help) then try checking out http://www.bit-tech.net/
, its a 'modders' site i hang out on, people who put pc's in various things, mod their cases, etc. nice people, and no doubt they would love a project like this.