rework domain field
Publish image / publish (push) Failing after 12s

This commit is contained in:
Worph
2026-09-02 00:02:14 +02:00
parent aea258c803
commit 48b0e52146
4 changed files with 358 additions and 70 deletions
@@ -533,6 +533,9 @@ impl TriblerPlugin {
if let Some(d) = meta_feeder_sdk::domain::domain_for_content_kind(kind) {
rec.fields.insert("domain".to_string(), d.to_string());
}
if let Some(wf) = meta_feeder_sdk::domain::work_form_for_content_kind(kind) {
rec.fields.insert("workForm".to_string(), wf.to_string());
}
}
// For episode records, stamp the *parsed* season/episode so the consumer
// renders a proper series with an ordered episode list (meta-watch keys
@@ -649,7 +652,9 @@ impl TriblerPlugin {
// resolves the show as TV (the show title drives the TMDB search).
r.fields
.insert("contentKind".to_string(), "episode".to_string());
r.fields.insert("domain".to_string(), "tv".to_string());
r.fields.insert("domain".to_string(), "screen".to_string());
r.fields
.insert("workForm".to_string(), "serial".to_string());
}
r
};