diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-05-08 22:51:29 -0400 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-05-08 22:51:29 -0400 |
| commit | 594e2a2dbbc04679771cd2b7207d5082231a8223 (patch) | |
| tree | 4b3e126d72aa53e6aa4e74c74380bdcb80bc412c /MediaBrowser.ServerApplication | |
| parent | beafdb27f9e15e30120e872c017aa6eb267e6d7f (diff) | |
| parent | fbd052abfc2724fcb151582746c9783d7ab8a97a (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.ServerApplication')
| -rw-r--r-- | MediaBrowser.ServerApplication/LibraryExplorer.xaml.cs | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/MediaBrowser.ServerApplication/LibraryExplorer.xaml.cs b/MediaBrowser.ServerApplication/LibraryExplorer.xaml.cs index a50d451de..f7b3b27c6 100644 --- a/MediaBrowser.ServerApplication/LibraryExplorer.xaml.cs +++ b/MediaBrowser.ServerApplication/LibraryExplorer.xaml.cs @@ -175,16 +175,9 @@ namespace MediaBrowser.ServerApplication { var item = (BaseItem)(tvwLibrary.SelectedItem as TreeViewItem).Tag; lblObjType.Content = "Type: " + item.GetType().Name; - var trailers = item.LocalTrailers != null && item.LocalTrailers.Count > 0 - ? "\nTrailers: " + - String.Join(Environment.NewLine, item.LocalTrailers.Select(t => t.Path)) - : ""; + var movie = item as Movie; - var features = movie != null && movie.SpecialFeatures != null - ? "\nSpecial Features: " + - string.Join(Environment.NewLine, - movie.SpecialFeatures.Select(f => f.Path)) - : ""; + var folder = item as Folder; if (folder != null) { @@ -222,7 +215,7 @@ namespace MediaBrowser.ServerApplication lblIndexBy.Visibility = ddlIndexBy.Visibility = ddlSortBy.Visibility = lblSortBy.Visibility = Visibility.Hidden; } - txtData.Text = FormatJson(_jsonSerializer.SerializeToString(item)) + trailers + features; + txtData.Text = FormatJson(_jsonSerializer.SerializeToString(item)); var previews = new List<PreviewItem>(); await Task.Run(() => |
