mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 22:23:34 -07:00
Fix Jellyfin sync
This commit is contained in:
parent
f926d94288
commit
fbc0e08d8f
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ namespace Ombi.Schedule.Jobs.Jellyfin
|
||||||
public async Task Execute(IJobExecutionContext job)
|
public async Task Execute(IJobExecutionContext job)
|
||||||
{
|
{
|
||||||
var settings = await _settings.GetSettingsAsync();
|
var settings = await _settings.GetSettingsAsync();
|
||||||
|
|
||||||
Api = _apiFactory.CreateClient(settings);
|
Api = _apiFactory.CreateClient(settings);
|
||||||
await _notification.Clients.Clients(NotificationHub.AdminConnectionIds)
|
await _notification.Clients.Clients(NotificationHub.AdminConnectionIds)
|
||||||
.SendAsync(NotificationHub.NotificationEvent, "Jellyfin Episode Sync Started");
|
.SendAsync(NotificationHub.NotificationEvent, "Jellyfin Episode Sync Started");
|
||||||
|
@ -132,7 +132,7 @@ namespace Ombi.Schedule.Jobs.Jellyfin
|
||||||
if (ep.IndexNumber == 0) // no check on season number, Season 0 can be Specials
|
if (ep.IndexNumber == 0) // no check on season number, Season 0 can be Specials
|
||||||
{
|
{
|
||||||
_logger.LogWarning($"Episode {ep.Name} has no episode number. Skipping.");
|
_logger.LogWarning($"Episode {ep.Name} has no episode number. Skipping.");
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.LogDebug("Adding new episode {0} to parent {1}", ep.Name, ep.SeriesName);
|
_logger.LogDebug("Adding new episode {0} to parent {1}", ep.Name, ep.SeriesName);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue