From f77bf9985eb96c08fd327c82cfba10bdee30297e Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 23 Jul 2016 22:57:00 +0100 Subject: WinGui: Stubbing out some meta data code. --- .../Services/Encode/Factories/EncodeFactory.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs') diff --git a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs index 0f9aa02fd..ba07dc5e5 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/Factories/EncodeFactory.cs @@ -535,7 +535,19 @@ namespace HandBrakeWPF.Services.Encode.Factories { Metadata metaData = new Metadata(); - /* TODO NOT SUPPORTED YET. */ + if (job.MetaData != null) + { + metaData.Artist = job.MetaData.Artist; + metaData.AlbumArtist = job.MetaData.AlbumArtist; + metaData.Comment = job.MetaData.Comment; + metaData.Composer = job.MetaData.Composer; + metaData.Description = job.MetaData.Description; + metaData.Genre = job.MetaData.Genre; + metaData.LongDescription = job.MetaData.LongDescription; + metaData.Name = job.MetaData.Name; + metaData.ReleaseDate = job.MetaData.ReleaseDate; + } + return metaData; } } -- cgit v1.2.3