: uncheck synthetic media

This commit is contained in:
VC
2025-12-03 15:12:00 +01:00
parent a960ec5b02
commit 27402df1fd
3 changed files with 642 additions and 371 deletions

1008
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "tootube" name = "tootube"
authors = ["VC <veretcle+framagit@mateu.be>"] authors = ["VC <veretcle+framagit@mateu.be>"]
version = "0.10.0" version = "0.10.1"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -79,6 +79,8 @@ impl Default for YoutubeUploadParamsSnippet {
struct YoutubeUploadParamsStatus { struct YoutubeUploadParamsStatus {
#[serde(rename = "selfDeclaredMadeForKids")] #[serde(rename = "selfDeclaredMadeForKids")]
self_declared_made_for_kids: bool, self_declared_made_for_kids: bool,
#[serde(rename = "containsSyntheticMedia")]
contains_synthetic_media: bool,
#[serde(rename = "privacyStatus")] #[serde(rename = "privacyStatus")]
privacy_status: String, privacy_status: String,
license: String, license: String,
@@ -88,6 +90,7 @@ impl Default for YoutubeUploadParamsStatus {
fn default() -> Self { fn default() -> Self {
YoutubeUploadParamsStatus { YoutubeUploadParamsStatus {
self_declared_made_for_kids: false, self_declared_made_for_kids: false,
contains_synthetic_media: false,
privacy_status: "public".to_string(), privacy_status: "public".to_string(),
license: "creativeCommon".to_string(), license: "creativeCommon".to_string(),
} }