|
|
|
@ -35,6 +35,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as Movie).MovieMetadata) |
|
|
|
.Include(mi => (mi as Movie).MovieMetadata) |
|
|
|
.ThenInclude(em => em.Guids) |
|
|
|
.ThenInclude(em => em.Guids) |
|
|
|
.Include(mi => (mi as Movie).MediaVersions) |
|
|
|
.Include(mi => (mi as Movie).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as Movie).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as Episode).EpisodeMetadata) |
|
|
|
.Include(mi => (mi as Episode).EpisodeMetadata) |
|
|
|
.ThenInclude(em => em.Genres) |
|
|
|
.ThenInclude(em => em.Genres) |
|
|
|
@ -51,6 +53,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as Episode).EpisodeMetadata) |
|
|
|
.Include(mi => (mi as Episode).EpisodeMetadata) |
|
|
|
.ThenInclude(em => em.Guids) |
|
|
|
.ThenInclude(em => em.Guids) |
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
.ThenInclude(em => em.Streams) |
|
|
|
.ThenInclude(em => em.Streams) |
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
.ThenInclude(em => em.MediaFiles) |
|
|
|
.ThenInclude(em => em.MediaFiles) |
|
|
|
@ -108,6 +112,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as MusicVideo).MusicVideoMetadata) |
|
|
|
.Include(mi => (mi as MusicVideo).MusicVideoMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as MusicVideo).MediaVersions) |
|
|
|
.Include(mi => (mi as MusicVideo).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as MusicVideo).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as Artist).ArtistMetadata) |
|
|
|
.Include(mi => (mi as Artist).ArtistMetadata) |
|
|
|
.ThenInclude(mm => mm.Genres) |
|
|
|
.ThenInclude(mm => mm.Genres) |
|
|
|
@ -132,6 +138,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as OtherVideo).OtherVideoMetadata) |
|
|
|
.Include(mi => (mi as OtherVideo).OtherVideoMetadata) |
|
|
|
.ThenInclude(ovm => ovm.Guids) |
|
|
|
.ThenInclude(ovm => ovm.Guids) |
|
|
|
.Include(mi => (mi as OtherVideo).MediaVersions) |
|
|
|
.Include(mi => (mi as OtherVideo).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as OtherVideo).MediaVersions) |
|
|
|
.ThenInclude(ovm => ovm.Streams) |
|
|
|
.ThenInclude(ovm => ovm.Streams) |
|
|
|
.Include(mi => (mi as Song).SongMetadata) |
|
|
|
.Include(mi => (mi as Song).SongMetadata) |
|
|
|
.ThenInclude(mm => mm.Tags) |
|
|
|
.ThenInclude(mm => mm.Tags) |
|
|
|
@ -140,6 +148,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as Song).SongMetadata) |
|
|
|
.Include(mi => (mi as Song).SongMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as Song).MediaVersions) |
|
|
|
.Include(mi => (mi as Song).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as Song).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as Image).ImageMetadata) |
|
|
|
.Include(mi => (mi as Image).ImageMetadata) |
|
|
|
.ThenInclude(mm => mm.Tags) |
|
|
|
.ThenInclude(mm => mm.Tags) |
|
|
|
@ -148,6 +158,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as Image).ImageMetadata) |
|
|
|
.Include(mi => (mi as Image).ImageMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.MediaFiles) |
|
|
|
.ThenInclude(mm => mm.MediaFiles) |
|
|
|
@ -158,6 +170,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as RemoteStream).RemoteStreamMetadata) |
|
|
|
.Include(mi => (mi as RemoteStream).RemoteStreamMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.MediaFiles) |
|
|
|
.ThenInclude(mm => mm.MediaFiles) |
|
|
|
@ -271,6 +285,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as Movie).MovieMetadata) |
|
|
|
.Include(mi => (mi as Movie).MovieMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as Movie).MediaVersions) |
|
|
|
.Include(mi => (mi as Movie).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as Movie).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as Episode).EpisodeMetadata) |
|
|
|
.Include(mi => (mi as Episode).EpisodeMetadata) |
|
|
|
.ThenInclude(em => em.Genres) |
|
|
|
.ThenInclude(em => em.Genres) |
|
|
|
@ -287,6 +303,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as Episode).EpisodeMetadata) |
|
|
|
.Include(mi => (mi as Episode).EpisodeMetadata) |
|
|
|
.ThenInclude(em => em.Guids) |
|
|
|
.ThenInclude(em => em.Guids) |
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
.ThenInclude(em => em.Streams) |
|
|
|
.ThenInclude(em => em.Streams) |
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
.Include(mi => (mi as Episode).MediaVersions) |
|
|
|
.ThenInclude(em => em.MediaFiles) |
|
|
|
.ThenInclude(em => em.MediaFiles) |
|
|
|
@ -344,6 +362,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as MusicVideo).MusicVideoMetadata) |
|
|
|
.Include(mi => (mi as MusicVideo).MusicVideoMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as MusicVideo).MediaVersions) |
|
|
|
.Include(mi => (mi as MusicVideo).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as MusicVideo).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as Artist).ArtistMetadata) |
|
|
|
.Include(mi => (mi as Artist).ArtistMetadata) |
|
|
|
.ThenInclude(mm => mm.Genres) |
|
|
|
.ThenInclude(mm => mm.Genres) |
|
|
|
@ -368,6 +388,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as OtherVideo).OtherVideoMetadata) |
|
|
|
.Include(mi => (mi as OtherVideo).OtherVideoMetadata) |
|
|
|
.ThenInclude(ovm => ovm.Guids) |
|
|
|
.ThenInclude(ovm => ovm.Guids) |
|
|
|
.Include(mi => (mi as OtherVideo).MediaVersions) |
|
|
|
.Include(mi => (mi as OtherVideo).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as OtherVideo).MediaVersions) |
|
|
|
.ThenInclude(ovm => ovm.Streams) |
|
|
|
.ThenInclude(ovm => ovm.Streams) |
|
|
|
.Include(mi => (mi as Song).SongMetadata) |
|
|
|
.Include(mi => (mi as Song).SongMetadata) |
|
|
|
.ThenInclude(mm => mm.Tags) |
|
|
|
.ThenInclude(mm => mm.Tags) |
|
|
|
@ -376,6 +398,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as Song).SongMetadata) |
|
|
|
.Include(mi => (mi as Song).SongMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as Song).MediaVersions) |
|
|
|
.Include(mi => (mi as Song).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as Song).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as Image).ImageMetadata) |
|
|
|
.Include(mi => (mi as Image).ImageMetadata) |
|
|
|
.ThenInclude(mm => mm.Tags) |
|
|
|
.ThenInclude(mm => mm.Tags) |
|
|
|
@ -384,6 +408,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as Image).ImageMetadata) |
|
|
|
.Include(mi => (mi as Image).ImageMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
.Include(mi => (mi as Image).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.MediaFiles) |
|
|
|
.ThenInclude(mm => mm.MediaFiles) |
|
|
|
@ -394,6 +420,8 @@ public class SearchRepository : ISearchRepository |
|
|
|
.Include(mi => (mi as RemoteStream).RemoteStreamMetadata) |
|
|
|
.Include(mi => (mi as RemoteStream).RemoteStreamMetadata) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.ThenInclude(mm => mm.Guids) |
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
|
|
|
|
.ThenInclude(mv => mv.Chapters) |
|
|
|
|
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.ThenInclude(mm => mm.Streams) |
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
.Include(mi => (mi as RemoteStream).MediaVersions) |
|
|
|
.ThenInclude(mm => mm.MediaFiles) |
|
|
|
.ThenInclude(mm => mm.MediaFiles) |
|
|
|
|