LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2004, 07:51 PM   #1
jacksonscottsly
LQ Newbie
 
Registered: Nov 2003
Distribution: gentoo
Posts: 19

Rep: Reputation: 0
software for adding cddb information into a local mysql database


please help! I need to create a php app that manipulates album info for my local college radio station (in the next 2 days!), and IF AT ALL POSSIBLE, it should have cddb (musicbrainz??, freedb) support, so that when a cd is inserted, the cddb data is automatically read from the remote server and input into a custom local mysql database. I've noticed that grip has a "digital jukebox" addendum to do something similar (although, I'm sure i'd have to do some tweaking before i get it to use the feilds in my custom database), but i cannot get it to work. is there another way to do this? a simple command-line script would make me happy, it just has to work! thank you for your help!
 
Old 07-09-2004, 09:21 PM   #2
th3_d0c
Member
 
Registered: Nov 2003
Location: New Hampshire
Distribution: Slack 9.2
Posts: 39

Rep: Reputation: 15
I cant really help you creat this, but if I was to do this, I would try to find a program that would extract the cddb info to a temp file, or file for back up. And in that file would be the all of the info seperated by a ; or : or whatever is easy for php to understand, than php or your script reads that info and enters it into your mysql data base.
I would assume your hardest part would be getting the info to extract to a file. If you know php well enough, the rest should be simple. Hmm you probably could create a simple perl or c++ script to do that. The only hard part there would be if perl and c++ could talk to the mysql server.

That may be confusing.

Possiblities
Freshmeat has a huge list of scripts for ID3 tag editing and reading just look through them = http://freshmeat.net/search/?q=ID3&s...&Go.x=0&Go.y=0
JACKPOT = http://freshmeat.net/projects/naamah/

shit, you can really only use it to get the cddb info if you have a MS2000 or XP and IE.. Look at the other post about cddb and mysql in this forum for more scripts.
**edit**
main website
http://www.tiscalinet.ch/nick/naamah/


above is extactly what you need!

Little old, but good idea = http://freshmeat.net/projects/anus/
May be more editable = http://cddb-py.sourceforge.net/


Last edited by th3_d0c; 07-09-2004 at 09:44 PM.
 
  


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
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 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