@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
@@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added
- Add `unavailable` state for Emby movie libraries
- Add `height` and `width` to search index for all videos
- Add `season_number` and `episode_number` to search index for all episodes
@ -31,20 +31,26 @@ public class FileNotFoundHealthCheck : BaseHealthCheck, IFileNotFoundHealthCheck
@@ -31,20 +31,26 @@ public class FileNotFoundHealthCheck : BaseHealthCheck, IFileNotFoundHealthCheck
@ -46,13 +46,13 @@ public class UnavailableHealthCheck : BaseHealthCheck, IUnavailableHealthCheck
@@ -46,13 +46,13 @@ public class UnavailableHealthCheck : BaseHealthCheck, IUnavailableHealthCheck
.Include(mi=>(miasOtherVideo).MediaVersions)
.ThenInclude(mv=>mv.MediaFiles)
.Include(mi=>(miasSong).MediaVersions)
.ThenInclude(mv=>mv.MediaFiles);
.ThenInclude(mv=>mv.MediaFiles)
.Include(mi=>(miasShow).ShowMetadata)
.Include(mi=>(miasSeason).Show)
.ThenInclude(s=>s.ShowMetadata)
.Include(mi=>(miasSeason).SeasonMetadata);
List<MediaItem>five=awaitmediaItems
// shows and seasons don't have paths to display
.Filter(mi=>!(miisShow))
.Filter(mi=>!(miisSeason))
.OrderBy(mi=>mi.Id)
.Take(5)
.ToListAsync(cancellationToken);
@ -63,11 +63,16 @@ public class UnavailableHealthCheck : BaseHealthCheck, IUnavailableHealthCheck
@@ -63,11 +63,16 @@ public class UnavailableHealthCheck : BaseHealthCheck, IUnavailableHealthCheck
foreach(MediaItemmediaIteminfive)
{
stringpath=awaitmediaItem.GetLocalPath(
_plexPathReplacementService,
_jellyfinPathReplacementService,
_embyPathReplacementService,
false);
stringpath=mediaItemswitch
{
Shows=>s.ShowMetadata.Head().Title,
Seasons=>$"{s.Show.ShowMetadata.Head().Title} Season {s.SeasonNumber}",
@ -32,11 +32,11 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
@@ -32,11 +32,11 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
@ -84,9 +84,10 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
@@ -84,9 +84,10 @@ public class CustomMultiFieldQueryParser : MultiFieldQueryParser
@ -25,7 +25,9 @@ The following fields are available for searching movies:
@@ -25,7 +25,9 @@ The following fields are available for searching movies:
- `language`: The movie audio stream language
- `release_date`: The movie release date (YYYYMMDD)
- `added_date`: The date the movie was added to ErsatzTV (YYYYMMDD)
- `minutes`: the rounded-up whole number duration of the movie in minutes
- `minutes`: The rounded-up whole number duration of the movie in minutes
- `height`: The movie height
- `width`: The movie width
- `type`: Always `movie`
### Shows
@ -57,7 +59,11 @@ The following fields are available for searching episodes:
@@ -57,7 +59,11 @@ The following fields are available for searching episodes:
- `language`: The episode audio stream language
- `release_date`: The episode release date (YYYYMMDD)
- `added_date`: The date the episode was added to ErsatzTV (YYYYMMDD)
- `minutes`: the rounded-up whole number duration of the episode in minutes
- `minutes`: The rounded-up whole number duration of the episode in minutes
- `height`: The episode height
- `width`: The episode width
- `season_number`: The episode season number
- `episode_number`: The episode number
- `type`: Always `episode`
### Artists
@ -84,7 +90,9 @@ The following fields are available for searching music videos:
@@ -84,7 +90,9 @@ The following fields are available for searching music videos:
- `language`: The music video audio stream language
- `release_date`: The music video release date (YYYYMMDD)
- `added_date`: The date the music video was added to ErsatzTV (YYYYMMDD)
- `minutes`: the rounded-up whole number duration of the music video in minutes
- `minutes`: The rounded-up whole number duration of the music video in minutes
- `height`: The music video height
- `width`: The music video width
- `type`: Always `music_video`
### Other Videos
@ -95,6 +103,8 @@ The following fields are available for searching other videos:
@@ -95,6 +103,8 @@ The following fields are available for searching other videos:
- `tag`: All of the video's parent folders
- `minutes`: the rounded-up whole number duration of the video in minutes
- `added_date`: The date the other video was added to ErsatzTV (YYYYMMDD)