mirror of
https://github.com/OMGeeky/downloader.git
synced 2026-02-23 15:38:31 +01:00
pass playlist privacy on creation
This commit is contained in:
@@ -7,7 +7,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
google_bigquery_v2 = { version = "0.2", git = "https://github.com/OMGeeky/google_bigquery_v2" }
|
||||
google_youtube = { version = "0.1", git = "https://github.com/OMGeeky/google_youtube" }
|
||||
google_youtube = { version = "0.2", git = "https://github.com/OMGeeky/google_youtube" }
|
||||
twitch_data = { version = "0.2", git = "https://github.com/OMGeeky/twitch_data" }
|
||||
downloader_config = { version = "0.4", git = "https://github.com/OMGeeky/downloader_config" }
|
||||
tokio = "1.23"
|
||||
|
||||
@@ -411,7 +411,7 @@ async fn upload_video_to_youtube<'a>(
|
||||
|
||||
let playlist_title = get_playlist_title_from_twitch_video(&video)?;
|
||||
let playlist = youtube_client
|
||||
.find_playlist_or_create_by_name(&playlist_title)
|
||||
.find_playlist_or_create_by_name(&playlist_title, privacy)
|
||||
.await
|
||||
.map_err(|e| anyhow!("{}", e))?;
|
||||
youtube_client
|
||||
|
||||
Reference in New Issue
Block a user