PowerTunes 1.0.2 released
Posted on December 9, 2008 by Brian Webster
Filed Under News, PowerTunes, Updates | 1 Comment
A new update to PowerTunes is finally ready today, PowerTunes 1.0.2. I’ve been wanting to get this out for a while, but Stuff™ (such as preparing to move across the country in about a month) has kept getting in the way. It’s mainly a bug fix release, with several updates for working more smoothly with iTunes 8. There were no major bugs with iTunes 8, just a few things that were either cosmetically wrong, or obscure bugs that cropped up with just the right combination of settings (mostly having to do with the new Genius playlist). You can check out the release notes for the full list of changes.
One thing that is not in the update, which a few people have asked about, is support for managing iPhone applications using PowerTunes. Unfortunately, this is not a simple matter, because as of iTunes 8.0.2, Apple does not provide any mechanism for accessing the list of iPhone applications that are in a given iTunes library. I’ve even filed enhancement requests for this, but suffice it to say, I’m not confident that Apple will be adding this functionality anytime in the near future. So for now, managing iPhone applications will have to be done manually, I’m afraid. I will be looking into other ways of assisting with this in upcoming releases though. And feel free to (politely) bug Apple for this functionality for me if you feel like it.
How to create a fake digital camera for Image Capture
Posted on December 5, 2008 by Brian Webster
Filed Under Development, iPhoto | 1 Comment
I’ve been fooling around with some Image Capture APIs lately, but the only convenient camera device I have to work with is my iPhone, which doesn’t really have any way to put specific images onto it if I want to test things out like different formats, movies, etc. After digging around with the Image Capture SDK a bit, though, I’ve found a simple way to make a fake “camera” that Image Capture will recognize, but doesn’t require plugging in a physical device.
The trick is to create a disk image that, when mounted, Image Capture believes to be a digital memory card, and treats as a digital camera, so it shows up in iPhoto, Image Capture.app, and so forth. There appear to be a bunch of different ways to do this, but here’s the method I used that worked for me:
- Open Disk Utility and click the “New Image” button in the toolbar. In the configuration sheet, choose “MS-DOS (FAT)” for the Volume Format, and “Single Partition – Master Boot Record Partition Map” for the Partitions setting. You can enter whatever name and volume size you like, then click “Create”.
- Once the image is created and mounted, open it up in the Finder. Create a new folder at the root level of the mounted disk image and name it “CAMERA”. Then, go ahead and copy whatever pictures or other items you want to test with inside the CAMERA folder. This appears to be one particular camera’s way of storing photos on its memory card – there are a whole bunch of others (”DCIM”, “Photos”, “Videos”, etc.) that would work equally well.
- Click the eject button in the Finder, then double click the image file to mount the image again. If everything is set up correctly, the act of mounting the image should cause Image Capture to fire up whatever application you have set to handle your digital cameras (e.g. iPhoto), and the images you put in the CAMERA folder should appear in the list of photos for the device.
Not only does this save having to plug and unplug a device whenever you’re doing testing with Image Capture, but it’s also really nice for test suites, since you can just include the disk image as data for your tests, and then mount the image to simulate plugging in a camera.