Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

googlephotos: added warning for Google Photos compatability-fixes #8672

raider132096249009fdf6b
diff --git a/backend/googlephotos/googlephotos.go b/backend/googlephotos/googlephotos.go
index f45110d44..bbe7d84b1 100644
--- a/backend/googlephotos/googlephotos.go
+++ b/backend/googlephotos/googlephotos.go
@@ -117,16 +117,22 @@ func init() {
} else {
oauthConfig.Scopes = scopesReadWrite
}
- return oauthutil.ConfigOut("warning", &oauthutil.Options{
+ return oauthutil.ConfigOut("warning1", &oauthutil.Options{
OAuth2Config: oauthConfig,
})
- case "warning":
+ case "warning1":
// Warn the user as required by google photos integration
- return fs.ConfigConfirm("warning_done", true, "config_warning", `Warning
+ return fs.ConfigConfirm("warning2", true, "config_warning", `Warning
IMPORTANT: All media items uploaded to Google Photos with rclone
are stored in full resolution at original quality. These uploads
will count towards storage in your Google Account.`)
+
+ case "warning2":
+ // Warn the user that rclone can no longer download photos it didnt upload from google photos
+ return fs.ConfigConfirm("warning_done", true, "config_warning", `Warning
+IMPORTANT: Due to Google policy changes rclone can now only download photos it uploaded.`)
+
case "warning_done":
return nil, nil
}