Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nermal

Moderator
Staff member
Dec 7, 2002
20,982
4,546
New Zealand
I'm not actually sure what you're asking. When bands release free MP3s on their sites, surely they check them before uploading! So what's the use of that app? (I haven't looked at the site yet).
 

superbovine

macrumors 68030
Nov 7, 2003
2,872
0
MrVegas said:
There is an application in Windows that is kind of a freeware thing for checking MP3 downloads for integrity. I'm moving into the Mac world and wondered if there are any geeks on here who can help rewrite this thing so it works on a Mac. I just bought a new G5.

I would be willing to pay about $$ for the help.

This link takes you to the place where they say you can download the source code.

http://www.ubernet.org/index.php?p=UsingAQScript


Thanks,
Bob

http://www.rentacoder.com
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
It seems to be written in Ruby (which is a bit non-standard on the Mac to say the least). On the upside Ruby is a scripting language (a bit like Perl) so just downloading Ruby for OSX and the source should be pretty much all there is to it. Whilst it will probably compile the code it will be done at runtime so you don't need anyone to compile it for you. If I have time later (i.e. tomorrow) I'll have a look at this and post some step-by-step instructions.
 

MrVegas

macrumors regular
Original poster
Jun 4, 2005
136
0
Columbia, Md.
robbieduncan said:
It seems to be written in Ruby (which is a bit non-standard on the Mac to say the least). On the upside Ruby is a scripting language (a bit like Perl) so just downloading Ruby for OSX and the source should be pretty much all there is to it. Whilst it will probably compile the code it will be done at runtime so you don't need anyone to compile it for you. If I have time later (i.e. tomorrow) I'll have a look at this and post some step-by-step instructions.

That would be great! Thanks.
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
This all assumes you are on 10.4 (as that's what I'm running).

Ruby is already installed by default (which is nice). You can confirm this by opening the Terminal and typing:

Code:
which ruby

All being well you should get

Code:
/usr/bin/ruby

If you don't get this back then try installing the developer tools as ruby might just be installed with them.

Download the source rar file (and if your Safari is like mine remove the .txt extension it adds). Use Stufit to extract the code.

Then try and run the code. At this point I cannot get going. I don't know much about ruby but it seems to be trying to load a shared library (digest/crc32_in_c) included in the "source" and can't, probably because the library is compiled for Windows/x86. Source should be just that, the source code, not source code and binary files mixed.

Anyone else got any ideas?
 

Omen88

macrumors regular
Jan 8, 2002
177
0
Flanders (Belgium)
yup the files in the digest folder are .so, which means they have already been compiled. An idea would be to ask the programmer for the source of these files.

And the previous poster is right, sourcecode should be sourcecode and nothing else.
 

Omen88

macrumors regular
Jan 8, 2002
177
0
Flanders (Belgium)
MrVegas said:
I doubt if I can get ahold of the programmer for the source of the .so files. :(

Can't do anything wrong with trying. If he's prepared to put the source online of his application, he wouldn't mind sharing the source for digest files which are CRC32, MD5 and SHA1 checksum algorithms. He surely didn't write that himself, as they are very common.
 

s0nspark

macrumors newbie
Mar 6, 2007
1
0
US
Can't do anything wrong with trying. If he's prepared to put the source online of his application, he wouldn't mind sharing the source for digest files which are CRC32, MD5 and SHA1 checksum algorithms. He surely didn't write that himself, as they are very common.

Okay, I know this is a little late coming :) I have been interested for some time with the idea of porting AQScript to the Mac and Linux. I have begun workj on a port, the first step of which was stripping out any code that was pulled from the ruby standard lib (which is distributed with ruby itself) and identifying any 3rd-party code that was integrated ... The CRC32 extension is one such piece of code - it was not written as part of AQScript itself (which I suppose is why the c source was not included) - and I have sent the original CRC32 author an email requesting the source.

In any case, my plan is to generalize AQScript by removing the stuff that is overly specific to Ubernet (their standard is a bit too draconian for my taste, although they mean well) to where it would be useful as a general purpose mp3 verification tool. If I cannot get the CRC32 source I'll simply replace it with another lib... I intend to do some code cleanup as well - the AQScript code is a bit crufty in places and although some may not mind just throwing code like that into public view I am a bit more conscientious :)

I plan to release version for Windows, Mac, and Linux once it is complete. If you have any questions or suggestions feel free to contact me...

s0nspark <at> gmail <dot> com
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.