Skip to content

Latest commit

 

History

History
85 lines (84 loc) · 8.14 KB

album.rst

File metadata and controls

85 lines (84 loc) · 8.14 KB

Properties of album records

Property Type Description
modelId int Internal primary key (not that useful.)
uuid str A unique key referenced by other tables (useful for recognizing relationships.)
albumType integer Unsure. This is always 1 in my library.
albumSubclass integer This is 1 for events, 2 for "smart" albums, which are constructed dynamically from a query, and 3 for regular albums.
serviceName str Unsure. Always NULL in my library.
serviceAccountName str Unsure. Always NULL in my library.
serviceFullName str Unsure. Always NULL in my library.
name str Album name. I've seen this at NULL and at '' when no name has been defined.
folderUuid str Uuid of the associated Folder record.
folder Folder The associated Folder record.
queryFolderUuid str Unsure.
posterVersionUuid str Uuid of the Version record used as the "Key Photo" for the album.
selectedTrackPathUuid str Unsure. Always NULL in my library.
sortKeyPath str

It looks like there are several objects whose properties are fair game, and multiple properties can be separated via ampersands, but there might be some additional syntax to sort in descending order. I've seen the following values in my library:

  • exifProperties.ImageDate
  • basicProperties.projectDate&exifProperties.ImageDate
  • basicProperties.VersionName
  • custom.default
sortAscending integer Unsure. This defaults to 1, but I don't know if 0 implies "descending" or "custom sorting".
customSortAvailable integer Unsure.
versionCount integer Number of photos in the associated Folder.
createDate datetime Unsure.
isFavorite integer Unsure. This is always 0 for me, and I see no way to mark an album as a "favorite" from the UI.
isInTrash integer 1 if the album has been discarded, 0 otherwise.
isHidden integer Unsure, since I don't know how to access that feature from the UI.
isMagic integer Identifies albums associated with special folders. This seems to include folders with folderType = 1, but also "My Photo Stream".
publishSyncNeeded integer Unsure.
colorLabelIndex integer Unsure.
faceSortKeyPath str Unsure. Always NULL in my library.
recentUserChangeDate datetime Unsure.
filterData bytes Keyed archive.
queryData bytes Keyed archive.
viewData bytes Keyed archive.
selectedVersionIds bytes Unsure.