mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-14 11:32:17 +00:00
Update to 3.5.2 and .net core 2.1
This commit is contained in:
parent
c32d865638
commit
48facb797e
1419 changed files with 27525 additions and 88927 deletions
|
|
@ -46,7 +46,7 @@ namespace Emby.Server.Implementations.MediaEncoder
|
|||
/// Gets the chapter images data path.
|
||||
/// </summary>
|
||||
/// <value>The chapter images data path.</value>
|
||||
private string GetChapterImagesPath(IHasMetadata item)
|
||||
private string GetChapterImagesPath(BaseItem item)
|
||||
{
|
||||
return Path.Combine(item.GetInternalMetadataPath(), "chapters");
|
||||
}
|
||||
|
|
@ -133,6 +133,8 @@ namespace Emby.Server.Implementations.MediaEncoder
|
|||
{
|
||||
if (extractImages)
|
||||
{
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
|
||||
try
|
||||
{
|
||||
// Add some time for the first chapter to make sure we don't end up with a black image
|
||||
|
|
@ -140,7 +142,7 @@ namespace Emby.Server.Implementations.MediaEncoder
|
|||
|
||||
var protocol = MediaProtocol.File;
|
||||
|
||||
var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, video.Path, protocol, null, new string[] { });
|
||||
var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, video.Path, protocol, null, Array.Empty<string>());
|
||||
|
||||
_fileSystem.CreateDirectory(_fileSystem.GetDirectoryName(path));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue