scope tubearchivist providers, fix sync intervals

This commit is contained in:
2026-07-01 08:12:39 +02:00
parent 42c02b33eb
commit 5f4afcc28e
11 changed files with 94 additions and 28 deletions
@@ -96,7 +96,7 @@ namespace Jellyfin.Plugin.TubeArchivistMetadata.TubeArchivist
{
Name = Name,
SearchProviderName = Constants.ProviderName,
ImageUrl = ThumbUrl,
ImageUrl = Utils.HasImageUrl(ThumbUrl) ? ThumbUrl : null,
ProviderIds = new Dictionary<string, string>() { { Constants.ProviderName, Id } }
};
}
@@ -118,14 +118,16 @@ namespace Jellyfin.Plugin.TubeArchivistMetadata.TubeArchivist
Constants.ProviderName, Id
}
},
ImageInfos = new[]
{
ImageInfos = Utils.HasImageUrl(ThumbUrl) ?
[
new ItemImageInfo
{
Path = ThumbUrl,
Type = ImageType.Primary
}
},
] :
[],
Tags = this.Tags != null ?
this.Tags.ToArray<string>() :
[]