Help - Search - Members - Calendar
Full Version: Need Your Opinion On This...
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
bodhy
This is the story...

I'm developping an application to show info about "MP3 albums" stored in dirs,
thumbnail, cd art, and general info about audio files... (format, bitrate, etc..)
It's a kind of cataloguer / database (when It will be in a "stable version" I'll
post a new here).

The technical layout:

To avoid to scan all the audio files every time I show a folder I thinked in
collect all the data the first time and create an XML file in the folder where
to store the info about the album... so next times I only need to read an show
info stored in the XML file.
I'll add an option to "reescan folder" if necessary.

So I'm "designing" the XML structure, I'll appreciate your opinion...
Do you think there is some importante information missed?

Best regards and TIA.
b:.

<?xml version="1.0"?>
<albumdata>
<artist>Depeche Mode</artist>
<album>Violator</album>
<year>1990</year>
<genre>Pop</genre>
<time>40:35</time>
<tracks>
<track>
<title>Enjoy The Silence</title>
<time>6:36</time>
<tracknumber>01</tracknumber>
<format>MP3</format>
<encoder>LAME</encoder>
<mode>CBR</mode>
<bitrate>192</bitrate>
</track>
<track>
<title>Personal Jesus</title>
<time>6:36</time>
<tracknumber>02</tracknumber>
<format>MP3</format>
<encoder>LAME</encoder>
<mode>CBR</mode>
<bitrate>192</bitrate>
</track>
<track>
<title>World In My Eyes</title>
<time>6:36</time>
<tracknumber>03</tracknumber>
<format>MP3</format>
<encoder>LAME</encoder>
<mode>CBR</mode>
<bitrate>192</bitrate>
</track>
</tracks>
<URL>
<![CDATA[http://www.allmusic.com/cg/amg.dll?p=amg&uid=CASS70305150927&sql=Ariaxlf3e5cqq]]>
</URL>
<review>
In a word, stunning. Perhaps an odd word...........
</review>
</albumdata>
Leonardo
if the filesize isn't relevant u can decide for yourself to include some informations picked out eac.log like these

QUOTE
EAC extraction logfile from xx. xx 2003, 0:31 for CD
BlaBla  / Dump album

Used drive  : PLEXTOR CD-R   PX-W1210A   Adapter: 2  ID: 0
Read mode   : Secure with NO C2, accurate stream, disable cache
Read offset correction : 99
Overread into Lead-In and Lead-Out : Yes

Used output format : D:\Programme\exactaudiocopy\mppenc115r.exe   (User Defined Encoder)
                     224 kBit/s
                     Additional command line options : --quality 7 --xlevel --artist "%a" --title "%t" --album "%g" --year "%y" --track "%n" --genre "%m" --comment "ripped by blabla " %s

Other options      :
    Fill up missing offset samples with silence : Yes
    Delete leading and trailing silent blocks : No
    Installed external ASPI interface


Track  1
   Filename d:\folder\India Arie  (2001)  Acoustic Soul\01 - Intro.wav

   Peak level 63.1 %
   Track quality 100.0 %
   Test CRC 1B75D7F1
   Copy CRC 1B75D7F1
   Copy OK

Track  2
   Filename d:\folder\India Arie  (2001)  Acoustic Soul\02 - Video.wav

   Peak level 100.0 %
   Track quality 100.0 %
   Test CRC 0754CB17
   Copy CRC 0754CB17
   Copy OK

...

No errors occured


End of status report


Or md5-information for verify procedures like these

QUOTE
; Generated by Easy MD5 Creator 1.4.0 on xx xx 2003 at 1:32:47 AM.
;
; File                                                          Size (Bytes)    Time/Date
; ----------------------------------------------------------    ------------    ---------
; 01 - Intro.mpc                                                1.268.090       00:07:33 14.04.2003
; 02 - Video.mpc                                                7.191.314       00:10:04 14.04.2003
; 03 - Promises.mpc                                             7.919.141       00:12:17 14.04.2003
; 04 - Brown Skin.mpc                                           8.937.607       00:14:48 14.04.2003
....

;
01 - Intro.mpc 301A8460678C250CD85A8FD1122BAFC3
02 - Video.mpc 5548ED3CB9FFDCDA8D5AA75BBED463A7
03 - Promises.mpc 6DDE6FA4857750AFF975041A4FCAED04
04 - Brown Skin.mpc C7628CF97C7084CD0798590055474C1C

...

; End of MD5 file.


or a Cover Scan path to show a Preview pic of your Album, or Personal Ratings and a Big Comment Field. Or the Path to Live Radios/Videos Links on WWW.

Is ur Software only for Mp3 ?

Please tell me more about it.
bodhy
Hi Leonardo.
Thanks for your suggestions...
The software will support al least (I hope :-) MP3, MPC, AAC, APE and OGG (maybe WMA) in the beginning... I think these are the most popular formats...

I'll add the filesize to te tracks, maybe interesting to store it...

The preview PIC (thumbnail) for the album will be automatically displayed allways It could be finded in the album's folder and named as "cover.jpg" (of course this will be configurable...)

I think is a good suggestion too the rating and "personal comments" maybe interesting...

What do you think about a 5 stars rating? from * to * * * * *
Will be the rating usefull for both album and track data?

Best regards.
b:.
indie
i don't know if this can give you some idea for your soft.

http://www.hydrogenaudio.org/forums/index....showtopic=11946
paranoos
instead of having the user select an option to rescan folders, you could just check the last modified date of the folder / contents, and compare it to the xml.

if you have one large xml file that you keep appending to, then you can store the scan date or the last modified date of the files inside of the xml.

automating this process will reduce the attention the user has to pay to the program, thus making it more valuable and 'smart'.
bodhy
indie:
It's incredible! Your work It's almost the same that I'm doing...
What a coincidence!!!, the yours displays more "technical" data than the mine...

paranoos:
Thanks for your suggestions.
I'll consider it for the next version, maybe I'll add the scanning date in the XML for the first one, but now I want to release a first version to test it...

This week I'll clean a little the code, fix small bugs, write a little "specifications", finish to create the style sheets, etc... So I hope to release a beta versión next week, if you are interested In give it a try I'll send you a "private message" to alert you...

Best regards from Spain.
b:.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.