mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
googlephotos: added warning for Google Photos compatability-fixes #8672
This commit is contained in:
committed by
Nick Craig-Wood
parent
8e2d76459f
commit
6249009fdf
@@ -117,16 +117,22 @@ func init() {
|
|||||||
} else {
|
} else {
|
||||||
oauthConfig.Scopes = scopesReadWrite
|
oauthConfig.Scopes = scopesReadWrite
|
||||||
}
|
}
|
||||||
return oauthutil.ConfigOut("warning", &oauthutil.Options{
|
return oauthutil.ConfigOut("warning1", &oauthutil.Options{
|
||||||
OAuth2Config: oauthConfig,
|
OAuth2Config: oauthConfig,
|
||||||
})
|
})
|
||||||
case "warning":
|
case "warning1":
|
||||||
// Warn the user as required by google photos integration
|
// 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
|
IMPORTANT: All media items uploaded to Google Photos with rclone
|
||||||
are stored in full resolution at original quality. These uploads
|
are stored in full resolution at original quality. These uploads
|
||||||
will count towards storage in your Google Account.`)
|
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":
|
case "warning_done":
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user