Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06f512e769 | ||
|
|
dcdeefb95f | ||
|
|
86360f9031 |
Generated
+4
-1
@@ -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",
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user