Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: ui/file_manager/file_manager/foreground/js/metadata_box_controller.js

Issue 2581133002: Quick View: Show year recorded metadata. (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/metadata/metadata_item.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/metadata_box_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js b/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js
index c19aca6f4f09692e5e7e7a4486bd2fcb85722967..d57121d56405505bfd7675a2eca7c6bbaa1a9ceb 100644
--- a/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/metadata_box_controller.js
@@ -147,6 +147,7 @@ MetadataBoxController.prototype.onGeneralMetadataLoaded_ = function(
'mediaGenre',
'mediaTitle',
'mediaTrack',
+ 'mediaYearRecorded',
])
.then(function(items) {
var item = items[0];
@@ -158,7 +159,8 @@ MetadataBoxController.prototype.onGeneralMetadataLoaded_ = function(
this.metadataBox_.mediaDuration = item.mediaDuration || 0;
this.metadataBox_.mediaGenre = item.mediaGenre || '';
this.metadataBox_.mediaTitle = item.mediaTitle || '';
- this.metadataBox_.mediaTrack = item.mediaTrack || 0;
+ this.metadataBox_.mediaTrack = item.mediaTrack || '';
+ this.metadataBox_.mediaYearRecorded = item.mediaYearRecorded || '';
}.bind(this));
}
}
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/metadata/metadata_item.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698