From dcdeefb95f2e8966cd2ad1d39a7b70a4300c7738 Mon Sep 17 00:00:00 2001 From: Worph Date: Wed, 2 Sep 2026 00:01:54 +0200 Subject: [PATCH] rework domain field --- Cargo.lock | 2 ++ feeder-plugin/youtube-feeder/src/youtube.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 0050707..faab06b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/feeder-plugin/youtube-feeder/src/youtube.rs b/feeder-plugin/youtube-feeder/src/youtube.rs index fb6da02..709a91b 100644 --- a/feeder-plugin/youtube-feeder/src/youtube.rs +++ b/feeder-plugin/youtube-feeder/src/youtube.rs @@ -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() {