From owner-freebsd-multimedia Wed May 20 17:19:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA01671 for freebsd-multimedia-outgoing; Wed, 20 May 1998 17:19:27 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA01632 for ; Wed, 20 May 1998 17:19:14 -0700 (PDT) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.8/8.8.8) id CAA28140; Thu, 21 May 1998 02:16:38 +0200 (CEST) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199805210016.CAA28140@ocean.campus.luth.se> Subject: Re: questions about developing an mpeg3 database and interface In-Reply-To: <199805171744.KAA17788@hub.freebsd.org> from "grady@scam.XCF.Berkeley.EDU" at "May 17, 98 10:46:05 am" To: grady@scam.XCF.Berkeley.EDU Date: Thu, 21 May 1998 02:16:37 +0200 (CEST) Cc: freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to grady@scam.XCF.Berkeley.EDU: > Inspired by the 8hz mpeg3 encoder, I've started encoding my CDs. Ultimately, > it would be cool to have all the CDs on file, with a database describing > them, and a GUI to choose by title, style, etc. For the moment, Maybe just do something that you could use with the xmcd (www.cddb.com) player's CD database, but use it for mp3s instead of actual CDs? That would mean you just do something like pack your CDs songs in a dir and have an ID file in there with mp3s: mp3_1/ mp3_1/.CD-ID.data mp3_1/track1.mp3 mp3_1/track2.mp3 mp3_1/track3.mp3 mp3_1/track4.mp3 mp3_1/track5.mp3 And the data file would contain some stuff ripped off the CD. So you'd just make a small app that fontended mpg123/splay/whatever and used the .data file to access the cddb database and get the CD's name, and all the tracks, etc. That should be pretty easy, and the most cool solution. Specially if you had a small caching function in your program, so that it saved the info it had looked up in .CD-INFO.data or something, instead of looking it up in the database all the time. /Mikael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message