IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Software for Accuraterip check of already ripped files ?
Jose Hidalgo
post Jan 11 2008, 15:20
Post #1





Group: Banned
Posts: 385
Joined: 22-June 06
Member No.: 32111



Hi everyone,

When I ripped all my CDs about a year ago, I used EAC 0.95b4 + AccurateRip. However, having to copy/paste all the AccurateRip reports was a bit of a pain, so I didn't do it.

It would be much more useful to have some tag field called "%accuraterip confidence"% that could contain, either a numeric value when there is a confidence, "0" if the track is unknown to Accuraterip, and something else if the track is known but with a different CRC.

But for all this, we're talking about the ripping process (EAC + Accuraterip plugin). What about already-ripped files ?

Wouldn't it be possible to have a software that could analyze a whole library (FLAC, APE, etc.) and check every single file using Accuraterip database ? Here's how it could work :
- Take a properly tagged lossless file (let's assume 1 file = 1 track, convenientely ripped, with the gaps at the right place, etc.)
- Decompress it in RAM
- Calculate the CRC for the audio part
- Connect to Accuraterip
- Find the same file using the tags (not the disc ID) : artist, album, title...
- Check the CRC against the Accuraterip CRC
- Write the confidence result in a specific tag (%accuraterip confidence%) within the lossless file
- Optionally submit the results to Accuraterip

This would store all the needed information without the file itself (no more separate Accuraterip reports).

What do you think ? Is it doable or not ? Does it already exist ?

Thanks in advance,

Jose

This post has been edited by Jose Hidalgo: Jan 11 2008, 15:21
Go to the top of the page
+Quote Post
caligae
post Jan 11 2008, 16:30
Post #2





Group: Members
Posts: 186
Joined: 23-January 02
Member No.: 1132



See http://www.hydrogenaudio.org/forums/index....showtopic=53583. AFAIK it only works if the whole disc is ripped as single file.
Go to the top of the page
+Quote Post
Jose Hidalgo
post Jan 11 2008, 16:53
Post #3





Group: Banned
Posts: 385
Joined: 22-June 06
Member No.: 32111



Thanks caligae. I had already seen that thread, and I think the perl script is not really adequate (plus it only works with whole disc files - all my 20.000+ files are single track files, I like it that way). Of course it works in some cases, but it's slow, it needs I have thought of posting in that thread first, but IMHO the problem is larger than that.

So this thread is up for discussing of a real, efficient, software that could do this. It could be a standalone software, a component for foobar, etc... And either it exists, or maybe a dev would be willing to implement it, who knows ?

It shouldn't be too complicated after all :
- Standalone app : drag-n-drop files (or folder), click "OK", wait, and that would be all.
- foobar component : select files, right-click, "Accuraterip check", wait, and that would be all.

No even need for settings, it's a pretty straightforward operation.

I have heard that dbPowerAMP could be a good starting point. After all, dbPowerAMP and Accuraterip share the same owner / developer : spoon (am I wrong ?). See this : http://www.accuraterip.com/3rdparty-access.htm

Just my 0.02...

This post has been edited by Jose Hidalgo: Jan 11 2008, 16:59
Go to the top of the page
+Quote Post
pdq
post Jan 11 2008, 17:40
Post #4





Group: Members
Posts: 3412
Joined: 1-September 05
From: SE Pennsylvania
Member No.: 24233



Maybe I'm wrong, but I though that the way that a track is identified to accuraterip was by way of the TOC of the CD, or the combination of all of its tracks. I don't think there is any way to access the database based on a single track.
Go to the top of the page
+Quote Post
Jose Hidalgo
post Jan 11 2008, 18:29
Post #5





Group: Banned
Posts: 385
Joined: 22-June 06
Member No.: 32111



Yes, I think that too (but I think it was rather the album ID ?).

But with the artist and album fields, it should possible to retrieve the album ID (maybe not from Accuraterip, but elsewhere) and then provide it to Accuraterip.

Let's assume there are several possible album IDs (remasters, foreign editions, etc.). Still, all that the app would have to do would be to try all available album IDs with Accuraterip. If one of them provides a confidence report, then everything is OK.
Go to the top of the page
+Quote Post
Fandango
post Jan 11 2008, 18:52
Post #6





Group: Members
Posts: 1549
Joined: 13-August 03
Member No.: 8353



QUOTE (Jose Hidalgo @ Jan 11 2008, 16:53) *
Thanks caligae. I had already seen that thread, and I think the perl script is not really adequate (plus it only works with whole disc files - all my 20.000+ files are single track files, I like it that way). Of course it works in some cases, but it's slow, it needs I have thought of posting in that thread first, but IMHO the problem is larger than that.

Well, there's a C++ version available in the thread, which speed is only limited by your hardware:

http://www.hydrogenaudio.org/forums/index....st&p=528988

You can convert CD Rips losslessly to a different "EAC-like-rip-format" and even adjust a false offset correction with CUE Tools. But although it has a batch processing feature and you could also write a CMD.exe batch wrapper for ARCue.exe, it would require you to utilize lots of disc space. Either have lots of disc space ready so you can use CUE Tools' batch queue or convert every rip manually and delete the temporary files each time. A solution would be to be able to invoke a pre- and post- processing CMD batch script from within CUETools, so they can deal with deleting and creating the temporary WAV/CUE files and doing the AR check.

But the fact is that currently there's no automagic tool available for your scenario. You have to do it manually.

(Mods: maybe it would be a good idea to split the Arcue thread?)
Moderation: Done!

QUOTE (Jose Hidalgo @ Jan 11 2008, 16:53) *
So this thread is up for discussing of a real, efficient, software that could do this. It could be a standalone software, a component for foobar, etc... And either it exists, or maybe a dev would be willing to implement it, who knows ?

I'm aware that ARCue is not versatile enough to be used on a hole collection, and I'm also hoping someone writes a proper fb2k component:
http://www.hydrogenaudio.org/forums/index....showtopic=56531


QUOTE (Jose Hidalgo @ Jan 11 2008, 16:53) *
It shouldn't be too complicated after all :
- Standalone app : drag-n-drop files (or folder), click "OK", wait, and that would be all.
- foobar component : select files, right-click, "Accuraterip check", wait, and that would be all.

Afaik a standalone application would be much harder to realise, because you would have to integrate decoders for various lossless codecs, not to mention a CUE sheet processor for compliant and non-compliant cue sheets and also a tag reader so you can process embedded cue sheets also.

A fb2k component on the other doesn't have to deal with all that stuff, it could access the track's PCM audio provided by the converter directly, no need to worry about codecs or cue sheets or tags for the writer of such a component. Ok, maybe it would be a good idea to store the AR CRC in the tag, so this time consuming operation of calculating the CRC is only necessary once... cool.gif I don't know if writing the confidence to the tag is a good idea, since this number will change (increase) over time and therefor becomes out-of-date.

QUOTE (Jose Hidalgo @ Jan 11 2008, 16:53) *
I have heard that dbPowerAMP could be a good starting point. After all, dbPowerAMP and Accuraterip share the same owner / developer : spoon (am I wrong ?). See this : http://www.accuraterip.com/3rdparty-access.htm

I doubt he would write such a tool: 1. it will cost him time. 2. it would be somewhat of a competition to his main product dBpoweramp. And it is not benefiting his other product, the AR database, either, since the AR results of such a tool will not be added to the database!

This post has been edited by greynol: Jan 11 2008, 20:52
Go to the top of the page
+Quote Post
Jose Hidalgo
post Jan 11 2008, 19:06
Post #7





Group: Banned
Posts: 385
Joined: 22-June 06
Member No.: 32111



Thanks Fandango for your accurate reply. wink.gif

Yes, I share the idea that a fb2k component would be the best solution for us. So I guess maybe this thread is of no use if we can all move to your already existing thread : http://www.hydrogenaudio.org/forums/index....showtopic=56531

BTW you're right, even an automated use of ARCue wouldn't be useful for checking a whole lossless collection - just imagine having to generate 1500 album FLAC/cues from my 20.000+ files ! It would be an enormous waste of time (and disk space, even if this could be solved if each FLAC/cue is automatically deleted after checking). So I agree with you, ARCue is not the solution for large libraries. We need a fb2k component to do this. So I'm joining your thread. Thanks ! wink.gif
Go to the top of the page
+Quote Post
spoon
post Jan 11 2008, 21:11
Post #8


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2749
Joined: 24-March 02
Member No.: 1615



Getting a TOC from files is no where near 100% (your files would have to have exact lengths, ok for lossless this is not a problem), then the CD would have to have the first track start at 150 frames in, most cds do, those that do not you cannot lookup.

>I doubt he would write such a tool: 1. it will cost him time

The time issue is the main one, when I have solid 1 years worth of work already booked in so to speak, adding more time to accuraterip (it takes time everytime the database is constructed) is a no go ATM.


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
gausome
post Apr 22 2008, 00:27
Post #9





Group: Members
Posts: 4
Joined: 21-April 08
Member No.: 52964



QUOTE (Fandango @ Jan 11 2008, 11:52) *
It is not benefiting his other product, the AR database, either, since the AR results of such a tool will not be added to the database!

Even though the info would not get included in the DB, still it is almost always beneficial for any service to have more users - they will be more likely to use that system when making their own rips, and people that are already contributing will be more inclined to help as it will benefit more users.

QUOTE (spoon @ Jan 11 2008, 14:11) *
Getting a TOC from files is no where near 100% (your files would have to have exact lengths, ok for lossless this is not a problem), then the CD would have to have the first track start at 150 frames in, most cds do, those that do not you cannot lookup.

>I doubt he would write such a tool: 1. it will cost him time

The time issue is the main one, when I have solid 1 years worth of work already booked in so to speak, adding more time to accuraterip (it takes time everytime the database is constructed) is a no go ATM.

This could only work for lossless files, but as long as the offsets can be accounted for (or just accept that some may not be included) it would be a great tool. Instead of worrying about additional file information like a TOC, can't you do a straight comparison using the AR CRC? If that CRC is found, then the file is good, if it's not then probably there is something wrong with the file (or it is rare, and someone should use the full program to submit the new track info). IDK if there is a problem with track vs. full CDs, but if I understand correctly then a unique and reliable CRC can be found for each track, as long as someone has submitted it in the past.
Hopefully there is a way to use the AR database to accomplish this, without the need for any additional development by you or to AR itself, perhaps a plugin to foobar or likewise would be possible.
Go to the top of the page
+Quote Post
spoon
post Apr 22 2008, 09:11
Post #10


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2749
Joined: 24-March 02
Member No.: 1615



You need the CD Toc to generate the accuraterip disc id, for non cd-enhanced cds you could use the metadata, look it up in MusicBrainz and get the track times for the cd, which should be enough to calculate the disc id.


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
RamonSalazar
post Apr 29 2008, 07:56
Post #11





Group: Members
Posts: 37
Joined: 21-October 07
Member No.: 48027



Use TripleFlac!

TripleFlac! (using libFlac1.2.1)

TripleFlac! (using libFlac1.1.4)
Go to the top of the page
+Quote Post
edwardar
post Apr 30 2008, 22:06
Post #12





Group: Members
Posts: 98
Joined: 8-July 04
Member No.: 15139



QUOTE (RamonSalazar @ Apr 29 2008, 06:56) *


Wow, that tool looks very interesting. I got it to work just once though - it keeps returning 404 errors when trying to contact the accuraterip database. Is there something I'm doing wrong? Where did this tool come from?

EDIT: found the problem, the directory on the left has to be highlighted for the tool to be able to scan the album.

EDIT2: Also it appears only to work on albums with separate files for each song, not single file rips.


Ed

This post has been edited by edwardar: Apr 30 2008, 22:17
Go to the top of the page
+Quote Post
edwardar
post May 5 2008, 18:19
Post #13





Group: Members
Posts: 98
Joined: 8-July 04
Member No.: 15139



Anyone got any info on this tripleflac program? It loads up and calls itself "Facie's Flac Fixer", but I can't find any more info.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st October 2014 - 05:36