feat: implement YouTube API integration for syncing releases with music productions, including new command and UI components
This commit is contained in:
@@ -101,4 +101,25 @@ return [
|
||||
'spotify_premium_required' => 'The Spotify account that owns the Developer app needs an active Premium subscription. Sign in to Spotify Developer Dashboard with that account, upgrade to Premium, and wait a few hours. Detail: :detail',
|
||||
'spotify_no_albums' => 'No albums or singles found on the Spotify artist account.',
|
||||
'spotify_untitled_album' => 'Untitled Album',
|
||||
|
||||
// YouTube
|
||||
'youtube_section' => 'YouTube Information',
|
||||
'youtube_video_id_field' => 'YouTube Video ID',
|
||||
'youtube_url_field' => 'YouTube URL',
|
||||
'youtube_description_field' => 'YouTube Description',
|
||||
'youtube_synced_at_field' => 'Last YouTube Sync',
|
||||
'youtube_watch_on_youtube' => 'Watch on YouTube',
|
||||
'sync_youtube' => 'Sync from YouTube',
|
||||
'sync_youtube_heading' => 'YouTube Releases Sync',
|
||||
'sync_youtube_description' => 'Art track releases from your channel\'s Releases playlist will be synced to music productions. Existing records are updated by title match, new records are created.',
|
||||
'youtube_sync_started' => 'Starting YouTube Releases sync...',
|
||||
'youtube_sync_completed' => 'Sync completed. :created created, :updated updated (:total total).',
|
||||
'youtube_sync_success' => 'YouTube sync completed successfully.',
|
||||
'youtube_sync_failed' => 'YouTube sync failed. Check the logs.',
|
||||
'youtube_not_configured' => 'YouTube API credentials are missing. Set YOUTUBE_API_KEY and YOUTUBE_CHANNEL_ID (or YOUTUBE_PLAYLIST_ID) in your .env file.',
|
||||
'youtube_releases_fetch_failed' => 'Failed to fetch YouTube Releases list.',
|
||||
'youtube_referrer_blocked' => 'YouTube API key rejected the server request. Your current key is likely restricted to HTTP referrers for the website. Fix: Google Cloud Console → Credentials → Create API key → Application restrictions: "None" (or your server IP) → API restrictions: YouTube Data API v3 → set the new key as YOUTUBE_API_KEY in .env. Detail: :detail',
|
||||
'youtube_playlist_not_resolved' => 'Could not resolve YouTube Releases playlist ID. Set YOUTUBE_CHANNEL_ID or YOUTUBE_PLAYLIST_ID.',
|
||||
'youtube_no_releases' => 'No releases found in the YouTube Releases playlist.',
|
||||
'youtube_untitled_release' => 'Untitled Release',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user