Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On 14.6.1, system library path is now in group.com.apple.photolibraryd.private.plist #1718

Open
RhetTbull opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working feature request New feature or request

Comments

@RhetTbull
Copy link
Owner

RhetTbull commented Oct 16, 2024

In earlier versions of macOS, the system library path can be read from:

Containers/com.apple.photolibraryd/Data/Library/Preferences/com.apple.photolibraryd.plist

On 14.6.1 it is now in:

Containers/com.apple.photolibraryd/Data/Library/Preferences/group.com.apple.photolibraryd.private.plist

There's also a private API:

PrivateFrameworks/PhotoLibraryServicesCore.framework/PLLibraryBookmarkManager.h
2:@interface PLLibraryBookmarkManager : NSObject {

I wonder if this can be used to retrieve all the libraries that photolibraryd knows about?

Also, in the PLLibraryBookmarkManagerBookmarksByPath key of the usual plist file, there are bookmarks to all known Photos libraries. This might be a more robust means of getting a list of all libraries.

@RhetTbull RhetTbull added bug Something isn't working feature request New feature or request labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant