Anything planned for "Photos" app support yet?

88 views
Skip to first unread message

Ilja Iwas

unread,
Feb 11, 2015, 5:08:06 AM2/11/15
to imedi...@googlegroups.com
Hi,

With the release of Apple's new "Photos" app looming over us, I was wondering if there's already some work on the way to support it.

Regards,
Ilja

Joerg Jacobsen

unread,
Feb 11, 2015, 5:17:42 AM2/11/15
to imedi...@googlegroups.com
Hi Ilja,

I just started implementing a Photos app parser for iMedia 3. It will be based on Apple’s Media Library framework and should be ready for prime time when Apple ships 10.10.3.

I would also be interested to know what people at Karelia are planning and whether they will also bet on the Media Library framework (I was anticipating to see support for the Photos framework with the advent the Photos app on OS X but that doesn’t seem to be the case).

Regards,

Jörg

--
You received this message because you are subscribed to the Google Groups "iMedia Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to imedia-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pierre Bernard

unread,
Feb 11, 2015, 5:22:02 AM2/11/15
to imedi...@googlegroups.com
Hi Jörg,

I had made some experiments with the media library framework a while back:

Photos.app was added as a new media source.

Pierre

Joerg Jacobsen

unread,
Feb 11, 2015, 5:38:53 AM2/11/15
to imedi...@googlegroups.com
Hi Pierre,

thanks for the refresher.

As you state in your post, unfortunately we won’t be able to utilize the NSMediaLibraryBrowserController nor the panel it is dedicated to use since Apple only supports its own products.

Regards,

Jörg

Pierre Bernard

unread,
Feb 11, 2015, 5:47:36 AM2/11/15
to imedi...@googlegroups.com
Hi Joerg,

For my purposes, NSMediaLibraryBrowserController is completely useless.
A drag from there provides the URL of the preview image and an object ID.

To make sense of the object ID, I need to load a second copy MLMediaLibrary. I believe the one NSMediaLibraryBrowserController uses lives in a separate non-sandboxed process.

Pierre


From: Joerg Jacobsen <joerg.j...@mac.com>
Reply: imedi...@googlegroups.com <imedi...@googlegroups.com>>
Date: 11 Feb 2015 at 11:38:55
To: imedi...@googlegroups.com <imedi...@googlegroups.com>>
Subject:  Re: [imedia-dev] Anything planned for "Photos" app support yet?

Hi Pierre,

thanks for the refresher.

As you state in your post, unfortunately we won’t be able to utilize the NSMediaLibraryBrowserController nor the panel it is dedicated to use since Apple only supports its own products.

Regards,

Jörg

Am 11.02.2015 um 11:21 schrieb Pierre Bernard <pierre....@houdah.com>:

Hi Jörg,

I had made some experiments with the media library framework a while back:

Photos.app was added as a new media source.

Pierre


From: Joerg Jacobsen <joerg.j...@mac.com>
Reply: imedi...@googlegroups.com <imedi...@googlegroups.com>>
Date: 11 Feb 2015 at 11:17:44
To: imedi...@googlegroups.com <imedi...@googlegroups.com>>
Subject:  Re: [imedia-dev] Anything planned for "Photos" app support yet? 


ted.sl...@plasq.com

unread,
Feb 12, 2015, 8:15:11 PM2/12/15
to imedi...@googlegroups.com
Hi Joerg,

I'm really interested in "Photos" support... I hope you'll keep us posted about your progress. If you need help with testing, let me know!

Ted


On Wednesday, February 11, 2015 at 2:47:36 AM UTC-8, Pierre Bernard wrote:
Hi Joerg,

For my purposes, NSMediaLibraryBrowserController is completely useless.
A drag from there provides the URL of the preview image and an object ID.

To make sense of the object ID, I need to load a second copy MLMediaLibrary. I believe the one NSMediaLibraryBrowserController uses lives in a separate non-sandboxed process.

Pierre

Daniel Jalkut

unread,
Apr 22, 2015, 4:08:31 PM4/22/15
to imedi...@googlegroups.com
Hi Jörg - thank you for putting in the effort to add Photos support to iMedia 3. I tested it briefly and it seems to work.

Any glaring issues we should know about before deciding whether to ship that support to customers? I have been getting more and more requests for Photos.app support and would like to get ahead of it soon.

I also would be curious to know if anybody has made an effort to adapt Jörg's work to iMedia 2. I am bundling iMedia 3 with my next major update, but for maintenance updates I'm still on iMedia 2. I might take a crack at adapting/backporting it unless somebody else already has.

Daniel

Pierre Bernard

unread,
Apr 22, 2015, 5:26:29 PM4/22/15
to imedi...@googlegroups.com
Daniel,

I have a pull request with a Photos.app parser for iMedia 2: https://github.com/karelia/iMedia/pull/99

This currently ships in HoudahGeo 4.1

Jörgs code on iMedia 3 has made progress since I backported it to iMedia 2.
I need to catch up.

Pierre


From: Daniel Jalkut <jal...@gmail.com>
Reply: imedi...@googlegroups.com <imedi...@googlegroups.com>>
Date: 22 Apr 2015 at 22:08:35
To: imedi...@googlegroups.com <imedi...@googlegroups.com>>
Subject:  Re: [imedia-dev] Anything planned for "Photos" app support yet?

Daniel Jalkut

unread,
Apr 22, 2015, 5:54:56 PM4/22/15
to imedi...@googlegroups.com
Oh, that’s great. Thanks, Pierre.

Daniel

Joerg Jacobsen

unread,
Apr 23, 2015, 4:36:33 AM4/23/15
to imedi...@googlegroups.com
Hi Daniel,

I am pretty happy with what I tagged as v3.2.1 (and yet cross my fingers). GarageSale already stuck out its head to customers for us so a couple of issues that popped up are already taken care of by now.

I have not put much effort into the Apple Media Library based parser for iTunes, so I would call that one experimental.

The new Photos, iPhoto, and Aperture parsers based on Apple Media library framework should work fine. And the new display of folder and faces in media object view looks gorgeous. Speed (specifically library initialization) is somewhat slower compared to our XML file-based parsers which I attribute to current limitations and architecture of Apple’s media library framework. Also, there is no life update to library nodes if the source changed (will have another look into that but it seems to me that AMLF does not issue appropriate notifications yet).

Looking forward to release of MarsEdit 4,

Jörg

Daniel Jalkut

unread,
Apr 30, 2015, 9:33:48 AM4/30/15
to imedi...@googlegroups.com
I've had the chance now to integrate this into my own iMedia branch, and it works! (On my Mac, anyway :) ).

Unfortunately the first beta tester I've asked to try it has come back with a report that the Photos icon appears but no contents are shown. In his console log, the only thing of note to my eyes is a couple errors like:

__38-[MLMediaLibraryImpl connectToService]_block_invoke connection interrupted

Does this ring a bell for anybody?

Also BTW I ended up adapting the code to conditionally compile for x86_64, and to weak link to a stub library version of MediaLibrary.framework, because MarsEdit 3 still targets 10.6 and *builds* on a 10.6 machine. If this would be handy to anybody else let me know and I'll share my approach.

Daniel

On Wednesday, April 22, 2015 at 5:26:29 PM UTC-4, Pierre Bernard wrote:
Daniel,

I have a pull request with a Photos.app parser for iMedia 2: https://github.com/karelia/iMedia/pull/99

This currently ships in HoudahGeo 4.1

Jörgs code on iMedia 3 has made progress since I backported it to iMedia 2.
I need to catch up.

Pierre

Joerg Jacobsen

unread,
Apr 30, 2015, 9:57:44 AM4/30/15
to imedi...@googlegroups.com
Yes, it does.

This usually happens if the (sandboxed) app does not have sufficient entitlements. For Apple Media Library to work you need at least read-only access to the standard folders for the media types you want to support (pictures folder, music folder, movies folder).

Regards, Jörg

Daniel Jalkut

unread,
May 1, 2015, 11:00:40 AM5/1/15
to imedi...@googlegroups.com
Interesting, thanks Jörg! What's fascinating in this case is the app in question is not sandboxed. I confirmed with another beta tester that it works for them, so something is peculiar I guess about the permissions for this one user. I guess if it's not sandboxing it must be some other issue probably preventing the access from succeeding.

I'll let the group know if I learn anything else.

Daniel

ai...@plasq.com

unread,
May 5, 2015, 8:50:24 AM5/5/15
to imedi...@googlegroups.com
I guess that's already the case of your app but the app also needs to be signed to be able to access to the Apple Media Library, even if it's not sandboxed

Airy

Joerg Jacobsen

unread,
May 8, 2015, 4:28:14 AM5/8/15
to imedi...@googlegroups.com
Everyone still referencing branch apple-photos-parser should probably read this:


Jörg 
Reply all
Reply to author
Forward
0 new messages