rework domain field
Publish image / publish (push) Failing after 13s

This commit is contained in:
Worph
2026-09-02 00:01:54 +02:00
parent 86360f9031
commit dcdeefb95f
2 changed files with 4 additions and 0 deletions
@@ -728,6 +728,7 @@ impl YouTubePlugin {
fields.insert("contentKind".to_string(), "musicVideo".to_string());
// Video bytes, music domain — the case the two axes exist for.
fields.insert("domain".to_string(), "music".to_string());
fields.insert("workForm".to_string(), "standalone".to_string());
fields.insert("title".to_string(), c.title.clone());
fields.insert("artist".to_string(), artist.to_string());
fields.insert(format!("artists/{}", artist.trim()), "true".to_string());
@@ -1440,6 +1441,7 @@ impl YouTubePlugin {
fields.insert("fileType".to_string(), "audio".to_string());
fields.insert("contentKind".to_string(), "track".to_string());
fields.insert("domain".to_string(), "music".to_string());
fields.insert("workForm".to_string(), "standalone".to_string());
fields.insert("title".to_string(), track.title.clone());
fields.insert("album".to_string(), album.to_string());
if !artist.trim().is_empty() {