Prepare built-in OAuth client for YouTube connections

This commit is contained in:
WarmUpTill
2026-11-09 20:24:49 +01:00
parent a4b96d05ed
commit da61bbfa08
8 changed files with 104 additions and 19 deletions

View File

@@ -1988,7 +1988,10 @@ AdvSceneSwitcher.youtubeConnection.invalid="Invalid YouTube connection"
AdvSceneSwitcher.youtubeConnection.name="Channel name:"
AdvSceneSwitcher.youtubeConnection.clientId="Client ID:"
AdvSceneSwitcher.youtubeConnection.clientSecret="Client secret:"
AdvSceneSwitcher.youtubeConnection.useOwnClient="Use OAuth credentials of my own Google Cloud project"
AdvSceneSwitcher.youtubeConnection.useOwnClient.tooltip="All users of the built-in client share its daily YouTube API quota.\nUse your own Google Cloud project if you run into quota limits, e.g. due to conditions checked for long periods of time."
AdvSceneSwitcher.youtubeConnection.clientConfig.help="YouTube connections use the OAuth credentials of your own Google Cloud project:\n\n1. Create a project at console.cloud.google.com\n2. Enable the \"YouTube Data API v3\"\n3. Configure the OAuth consent screen with the audience \"External\"\n4. Set the publishing status to \"In production\", otherwise the connection expires after 7 days\n5. Create an OAuth client ID of the type \"Desktop app\"\n6. Enter the client ID and client secret here"
AdvSceneSwitcher.youtubeConnection.setupGuide="<a href=\"https://github.com/WarmUpTill/SceneSwitcher/wiki/YouTube-connection-setup\">Setup guide and troubleshooting</a>"
AdvSceneSwitcher.youtubeConnection.connect="Connect Account"
AdvSceneSwitcher.youtubeConnection.connect.waiting="Waiting for approval in the browser ... (%1 s)"
AdvSceneSwitcher.youtubeConnection.connect.success="Account is connected!"