Google backend: replace parser with a libxml-2.0 based one
[cinaest] / src / backends / google / google-backend.vala
index 7e4d89e..1815970 100644 (file)
@@ -73,7 +73,7 @@ public class MovieSearch : Object {
                var m = new string[results.length ()];
                int i = 0;
                for (unowned GLib.List<GoogleMovie> node = results.first (); node != null; node = node.next) {
-                       m[i++] = "{\"title\":\"%s\",\"rating\":%f,\"runtime\":%d,\"showtimes\":\"%s\",\"cinema_name\":\"%s\",\"cinema_phone\":\"%s\"}".printf (node.data.title, node.data.rating, node.data.runtime, node.data.showtimes, node.data.cinema.name, node.data.cinema.phone);
+                       m[i++] = "{\"title\":\"%s\",\"rating\":%f,\"runtime\":%d,\"showtimes\":\"%s\",\"cinema_name\":\"%s\",\"cinema_phone\":\"%s\"}".printf (node.data.title, node.data.rating, node.data.runtime, node.data.showtimes, node.data.theater.name, node.data.theater.phone);
                }
                movies_found (m, true);
                service.timeout_quit ();