plugins/asf: Add length for videos
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 21 Aug 2013 23:01:09 +0000 (20:01 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 26 Aug 2013 22:19:07 +0000 (19:19 -0300)
src/plugins/asf/asf.c

index b0140cf..1487912 100644 (file)
@@ -673,6 +673,7 @@ _parse(struct plugin *plugin, struct lms_context *ctxt, const struct lms_file_in
         video_info.id = finfo->id;
         video_info.title = info.title;
         video_info.artist = info.artist;
+        video_info.length = info.length;
         video_info.streams = (struct lms_stream *) info.streams;
         r = lms_db_video_add(plugin->video_db, &video_info);
     }