projects
/
cinaest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6de508
)
IMDb plugin: fill movie secondary info with genre list
author
Philipp Zabel
<philipp.zabel@gmail.com>
Wed, 11 Nov 2009 09:59:56 +0000
(10:59 +0100)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Wed, 11 Nov 2009 18:08:27 +0000
(19:08 +0100)
This will be made configurable in the settings. Other possibilites would
be to show the runtime, director or partial list of actors (or a combination
thereof).
src/plugins/imdb-plugin.vala
patch
|
blob
|
history
diff --git
a/src/plugins/imdb-plugin.vala
b/src/plugins/imdb-plugin.vala
index
972d89f
..
8c82ccd
100644
(file)
--- a/
src/plugins/imdb-plugin.vala
+++ b/
src/plugins/imdb-plugin.vala
@@
-142,6
+142,8
@@
class IMDBSource : MovieSource {
movie.year = year;
movie.rating = rating;
movie.genres.field = genres;
+ // TODO - depending on settings, this could be something else, like director info or runtime
+ movie.secondary = movie.genres.to_string ();
_get_callback (movie);
}