Source Providers

Google Photos

Content Source based on Google Photos media.

The Google Photos source feeds media from the Google Photos service. Based on the multi-instance source workflow it allows connecting to multiple accounts with different configurations.


Settings

The source settings determines the content structure, every time the instance is saved the structure will be regenerated.

Google Photos Configuration
SettingDescriptionRequired
AccountThe Google account which to authenticate with.

The following settings are common to all source instances.

Source Instance Common Settings
SettingDefaultDescription
NameGoogle PhotosThe name that will identify this source instance.
Default Cache Time3600The default duration in seconds before the cache is renewed, set to 0 to disable caching. This setting can be overriden in each query configuration.

Content Structure

Be cautious, changing certain settings of an instance might affect it content structure and break existing content mappings.


Authentication

Authentication is based on the OAuth protocol driven by the Google OAuth Driver.

Google OAuth Driver

Content Queries

For every source instance the following content queries will be made available as Dynamic Content option.

Album Query

Fetches a single album resolving to a Album Type.

SettingDefaultDescription
Album IDThe ID of the album to query.
Cache3600The duration in seconds before the cache is invalidated and the query re-executed.

Albums Query

Fetches all albums from the library resolving to a list of Album Type.

SettingDefaultDescription
Cache3600The duration in seconds before the cache is invalidated and the query re-executed.

Album Media Query

Fetches media from a single album resolving to a list of Media Type.

SettingDefaultDescription
Album IDThe ID of the album to query.
Page SizeThe number of the page which to query.
Cache3600The duration in seconds before the cache is invalidated and the query re-executed.

Content Types

The content types define the mapping options for the source content.

Album Type

Defines the mapping options of an Album object.

OptionDescriptionTypeFilters
IDUnique identifier of the album.String
TitleTitle of the album.StringLimit
Cover Photo URLThe album cover photo URL.String
Total Media CountThe album total amount of media.Int

Media Type

Defines the mapping options of a Media object.

Media

OptionDescriptionTypeFilters
IDOpaque identifier of the media.String
URLThe path to the locally cached media file, with optionall arguments Width and Height .String
DescriptionDescription of the media. This is shown to the user in the item's info section in the Google Photos app.StringLimit
FilenameFilename of the media. This is shown to the user in the item's info section in the Google Photos app.String
MIME TypeMIME type of the media. For example, image/jpeg.String

Metadata

OptionDescriptionType
WidthOriginal width (in pixels) of the media.Int
HeightOriginal height (in pixels) of the media.Int
Creation TimeTime when the media was first created (not when it was uploaded to Google Photos).String
Camera BrandBrand of the camera with which the photo was taken.String
Camera ModelModel of the camera with which the photo was taken.String

Metadata (Video)

OptionDescriptionType
Frame RateFrame rate of the media in case is a video.Int

Metadata (Photo)

OptionDescriptionType
Camera ISOISO of the camera with which the photo was taken.Int
Focal LengthFocal length of the camera lens with which the photo was taken.Int
Aperture FAperture f number of the camera lens with which the photo was taken.Int
Exposure TimeExposure time of the camera aperture in seconds when the photo was taken.String
Previous
Google Calendar