mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
Small fixes
This commit is contained in:
parent
4ff8d30e41
commit
377f9896ce
@ -20,7 +20,7 @@ namespace Emby.Naming.Video
|
|||||||
Regex = 2,
|
Regex = 2,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Match <see cref="ExtraRule.Token"/> against the directory name of the file.
|
/// Match <see cref="ExtraRule.Token"/> against the name of the directory containing the file.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
DirectoryName = 3,
|
DirectoryName = 3,
|
||||||
}
|
}
|
||||||
|
@ -381,7 +381,7 @@ namespace MediaBrowser.Api.UserLibrary
|
|||||||
|
|
||||||
var dtoOptions = GetDtoOptions(_authContext, request);
|
var dtoOptions = GetDtoOptions(_authContext, request);
|
||||||
|
|
||||||
var dtosExtras = item.GetExtras(new ExtraType[] { ExtraType.Trailer })
|
var dtosExtras = item.GetExtras(new[] { ExtraType.Trailer })
|
||||||
.Select(i => _dtoService.GetBaseItemDto(i, dtoOptions, user, item))
|
.Select(i => _dtoService.GetBaseItemDto(i, dtoOptions, user, item))
|
||||||
.ToArray();
|
.ToArray();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user