[PATCH 04/11] apple-trailers: updated to new date format



---
 src/media/apple-trailers/grl-apple-trailers.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/media/apple-trailers/grl-apple-trailers.c b/src/media/apple-trailers/grl-apple-trailers.c
index fc9d92a..5ff3cc2 100644
--- a/src/media/apple-trailers/grl-apple-trailers.c
+++ b/src/media/apple-trailers/grl-apple-trailers.c
@@ -349,7 +349,7 @@ build_media_from_movie (xmlNodePtr node, gboolean xlarge)
 
   grl_media_set_id (media, movie_id);
   grl_media_set_author (media, movie_author);
-  grl_media_set_date (media, movie_date);
+  grl_media_set_publication_date_from_iso8601 (media, movie_date);
   grl_media_set_description (media, movie_description);
   grl_media_set_duration (media, runtime_to_seconds (movie_duration));
   grl_media_set_title (media, movie_title);
@@ -547,7 +547,7 @@ grl_apple_trailers_source_supported_keys (GrlMetadataSource *source)
   static GList *keys = NULL;
   if (!keys) {
     keys = grl_metadata_key_list_new (GRL_METADATA_KEY_AUTHOR,
-                                      GRL_METADATA_KEY_DATE,
+                                      GRL_METADATA_KEY_PUBLICATION_DATE,
                                       GRL_METADATA_KEY_DESCRIPTION,
                                       GRL_METADATA_KEY_DURATION,
                                       GRL_METADATA_KEY_GENRE,
-- 
1.7.4.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]