Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a92fba85e | ||
|
|
8de3311c26 | ||
|
|
e3281af5f9 |
Generated
+3
-2
@@ -764,8 +764,8 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "meta-feeder-sdk"
|
name = "meta-feeder-sdk"
|
||||||
version = "0.1.0"
|
version = "1.7.0"
|
||||||
source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.1.0#4baf81e2bf87140175b1f51f6be51a84015e361a"
|
source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.7.0#027917c8cffe7ca43dadcf3b426cc5f69ecc443a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
@@ -774,6 +774,7 @@ dependencies = [
|
|||||||
"bytes",
|
"bytes",
|
||||||
"futures",
|
"futures",
|
||||||
"hyper",
|
"hyper",
|
||||||
|
"libc",
|
||||||
"redb",
|
"redb",
|
||||||
"regex",
|
"regex",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ path = "src/main.rs"
|
|||||||
# ("no matching package named `meta-feeder-sdk`"), because a consumer's checkout
|
# ("no matching package named `meta-feeder-sdk`"), because a consumer's checkout
|
||||||
# has no such sibling directory either. A path dep here is not a local
|
# has no such sibling directory either. A path dep here is not a local
|
||||||
# convenience; it is a defect visible to every downstream repo.
|
# convenience; it is a defect visible to every downstream repo.
|
||||||
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"] }
|
tokio = { version = "1.40", features = ["full"] }
|
||||||
axum = { version = "0.7", features = ["json"] }
|
axum = { version = "0.7", features = ["json"] }
|
||||||
|
|||||||
@@ -495,6 +495,8 @@ impl InternetArchivePlugin {
|
|||||||
let mut fields: BTreeMap<String, String> = BTreeMap::new();
|
let mut fields: BTreeMap<String, String> = BTreeMap::new();
|
||||||
fields.insert("fileType".to_string(), "audio".to_string());
|
fields.insert("fileType".to_string(), "audio".to_string());
|
||||||
fields.insert("contentKind".to_string(), "track".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("title".to_string(), track.title.clone());
|
||||||
fields.insert("album".to_string(), item.title.clone());
|
fields.insert("album".to_string(), item.title.clone());
|
||||||
fields.insert("fileName".to_string(), track.file_name.clone());
|
fields.insert("fileName".to_string(), track.file_name.clone());
|
||||||
@@ -590,6 +592,11 @@ impl InternetArchivePlugin {
|
|||||||
let mut fields: BTreeMap<String, String> = BTreeMap::new();
|
let mut fields: BTreeMap<String, String> = BTreeMap::new();
|
||||||
fields.insert("fileType".to_string(), "audio".to_string());
|
fields.insert("fileType".to_string(), "audio".to_string());
|
||||||
fields.insert("contentKind".to_string(), "pack".to_string());
|
fields.insert("contentKind".to_string(), "pack".to_string());
|
||||||
|
// `pack` is ambiguous on both routing axes by construction (season
|
||||||
|
// pack vs album release), so the writer supplies both —
|
||||||
|
// METADATA_KEYS.md §1. An album is a closed work: `standalone`.
|
||||||
|
fields.insert("domain".to_string(), "music".to_string());
|
||||||
|
fields.insert("workForm".to_string(), "standalone".to_string());
|
||||||
fields.insert("title".to_string(), item.title.clone());
|
fields.insert("title".to_string(), item.title.clone());
|
||||||
fields.insert("album".to_string(), item.title.clone());
|
fields.insert("album".to_string(), item.title.clone());
|
||||||
if !item.creator.trim().is_empty() {
|
if !item.creator.trim().is_empty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user