feat(core,app,android,ios): quality badges from file names

Release names say what their files are — 2160p, HDR, 10-bit, Dual-Audio —
and nothing showed it. naming::quality reads those words, whatever they
are separated by, and Title::quality keeps what more than half a title's
files state, so one odd special does not mark a show down. The facts line
of a title's page ends with them: 4K, 1080p, HDR, 10-bit, Dual audio.
Release groups' names are never read.
This commit is contained in:
nvrl committed 2026-10-29 16:56:19 +01:00
1 parent a7b87cdc79
commit f4c08d03c7
7 files changed
+183 -2

No files matched your search

+2
View File
@@ -689,6 +689,8 @@ fn meta_line(title: &Title, found: Option<&TitleMetadata>) -> String {
parts.push(format!("{total} on {}", found.provider.label()));
}
}
// Last: what the files are, rather than what the title is.
parts.extend(title.quality().badges().into_iter().map(str::to_owned));
parts.join(" · ")
}