projects
/
maevies
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a687c
)
Movie Info Provider test: print WATC results
author
Simón Pena
<spenap@gmail.com>
Mon, 17 May 2010 13:57:54 +0000
(15:57 +0200)
committer
Simón Pena
<spenap@gmail.com>
Mon, 17 May 2010 14:17:28 +0000
(16:17 +0200)
The response-received callback function is now capable
of WATC Movie extraction, printing the results found.
test/mvs-minfo-provider-test.c
patch
|
blob
|
history
diff --git
a/test/mvs-minfo-provider-test.c
b/test/mvs-minfo-provider-test.c
index
bf258f1
..
7f80c30
100644
(file)
--- a/
test/mvs-minfo-provider-test.c
+++ b/
test/mvs-minfo-provider-test.c
@@
-52,6
+52,15
@@
response_received_callback (MvsMInfoProvider *minfo_provider, GList *list,
g_object_unref (tmdb_movie);
}
+ else if (MVS_IS_WATC_MOVIE (tmp->data)) {
+
+ MvsWatcMovie *watc_movie = MVS_WATC_MOVIE (tmp->data);
+
+ mvs_watc_movie_print (watc_movie);
+ g_print ("\n");
+
+ g_object_unref (watc_movie);
+ }
}
g_list_free (list);