public int year_max;
public int rating_min;
public Genres genres;
+
+ public bool matches_title (string _title) {
+ if (title == null)
+ return true;
+
+ if ("*" in title) {
+ return PatternSpec.match_simple (title, _title);
+ } else {
+ return (_title.ascii_ncasecmp (title, title.length) == 0);
+ }
+ }
}