@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user