Re: [PHP] MP3 Ripping

From: Steve Vernon (steve.vernon_at_btconnect.com)
Date: 10/27/03


To: "PHP List" <php-general@lists.php.net>
Date: Mon, 27 Oct 2003 17:01:59 -0000

erythros and Burhan,

Thanks for the reply.

Basically I started putting my music into a program , and the program I did
it on didn't like the amount of tracks (kept crashing), and didn't give me
as many options as I would like. I'm not worried about a fancy interface and
graphical displays of the music.

What I could do is make a folder inside a folder with the artist name and
the CD, and then the MP3 files inside with the name (and possibly mix) as
part of the name. But what if the CD has music from different artists? What
if the program does not like a high number of files? What if the file name
gets to be more than 255 characters? What if I want to do something bit more
advanced with a catelouged set of data.

The last sentence relates to a project I did at Uni, to do with automatic
mixing between tracks. I realise the code I did then is copyright, but I
have a few ideas I want to try out. I sometimes do a bit of DJing at a local
bar/club, but for the first couple of hours we just play a couple of mix
CD's, before I get up and DJ. What I was thinking was letting the computer
DJ itself, and letting people using a simple interface select some songs.
But I would want to limit the type of songs, because some songs don't work
at certain times of the night. Just would be nice to have it all using
MySQL, so people can see pics of the artists etc. There are some quiet
nights where basically either mix cd's or the radio is used all night.

A database is there to hold your data, and basically display it in a format
when asked, that you asked for. (Ok not a dictionary definition). Basically
a file system is a simple database, but just to hold files. I know the load
on the server would be crazy, but I'm not worried about that. All I plan to
do at the moment is to output to a tempoary file, and then feed it into a
program such as WinAmp to play the file. I don't want to do any Streaming-
well perhaps some screaming!

Ideally there would be a software product out there to do all this, but I
don't think so, not with some of the ideas I have which I haven't even
listed!!! So is there ANY way from PHP to read a CD, rip the tracks and
place them in BLOB fields in MySQL? Or do I have to write something in C++
or Java? Just would be nice if there was something in PHP.

Thanks,

Steve



Relevant Pages

  • HOW DO i MAKE A LIST FOR SONGS?
    ... I have always wanted a similar database as yourself ... It simply lists all the albums, ... >words in the title) all songs, artists, and albums that ... >of all my songs. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Special Search
    ... A database would be the optimal solution at any rate but, ... songs dir is in the current directory and $song_name is set: ...
    (comp.lang.php)
  • fopen read and write problem
    ... I'm trying to write a script that will read from a text list of songs ... text the new text made ready for inserting into a database. ...
    (comp.lang.php)
  • Musicians and advertising
    ... Hawk 'n' roll: Artists, advertisers in harmony ... evolution -- to chart how rock stars have gone from denouncing the use ... Beatles' songs, sells Revolution to Nike. ... songs for advertising, appears in a national TV ad for Fidelity ...
    (rec.music.beatles)
  • SPOTLIGHT: Braun And Brain Music Presents - Next Wave
    ... marketing and began to give us listeners what we knew we wanted all ... Well, Braun ... artists on the Next Wave compilation are making it happen. ... selected because the songs stand out in that they have all the elements ...
    (rec.music.reviews)