mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-17 15:46:22 +00:00
fixes #903 - Display image info on web client detail page
This commit is contained in:
@@ -357,6 +357,19 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
{
|
||||
dto.SeriesName = item.SeriesName;
|
||||
}
|
||||
private void SetPhotoProperties(BaseItemDto dto, Photo item)
|
||||
{
|
||||
dto.Width = item.Width;
|
||||
dto.Height = item.Height;
|
||||
dto.CameraMake = item.CameraMake;
|
||||
dto.CameraModel = item.CameraModel;
|
||||
dto.Software = item.Software;
|
||||
dto.ExposureTime = item.ExposureTime;
|
||||
dto.FocalLength = item.FocalLength;
|
||||
dto.ImageOrientation = item.Orientation;
|
||||
dto.Aperture = item.Aperture;
|
||||
dto.ShutterSpeed = item.ShutterSpeed;
|
||||
}
|
||||
|
||||
private void SetMusicVideoProperties(BaseItemDto dto, MusicVideo item)
|
||||
{
|
||||
@@ -1187,21 +1200,24 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
}
|
||||
|
||||
var book = item as Book;
|
||||
|
||||
if (book != null)
|
||||
{
|
||||
SetBookProperties(dto, book);
|
||||
}
|
||||
|
||||
var tvChannel = item as LiveTvChannel;
|
||||
var photo = item as Photo;
|
||||
if (photo != null)
|
||||
{
|
||||
SetPhotoProperties(dto, photo);
|
||||
}
|
||||
|
||||
var tvChannel = item as LiveTvChannel;
|
||||
if (tvChannel != null)
|
||||
{
|
||||
dto.MediaSources = tvChannel.GetMediaSources(true).ToList();
|
||||
}
|
||||
|
||||
var channelItem = item as IChannelItem;
|
||||
|
||||
if (channelItem != null)
|
||||
{
|
||||
dto.ChannelId = channelItem.ChannelId;
|
||||
|
||||
@@ -1093,8 +1093,8 @@
|
||||
"MessageLeaveEmptyToInherit": "Leave empty to inherit settings from a parent item, or the global default value.",
|
||||
"TabSupporterClub": "Supporter Club",
|
||||
"HeaderDonationType": "Donation type:",
|
||||
"OptionMakeOneTimeDonation": "Make an additional donation",
|
||||
"OptionOneTimeDescription": "This is an additional donation to the team to show extra support. It does not have any additional benefits.",
|
||||
"OptionMakeOneTimeDonation": "Make a separate donation",
|
||||
"OptionOneTimeDescription": "This is an additional donation to the team to show your support. It does not have any additional benefits.",
|
||||
"OptionLifeTimeSupporterClubMembership": "Lifetime supporter club membership",
|
||||
"HeaderSupporterBenefit": "Becoming a supporter club member provides additional benefits such as access to premium plugins, internet channel content, and more.",
|
||||
"OptionNoTrailer": "No Trailer",
|
||||
@@ -1108,5 +1108,7 @@
|
||||
"OptionProducer": "Producer",
|
||||
"OptionWriter": "Writer",
|
||||
"LabelAirDays": "Air days:",
|
||||
"LabelAirTime": "Air time:"
|
||||
"LabelAirTime": "Air time:",
|
||||
"HeaderMediaInfo": "Media Info",
|
||||
"HeaderPhotoInfo": "Photo Info"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user