mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
Hide the auto update btn #236
Fixed where we were not populating the emby episodes #435 Fixed #1048 issue 1,2,4
This commit is contained in:
parent
f60eec4d4a
commit
16b6b6acea
8 changed files with 1757 additions and 1746 deletions
|
@ -286,7 +286,9 @@ namespace Ombi.Services.Jobs
|
|||
var ep = await EpisodeRepo.CustomAsync(async connection =>
|
||||
{
|
||||
connection.Open();
|
||||
var result = await connection.QueryAsync<EmbyEpisodes>("select * from EmbyEpisodes where ProviderId = @ProviderId", new { ProviderId = theTvDbId });
|
||||
var result = await connection.QueryAsync<EmbyEpisodes>(@"select ee.* from EmbyEpisodes ee inner join EmbyContent ec
|
||||
on ee.ParentId = ec.EmbyId
|
||||
where ec.ProviderId = @ProviderId", new { ProviderId = theTvDbId });
|
||||
|
||||
return result;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue