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
Generated
+2
View File
@@ -743,6 +743,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
name = "meta-feeder-sdk"
version = "0.1.0"
source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.1.0#4baf81e2bf87140175b1f51f6be51a84015e361a"
dependencies = [
"anyhow",
"async-trait",
@@ -782,6 +783,7 @@ dependencies = [
[[package]]
name = "musicbrainz-feeder"
version = "0.1.0"
source = "git+https://github.com/worph/meta-feeder-musicbrainz?tag=v1.1.1#00287cc4268757ad80d003613a6557d4ff5b970d"
dependencies = [
"anyhow",
"async-trait",
@@ -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() {