mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 23:30:50 +02:00
commit
0a7b5861b6
|
@ -167,6 +167,21 @@ namespace Emby.Server.Implementations.LiveTv
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
image = librarySeries.GetImageInfo(ImageType.Backdrop, 0);
|
||||||
|
if (image != null)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
dto.ParentBackdropImageTags = new List<string>
|
||||||
|
{
|
||||||
|
_imageProcessor.GetImageCacheTag(librarySeries, image)
|
||||||
|
};
|
||||||
|
dto.ParentBackdropItemId = librarySeries.Id.ToString("N");
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(programSeriesId))
|
if (!string.IsNullOrWhiteSpace(programSeriesId))
|
||||||
|
@ -194,6 +209,25 @@ namespace Emby.Server.Implementations.LiveTv
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dto.ParentBackdropImageTags == null || dto.ParentBackdropImageTags.Count == 0)
|
||||||
|
{
|
||||||
|
image = program.GetImageInfo(ImageType.Backdrop, 0);
|
||||||
|
if (image != null)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
dto.ParentBackdropImageTags = new List<string>
|
||||||
|
{
|
||||||
|
_imageProcessor.GetImageCacheTag(program, image)
|
||||||
|
};
|
||||||
|
dto.ParentBackdropItemId = program.Id.ToString("N");
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -223,6 +257,21 @@ namespace Emby.Server.Implementations.LiveTv
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
image = librarySeries.GetImageInfo(ImageType.Backdrop, 0);
|
||||||
|
if (image != null)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
dto.ParentBackdropImageTags = new List<string>
|
||||||
|
{
|
||||||
|
_imageProcessor.GetImageCacheTag(librarySeries, image)
|
||||||
|
};
|
||||||
|
dto.ParentBackdropItemId = librarySeries.Id.ToString("N");
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(programSeriesId))
|
if (!string.IsNullOrWhiteSpace(programSeriesId))
|
||||||
|
@ -250,6 +299,25 @@ namespace Emby.Server.Implementations.LiveTv
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dto.ParentBackdropImageTags == null || dto.ParentBackdropImageTags.Count == 0)
|
||||||
|
{
|
||||||
|
image = program.GetImageInfo(ImageType.Backdrop, 0);
|
||||||
|
if (image != null)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
dto.ParentBackdropImageTags = new List<string>
|
||||||
|
{
|
||||||
|
_imageProcessor.GetImageCacheTag(program, image)
|
||||||
|
};
|
||||||
|
dto.ParentBackdropItemId = program.Id.ToString("N");
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
using MediaBrowser.Model.Dto;
|
using MediaBrowser.Model.Dto;
|
||||||
using System;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace MediaBrowser.Model.LiveTv
|
namespace MediaBrowser.Model.LiveTv
|
||||||
{
|
{
|
||||||
|
@ -102,6 +103,18 @@ namespace MediaBrowser.Model.LiveTv
|
||||||
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if this instance is pre padding required; otherwise, <c>false</c>.</value>
|
||||||
public bool IsPrePaddingRequired { get; set; }
|
public bool IsPrePaddingRequired { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// If the item does not have any backdrops, this will hold the Id of the Parent that has one.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The parent backdrop item id.</value>
|
||||||
|
public string ParentBackdropItemId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the parent backdrop image tags.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The parent backdrop image tags.</value>
|
||||||
|
public List<string> ParentBackdropImageTags { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets a value indicating whether this instance is post padding required.
|
/// Gets or sets a value indicating whether this instance is post padding required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -257,22 +257,9 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="statusicon.png" />
|
<Content Include="statusicon.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<NativeReference Include="..\ThirdParty\SQLite3\osx\libsqlite3.0.dylib">
|
|
||||||
<IsCxx>False</IsCxx>
|
|
||||||
<Kind>Dynamic</Kind>
|
|
||||||
</NativeReference>
|
|
||||||
<NativeReference Include="..\ThirdParty\SQLite3\osx\libsqlite3.dylib">
|
|
||||||
<IsCxx>False</IsCxx>
|
|
||||||
<Kind>Dynamic</Kind>
|
|
||||||
</NativeReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BundleResource Include="Resources\appicon.icns" />
|
<BundleResource Include="Resources\appicon.icns" />
|
||||||
<BundleResource Include="Resources\MediaBrowser.Server.Mac\Images.xcassets\AppIcon.appiconset\Contents.json" />
|
<BundleResource Include="Resources\MediaBrowser.Server.Mac\Images.xcassets\AppIcon.appiconset\Contents.json" />
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\about.html">
|
|
||||||
<Link>Resources\dashboard-ui\about.html</Link>
|
|
||||||
</BundleResource>
|
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\addplugin.html">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\addplugin.html">
|
||||||
<Link>Resources\dashboard-ui\addplugin.html</Link>
|
<Link>Resources\dashboard-ui\addplugin.html</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
@ -960,6 +947,9 @@
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\localassetmanager.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\localassetmanager.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\localassetmanager.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\localassetmanager.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\nullassetmanager.js">
|
||||||
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\nullassetmanager.js</Link>
|
||||||
|
</BundleResource>
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\serverdiscovery-chrome.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\serverdiscovery-chrome.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\serverdiscovery-chrome.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\serverdiscovery-chrome.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
@ -975,6 +965,12 @@
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\contentuploader.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\contentuploader.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\contentuploader.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\contentuploader.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\filerepository.js">
|
||||||
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\filerepository.js</Link>
|
||||||
|
</BundleResource>
|
||||||
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\itemrepository.js">
|
||||||
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\itemrepository.js</Link>
|
||||||
|
</BundleResource>
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\localsync.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\localsync.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\localsync.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\localsync.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
@ -990,6 +986,15 @@
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\serversync.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\serversync.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\serversync.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\serversync.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\transfermanager.js">
|
||||||
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\transfermanager.js</Link>
|
||||||
|
</BundleResource>
|
||||||
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\useractionrepository.js">
|
||||||
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\useractionrepository.js</Link>
|
||||||
|
</BundleResource>
|
||||||
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-apiclient\sync\userrepository.js">
|
||||||
|
<Link>Resources\dashboard-ui\bower_components\emby-apiclient\sync\userrepository.js</Link>
|
||||||
|
</BundleResource>
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\.bower.json">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\.bower.json">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\.bower.json</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\.bower.json</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
@ -1038,6 +1043,9 @@
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\globalize.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\globalize.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\globalize.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\globalize.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\idb.js">
|
||||||
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\idb.js</Link>
|
||||||
|
</BundleResource>
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\inputmanager.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\inputmanager.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\inputmanager.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\inputmanager.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
@ -1407,12 +1415,6 @@
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\fullscreen\fullscreenmanager.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\fullscreen\fullscreenmanager.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\fullscreen\fullscreenmanager.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\fullscreen\fullscreenmanager.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\guide\guide-categories.js">
|
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\guide\guide-categories.js</Link>
|
|
||||||
</BundleResource>
|
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\guide\guide-categories.template.html">
|
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\guide\guide-categories.template.html</Link>
|
|
||||||
</BundleResource>
|
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\guide\guide-settings.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\guide\guide-settings.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\guide\guide-settings.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\guide\guide-settings.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
@ -1806,6 +1808,9 @@
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\sync\sync.js">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\sync\sync.js">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\sync\sync.js</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\sync\sync.js</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\sync\synctoggle.js">
|
||||||
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\sync\synctoggle.js</Link>
|
||||||
|
</BundleResource>
|
||||||
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\toast\toast.css">
|
<BundleResource Include="..\MediaBrowser.WebDashboard\dashboard-ui\bower_components\emby-webcomponents\toast\toast.css">
|
||||||
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\toast\toast.css</Link>
|
<Link>Resources\dashboard-ui\bower_components\emby-webcomponents\toast\toast.css</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
|
@ -3616,4 +3621,14 @@
|
||||||
<Link>Resources\dashboard-ui\thirdparty\jstree\themes\default\throbber.gif</Link>
|
<Link>Resources\dashboard-ui\thirdparty\jstree\themes\default\throbber.gif</Link>
|
||||||
</BundleResource>
|
</BundleResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<NativeReference Include="..\ThirdParty\SQLite3\osx\libsqlite3.0.dylib">
|
||||||
|
<Kind>Dynamic</Kind>
|
||||||
|
<SmartLink>False</SmartLink>
|
||||||
|
</NativeReference>
|
||||||
|
<NativeReference Include="..\ThirdParty\SQLite3\osx\libsqlite3.dylib">
|
||||||
|
<Kind>Dynamic</Kind>
|
||||||
|
<SmartLink>False</SmartLink>
|
||||||
|
</NativeReference>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -180,6 +180,9 @@
|
||||||
<Content Include="dashboard-ui\scripts\livetvschedule.js">
|
<Content Include="dashboard-ui\scripts\livetvschedule.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\scripts\livetvseriestimers.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\scripts\userpasswordpage.js">
|
<Content Include="dashboard-ui\scripts\userpasswordpage.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -714,9 +717,6 @@
|
||||||
<Content Include="dashboard-ui\reports.html">
|
<Content Include="dashboard-ui\reports.html">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\livetvseriestimer.html">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\livetvsettings.html">
|
<Content Include="dashboard-ui\livetvsettings.html">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -897,9 +897,6 @@
|
||||||
<Content Include="dashboard-ui\scripts\livetvchannel.js">
|
<Content Include="dashboard-ui\scripts\livetvchannel.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\scripts\livetvseriestimer.js">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\scripts\livetvsettings.js">
|
<Content Include="dashboard-ui\scripts\livetvsettings.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -942,9 +939,6 @@
|
||||||
<Content Include="dashboard-ui\scripts\episodes.js">
|
<Content Include="dashboard-ui\scripts\episodes.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\scripts\livetvseriestimers.js">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\scripts\livetvsuggested.js">
|
<Content Include="dashboard-ui\scripts\livetvsuggested.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in a new issue