AudioMasters
 
 User Info & Key Stats   
Welcome, Guest. Please login or register.

Login with username, password and session length
July 30, 2010, 11:53:51 AM
70766 Posts in 7409 Topics by 2232 Members
Latest Member: Beriganfan
News:       Buy Adobe Audition:
+  AudioMasters
|-+  Off Topic
| |-+  OT Posts
| | |-+  Catalogue Recordings
  « previous next »
Pages: [1] Print
Author
Topic: Catalogue Recordings  (Read 582 times)
« on: February 04, 2010, 07:49:51 PM »
Wildduck Offline
Member
*****
Posts: 724



I'm sure something was recommended here, but can't seem to find it now.

I was hoping to find a quick and dirty way to put together a database of some sort to catalogue all my music. This includes commercial CD's, some mp3 files, reel to reel recordings, minidisks, CD's of my recordings, masses of vinyl and some material on hard drives. Ideally, it would link up online to import track titles for commercial CD's and be able to hold text data from mp3's. Even more ideal would be if it were free and based on something standard like MySQL so that I can hone it to perfection later.  smiley

I've been meaning to try writing something similar for years now, but never got round to it. The trigger for this is the death of some musicians that I have worked with and once knew well, which has led to a sudden influx of commercial CD's - hence the need for the automatic downloading of track data.
Logged
Reply #1
« on: February 15, 2010, 09:13:39 PM »
Wildduck Offline
Member
*****
Posts: 724



Well, in the vacuum that seems to surround this, here is what I'm trying.

I can easily create a MySQL database on a machine, and cobble together a front end in Open Office. This can hold a list of titles, formats, where they are and so on.  Media Monkey will let me post CD's into the machine and puts the track details into a SQLite database. I've found a translator that will save the SQLite data so that I can import it into MySQL, where it can sit alongside or within the local database.

I've not had time to do more than a very preliminary test, but the components seem to work, and there is some hope that it will be able to cope with whatever comes along in the future without being tied to a proprietary format.  I wish I could have found something ready-made, though.

Media Monkey seems quite comprehensive, but hasn't been terribly stable so far. As it's only an intermediate application, I hope I can live with that.
Logged
Reply #2
« on: February 16, 2010, 09:13:44 AM »
Andrew Rose Offline
Member
*****
Posts: 821

WWW

Have you had a look at XBMC (http://xbmc.org)? I've been using it as my primary audio-video-photo replay system now for a few months - it's catalogued over 1.5TB of music, films and TV shows, pulled off biographies and artwork for artists and has a number of effective search and categorisation tools.

I'm not sure how it operates its database but as an open source project I'm guessing MySQL is probably in there somewhere.

For tagging ripped CDs I tend to use TagTuner (http://www.tagtuner.com) - it's not free but not expensive. Give it a folder with a CD in it and it'll quickly look it up, offering alternatives if necessary (usually multiple entries of the same disc with different genre categorisation, album artwork, or title capitalisation), and then apply tags. It's good at batch tagging and you can set up to apply a number of tags automatically from file names.

With these two and EAC you have a near-perfect set of tools for ripping, tagging and cataloguing/replay - or you can get XBMC to rip CDs for you and encode to FLAC (or whatever), though personally I prefer EAC.

XBMC nightly updates are available if you want to operate at the bleeding edge of development (http://mirrors.xbmc.org/nightlies/) as are a load of skins - my favourite is Transparency (http://xbmc.org/skins/transparency/) - and the potential for wasting hours and hours of enjoyable time tweaking and fine-tuning the program and your files and artwork is almost endless...


P.S. I've just checked on the database details (from http://wiki.xbmc.org/?title=The_XBMC_Database):

Quote
XBMC uses SQLite, an open source light-weight SQL database-engine, to store all its library related data (Music, Video, and Program databases)...

The XBMC databases are automatically maintained whenever you use XBMC. You can activate the most powerful database functionality by setting the Content property on all of your media sources, and using XBMC Library Mode. This view mode allows you to browse your media based on the details available in the databases, rather than using simple folder and filenames for details. You can read more about Library Mode for Music and Video files on their respective pages.

Since XBMC maintains the databases on its own, the only time a developer really needs to access the databases is for display information. The following sections discuss how you can access the information contained in the XBMC databases, and give some brief examples of how to use it.
Building SQL Queries

SQLite queries can be incredibly powerful (and extraordinarily complicated). If you are not already familiar with SQL syntax, it would probably be a good idea to check out a general tutorial, such as this one (add link).

For most XBMC development projects, you're going to be doing select statements. "Select" is a SQL command used to gather data (in the form of "rows") out of a SQL database. Your select statement will include:

    * A list of all the data fields (columns in the database table) you want for each row.
    * A list of all the tables you need to get information from
    * A list of comparisons used to narrow down your results. This last component is optional, but it makes sure your results are relevant and is often used to link database entries across multiple tables.


etc. etc. (There's quite a lot of detail which might be useful to you on the page linked to!)
Logged

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS! Ig-Oh Theme by koni.