Rating widget: switch range to 0-100 for 0-10 stars, allow half stars
[cinaest] / src / movie.vala
index 8f0c88c..5571802 100644 (file)
@@ -23,13 +23,21 @@ public class Poster : Object {
 
 public class Movie : Object {
        public string title { get; set; }
+       public string secondary { get; set; }
        public int year { get; set; }
        public int rating { get; set; }
+       public uint julian_date { get; set; }
        public Genres genres;
        public Poster poster { get; set; }
 
        construct {
                rating = -1;
+               julian_date = 0;
+       }
+
+       public virtual string get_plot () {
+               print ("get_plot(%s)", title);
+               return "";
        }
 }