Skip to main content

kind_rank

Function kind_rank 

Source
fn kind_rank(kind: MediaKind) -> u8
Expand description

Rank of a media kind when match quality ties — lower sorts first.

Containers outrank the items they contain: searching a show’s name should surface the show, not an arbitrary episode of it. Within a tier the order is arbitrary but stable, and equal ranks fall through to input order.