how to save coverart extension as .jpg (rather than .jpeg)

Discuss Max, an open source CD audio extractor and audio converter.
Post Reply
cenk
Posts: 13
Joined: Sat Nov 29, 2008 2:05 pm

how to save coverart extension as .jpg (rather than .jpeg)

Post by cenk » Thu May 21, 2009 3:58 pm

I am using an Apple MBP with Mac OSX...

1) How can I save the coverart files with extension .jpg (rather than .jpeg). NV+ ReadyNAS does not display the coverarts with extension .jpeg (but is OK with .jpg).
2) Is there any downside in saving the coverart files with extension .jpg?

many thanks in advance.

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by sbooth » Thu May 21, 2009 10:45 pm

If you are familiar with Xcode and don't mind the command line see http://forums.sbooth.org/viewtopic.php?f=2&t=2385#p8894

cenk
Posts: 13
Joined: Sat Nov 29, 2008 2:05 pm

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by cenk » Fri May 22, 2009 3:14 pm

Thank you... I have not done much programing. Where can I find encoderTask.m file to edit it? Thanks again.

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by sbooth » Fri May 22, 2009 6:49 pm

  • Grab the source code using svn or download a tarball from files.sbooth.org
  • Unpack it and cd to the directory
  • Build the frameworks with cd Frameworks && ./build-frameworks
  • Edit EncoderTask.mm in Tasks/EncoderTasks/EncoderTask.mm
  • Build Max using xcodebuild

cenk
Posts: 13
Joined: Sat Nov 29, 2008 2:05 pm

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by cenk » Sat May 30, 2009 2:39 pm

Being programming disabled, is there an easier way to save the cover arts as .jpg? Thanks again...

RonaldPR
Posts: 433
Joined: Tue May 30, 2006 8:27 am
Location: Amsterdam, Netherlands

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by RonaldPR » Sat May 30, 2009 4:35 pm

To someone who is not familiar with the command line, the instructions are complete gibberish. It is not difficult, here is a step-by step guide:

You need to have Xcode Developer Tools installed, the version compatible with your MacOSX version. The installer will be on your system install CD.

Direct your web-browser to http://files.sbooth.org/

Download Max-0.8.1-source.tar.bz2

Place the downloaded file on your desktop.

Decompress the file, the folder Max-0.8.1-source will appear on your desktop

Now open Terminal (in /Applications/Utilities/)

In Terminal you type command lines at the prompt, each time followed by a return. Some commands are executed quickly, others may take a while, producing a lot of text in the window. Always wait until again your short user name followed by a $ appears, indicating that you can enter the next command. Take care to type the commands exactly as shown in the green lines below, including spaces. Best copy and paste the lines.

In Terminal, type:

Code: Select all

cd Desktop/Max-0.8.1-source/Frameworks && ./build-frameworks.sh
(This way you go into Max-0.8.1-source/Frameworks and build the frameworks.)

Code: Select all

open ../Tasks/EncoderTasks/EncoderTask.m
(This will open EncoderTask.m in Xcode application)

If the lines are not numbered, you can set line numbering in Xcode preferences > Text Editing tab, check "Show line numbers".
Go to line 213, and change extension = @"jpeg"; into extension = @"jpg";
Close Xcode window and click "Save all".

Meanwhile, Terminal is still open and still in Frameworks.

Code: Select all

cd ../ && xcodebuild
(This will build the application.)

Code: Select all

cp -R build/Release/Max.app ../
(This will copy your new Max application to your desktop.)

You may need to select the icon in the Finder to make the Finder recognize it as a proper application.

cenk
Posts: 13
Joined: Sat Nov 29, 2008 2:05 pm

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by cenk » Tue Jun 09, 2009 1:31 pm

Dear Roland,
Many many thanks... Your "very" clear and step by step instructions worked and the problem resolved. Now, my coverart files are saved with .jpg extension. Thanks again, Cenk

TomBK
Posts: 14
Joined: Mon Feb 23, 2009 8:31 pm

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by TomBK » Tue Jun 09, 2009 9:14 pm

Now, if we could just have a how-to-build-Max using cdparanoia III 10.2 instead of 9.8 and a quiry to AcurrateDB + a logfile, we wouldn't have to defend ourselves to those pedantic XLD users... :mrgreen:

Tom
ADS/D/Cara1 • KK/1/D • 5103 • 2 Solos • 242s/quinwired k600+k400 • Center: Klout/Ekwal aktiv • Linn silver ics • Readynas Duo/Twonky 5.0.68
Bits & bobs listed elsewhere...;-) But I'm on a Mac...

User avatar
sbooth
Site Admin
Posts: 2445
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by sbooth » Wed Jun 10, 2009 2:50 am

If it's Accurate Rip support you want, you'll need to check out Rip.

TomBK
Posts: 14
Joined: Mon Feb 23, 2009 8:31 pm

Re: how to save coverart extension as .jpg (rather than .jpeg)

Post by TomBK » Wed Jun 10, 2009 9:08 pm

Hi Stephen

I've checked out Rip and tried out the latest build Rip-1.0b9 but can't get it to rip...probably not supposed to at the moment... :wink:

It's just that I've gotten used to Max, so it kind of puzzles me what prevented you from building/rebuilding Max, instead of starting from scratch...?

Not having cdparanoia as the engine in Rip renders our arguments down to almost nothing when discussing other rippers...unless the custom engine in Rip is widely known and approved...?

Cheers
Tom
ADS/D/Cara1 • KK/1/D • 5103 • 2 Solos • 242s/quinwired k600+k400 • Center: Klout/Ekwal aktiv • Linn silver ics • Readynas Duo/Twonky 5.0.68
Bits & bobs listed elsewhere...;-) But I'm on a Mac...

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests