3 Commits
Author SHA1 Message Date
Worph 06f512e769 SDK v1.7.0 + musicbrainz-feeder v1.1.3: advertises over beacon v2 as metamesh.feeder/<upstream>
Publish image / publish (push) Failing after 13s
2026-10-04 18:05:04 +00:00
Worph dcdeefb95f rework domain field
Publish image / publish (push) Failing after 13s
2026-09-02 00:01:54 +02:00
Worph 86360f9031 align to metadata keys doc 2026-08-30 19:49:07 +02:00
3 changed files with 11 additions and 3 deletions
Generated
+4 -1
View File
@@ -742,7 +742,8 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
name = "meta-feeder-sdk"
version = "0.1.0"
version = "1.7.0"
source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.7.0#027917c8cffe7ca43dadcf3b426cc5f69ecc443a"
dependencies = [
"anyhow",
"async-trait",
@@ -751,6 +752,7 @@ dependencies = [
"bytes",
"futures",
"hyper",
"libc",
"redb",
"regex",
"reqwest",
@@ -782,6 +784,7 @@ dependencies = [
[[package]]
name = "musicbrainz-feeder"
version = "0.1.0"
source = "git+https://github.com/worph/meta-feeder-musicbrainz?tag=v1.1.3#f37f455743e92c35d4f5c0e80f024b3d21b78bce"
dependencies = [
"anyhow",
"async-trait",
+2 -2
View File
@@ -26,7 +26,7 @@ path = "src/main.rs"
# died at manifest resolution with a bare "No such file or directory", and the
# crate became unconsumable as a git dependency by anyone, since a consumer's
# checkout has no such sibling directory either.
meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", tag = "v1.1.0" }
meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", tag = "v1.7.0" }
tokio = { version = "1.40", features = ["full"] }
axum = { version = "0.7", features = ["json"] }
@@ -46,7 +46,7 @@ base64 = "0.22"
# v1.1.1, not v1.1.0: v1.1.0 declared the escaping path dep described above, so
# it cannot be consumed over git at all ("no matching package named
# `meta-feeder-sdk`"). v1.1.1 is that one-line fix and nothing else.
musicbrainz-feeder = { git = "https://github.com/worph/meta-feeder-musicbrainz", tag = "v1.1.1" }
musicbrainz-feeder = { git = "https://github.com/worph/meta-feeder-musicbrainz", tag = "v1.1.3" }
[dev-dependencies]
wiremock = "0.6"
@@ -726,6 +726,9 @@ impl YouTubePlugin {
let mut fields: BTreeMap<String, String> = BTreeMap::new();
fields.insert("fileType".to_string(), "video".to_string());
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());
@@ -1437,6 +1440,8 @@ impl YouTubePlugin {
let mut fields: BTreeMap<String, String> = BTreeMap::new();
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() {