mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-05 14:44:13 -04:00
Testing tvdb convertors
This commit is contained in:
parent
03bf2c4f10
commit
c206512e3b
@ -43,7 +43,7 @@ namespace Kyoo.Models
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Is this show airing, not aired yet or finished?
|
/// Is this show airing, not aired yet or finished?
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Status? Status { get; set; }
|
public Status Status { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An URL to a trailer. This could be any path supported by the <see cref="IFileSystem"/>.
|
/// An URL to a trailer. This could be any path supported by the <see cref="IFileSystem"/>.
|
||||||
|
@ -208,7 +208,7 @@ namespace Kyoo.Controllers
|
|||||||
}
|
}
|
||||||
catch (DuplicatedItemException)
|
catch (DuplicatedItemException)
|
||||||
{
|
{
|
||||||
return await GetOrDefault(obj.Slug);
|
return await Get(obj.Slug);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ namespace Kyoo.Tests
|
|||||||
provider.ID = 0;
|
provider.ID = 0;
|
||||||
context.Providers.Add(provider);
|
context.Providers.Add(provider);
|
||||||
|
|
||||||
Models.Library library = Get<Models.Library>();
|
Library library = Get<Library>();
|
||||||
library.ID = 0;
|
library.ID = 0;
|
||||||
library.Collections = new List<Collection> {collection};
|
library.Collections = new List<Collection> {collection};
|
||||||
library.Providers = new List<Provider> {provider};
|
library.Providers = new List<Provider> {provider};
|
||||||
|
160
Kyoo.Tests/Identifier/Tvdb/ConvertorTests.cs
Normal file
160
Kyoo.Tests/Identifier/Tvdb/ConvertorTests.cs
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using Kyoo.Models;
|
||||||
|
using Kyoo.TheTvdb;
|
||||||
|
using TvDbSharper.Dto;
|
||||||
|
using Xunit;
|
||||||
|
|
||||||
|
namespace Kyoo.Tests.Identifier.Tvdb
|
||||||
|
{
|
||||||
|
public class ConvertorTests
|
||||||
|
{
|
||||||
|
[Fact]
|
||||||
|
public void SeriesSearchToShow()
|
||||||
|
{
|
||||||
|
SeriesSearchResult result = new()
|
||||||
|
{
|
||||||
|
Slug = "slug",
|
||||||
|
SeriesName = "name",
|
||||||
|
Aliases = new[] { "Aliases" },
|
||||||
|
Overview = "overview",
|
||||||
|
Status = "Ended",
|
||||||
|
FirstAired = "2021-07-23",
|
||||||
|
Poster = "/poster",
|
||||||
|
Id = 5
|
||||||
|
};
|
||||||
|
Provider provider = TestSample.Get<Provider>();
|
||||||
|
Show show = result.ToShow(provider);
|
||||||
|
|
||||||
|
Assert.Equal("slug", show.Slug);
|
||||||
|
Assert.Equal("name", show.Title);
|
||||||
|
Assert.Single(show.Aliases);
|
||||||
|
Assert.Equal("Aliases", show.Aliases[0]);
|
||||||
|
Assert.Equal("overview", show.Overview);
|
||||||
|
Assert.Equal(new DateTime(2021, 7, 23), show.StartAir);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/poster", show.Poster);
|
||||||
|
Assert.Single(show.ExternalIDs);
|
||||||
|
Assert.Equal("5", show.ExternalIDs.First().DataID);
|
||||||
|
Assert.Equal(provider, show.ExternalIDs.First().Provider);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/series/slug", show.ExternalIDs.First().Link);
|
||||||
|
Assert.Equal(Status.Finished, show.Status);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Fact]
|
||||||
|
public void SeriesSearchToShowInvalidDate()
|
||||||
|
{
|
||||||
|
SeriesSearchResult result = new()
|
||||||
|
{
|
||||||
|
Slug = "slug",
|
||||||
|
SeriesName = "name",
|
||||||
|
Aliases = new[] { "Aliases" },
|
||||||
|
Overview = "overview",
|
||||||
|
Status = "ad",
|
||||||
|
FirstAired = "2e021-07-23",
|
||||||
|
Poster = "/poster",
|
||||||
|
Id = 5
|
||||||
|
};
|
||||||
|
Provider provider = TestSample.Get<Provider>();
|
||||||
|
Show show = result.ToShow(provider);
|
||||||
|
|
||||||
|
Assert.Equal("slug", show.Slug);
|
||||||
|
Assert.Equal("name", show.Title);
|
||||||
|
Assert.Single(show.Aliases);
|
||||||
|
Assert.Equal("Aliases", show.Aliases[0]);
|
||||||
|
Assert.Equal("overview", show.Overview);
|
||||||
|
Assert.Null(show.StartAir);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/poster", show.Poster);
|
||||||
|
Assert.Single(show.ExternalIDs);
|
||||||
|
Assert.Equal("5", show.ExternalIDs.First().DataID);
|
||||||
|
Assert.Equal(provider, show.ExternalIDs.First().Provider);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/series/slug", show.ExternalIDs.First().Link);
|
||||||
|
Assert.Equal(Status.Unknown, show.Status);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Fact]
|
||||||
|
public void SeriesToShow()
|
||||||
|
{
|
||||||
|
Series result = new()
|
||||||
|
{
|
||||||
|
Slug = "slug",
|
||||||
|
SeriesName = "name",
|
||||||
|
Aliases = new[] { "Aliases" },
|
||||||
|
Overview = "overview",
|
||||||
|
Status = "Continuing",
|
||||||
|
FirstAired = "2021-07-23",
|
||||||
|
Poster = "poster",
|
||||||
|
FanArt = "fanart",
|
||||||
|
Id = 5,
|
||||||
|
Genre = new []
|
||||||
|
{
|
||||||
|
"Action",
|
||||||
|
"Test With Spéàacial characters"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
Provider provider = TestSample.Get<Provider>();
|
||||||
|
Show show = result.ToShow(provider);
|
||||||
|
|
||||||
|
Assert.Equal("slug", show.Slug);
|
||||||
|
Assert.Equal("name", show.Title);
|
||||||
|
Assert.Single(show.Aliases);
|
||||||
|
Assert.Equal("Aliases", show.Aliases[0]);
|
||||||
|
Assert.Equal("overview", show.Overview);
|
||||||
|
Assert.Equal(new DateTime(2021, 7, 23), show.StartAir);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/banners/poster", show.Poster);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/banners/fanart", show.Backdrop);
|
||||||
|
Assert.Single(show.ExternalIDs);
|
||||||
|
Assert.Equal("5", show.ExternalIDs.First().DataID);
|
||||||
|
Assert.Equal(provider, show.ExternalIDs.First().Provider);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/series/slug", show.ExternalIDs.First().Link);
|
||||||
|
Assert.Equal(Status.Airing, show.Status);
|
||||||
|
Assert.Equal(2, show.Genres.Count);
|
||||||
|
Assert.Equal("action", show.Genres.ToArray()[0].Slug);
|
||||||
|
Assert.Equal("Action", show.Genres.ToArray()[0].Name);
|
||||||
|
Assert.Equal("Test With Spéàacial characters", show.Genres.ToArray()[1].Name);
|
||||||
|
Assert.Equal("test-with-speaacial-characters", show.Genres.ToArray()[1].Slug);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Fact]
|
||||||
|
public void ActorToPeople()
|
||||||
|
{
|
||||||
|
Actor actor = new()
|
||||||
|
{
|
||||||
|
Id = 5,
|
||||||
|
Image = "image",
|
||||||
|
Name = "Name",
|
||||||
|
Role = "role"
|
||||||
|
};
|
||||||
|
Provider provider = TestSample.Get<Provider>();
|
||||||
|
PeopleRole people = actor.ToPeopleRole(provider);
|
||||||
|
|
||||||
|
Assert.Equal("name", people.Slug);
|
||||||
|
Assert.Equal("Name", people.People.Name);
|
||||||
|
Assert.Equal("role", people.Role);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/banners/image", people.People.Poster);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Fact]
|
||||||
|
public void EpisodeRecordToEpisode()
|
||||||
|
{
|
||||||
|
EpisodeRecord record = new()
|
||||||
|
{
|
||||||
|
Id = 5,
|
||||||
|
AiredSeason = 2,
|
||||||
|
AiredEpisodeNumber = 3,
|
||||||
|
AbsoluteNumber = 23,
|
||||||
|
EpisodeName = "title",
|
||||||
|
Overview = "overview",
|
||||||
|
Filename = "thumb"
|
||||||
|
};
|
||||||
|
Provider provider = TestSample.Get<Provider>();
|
||||||
|
Episode episode = record.ToEpisode(provider);
|
||||||
|
|
||||||
|
Assert.Equal("title", episode.Title);
|
||||||
|
Assert.Equal(2, episode.SeasonNumber);
|
||||||
|
Assert.Equal(3, episode.EpisodeNumber);
|
||||||
|
Assert.Equal(23, episode.AbsoluteNumber);
|
||||||
|
Assert.Equal("overview", episode.Overview);
|
||||||
|
Assert.Equal("https://www.thetvdb.com/banners/thumb", episode.Thumb);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -18,6 +18,7 @@
|
|||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
|
||||||
<PackageReference Include="Moq" Version="4.16.1" />
|
<PackageReference Include="Moq" Version="4.16.1" />
|
||||||
|
<PackageReference Include="TvDbSharper" Version="3.2.2" />
|
||||||
<PackageReference Include="xunit" Version="2.4.1" />
|
<PackageReference Include="xunit" Version="2.4.1" />
|
||||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
@ -33,6 +34,7 @@
|
|||||||
<ProjectReference Include="../Kyoo.CommonAPI/Kyoo.CommonAPI.csproj" />
|
<ProjectReference Include="../Kyoo.CommonAPI/Kyoo.CommonAPI.csproj" />
|
||||||
<ProjectReference Include="../Kyoo.Common/Kyoo.Common.csproj" />
|
<ProjectReference Include="../Kyoo.Common/Kyoo.Common.csproj" />
|
||||||
<ProjectReference Include="../Kyoo/Kyoo.csproj" />
|
<ProjectReference Include="../Kyoo/Kyoo.csproj" />
|
||||||
|
<ProjectReference Include="..\Kyoo.TheTvdb\Kyoo.TheTvdb.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Kyoo.Tests
|
namespace Kyoo.Tests.Utility
|
||||||
{
|
{
|
||||||
public class EnumerableTests
|
public class EnumerableTests
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@ using Kyoo.Models;
|
|||||||
using Kyoo.Models.Attributes;
|
using Kyoo.Models.Attributes;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Kyoo.Tests
|
namespace Kyoo.Tests.Utility
|
||||||
{
|
{
|
||||||
public class MergerTests
|
public class MergerTests
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Kyoo.Tests
|
namespace Kyoo.Tests.Utility
|
||||||
{
|
{
|
||||||
public class TaskTests
|
public class TaskTests
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,9 @@ using System.Reflection;
|
|||||||
using Kyoo.Models;
|
using Kyoo.Models;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Kyoo.Tests
|
using Utils = Kyoo.Utility;
|
||||||
|
|
||||||
|
namespace Kyoo.Tests.Utility
|
||||||
{
|
{
|
||||||
public class UtilityTests
|
public class UtilityTests
|
||||||
{
|
{
|
||||||
@ -14,12 +16,12 @@ namespace Kyoo.Tests
|
|||||||
Expression<Func<Show, int>> member = x => x.ID;
|
Expression<Func<Show, int>> member = x => x.ID;
|
||||||
Expression<Func<Show, object>> memberCast = x => x.ID;
|
Expression<Func<Show, object>> memberCast = x => x.ID;
|
||||||
|
|
||||||
Assert.False(Utility.IsPropertyExpression(null));
|
Assert.False(Utils.IsPropertyExpression(null));
|
||||||
Assert.True(Utility.IsPropertyExpression(member));
|
Assert.True(Utils.IsPropertyExpression(member));
|
||||||
Assert.True(Utility.IsPropertyExpression(memberCast));
|
Assert.True(Utils.IsPropertyExpression(memberCast));
|
||||||
|
|
||||||
Expression<Func<Show, object>> call = x => x.GetID("test");
|
Expression<Func<Show, object>> call = x => x.GetID("test");
|
||||||
Assert.False(Utility.IsPropertyExpression(call));
|
Assert.False(Utils.IsPropertyExpression(call));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
@ -28,15 +30,15 @@ namespace Kyoo.Tests
|
|||||||
Expression<Func<Show, int>> member = x => x.ID;
|
Expression<Func<Show, int>> member = x => x.ID;
|
||||||
Expression<Func<Show, object>> memberCast = x => x.ID;
|
Expression<Func<Show, object>> memberCast = x => x.ID;
|
||||||
|
|
||||||
Assert.Equal("ID", Utility.GetPropertyName(member));
|
Assert.Equal("ID", Utils.GetPropertyName(member));
|
||||||
Assert.Equal("ID", Utility.GetPropertyName(memberCast));
|
Assert.Equal("ID", Utils.GetPropertyName(memberCast));
|
||||||
Assert.Throws<ArgumentException>(() => Utility.GetPropertyName(null));
|
Assert.Throws<ArgumentException>(() => Utils.GetPropertyName(null));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void GetMethodTest()
|
public void GetMethodTest()
|
||||||
{
|
{
|
||||||
MethodInfo method = Utility.GetMethod(typeof(UtilityTests),
|
MethodInfo method = Utils.GetMethod(typeof(UtilityTests),
|
||||||
BindingFlags.Instance | BindingFlags.Public,
|
BindingFlags.Instance | BindingFlags.Public,
|
||||||
nameof(GetMethodTest),
|
nameof(GetMethodTest),
|
||||||
Array.Empty<Type>(),
|
Array.Empty<Type>(),
|
||||||
@ -47,17 +49,17 @@ namespace Kyoo.Tests
|
|||||||
[Fact]
|
[Fact]
|
||||||
public void GetMethodInvalidGenericsTest()
|
public void GetMethodInvalidGenericsTest()
|
||||||
{
|
{
|
||||||
Assert.Throws<ArgumentException>(() => Utility.GetMethod(typeof(UtilityTests),
|
Assert.Throws<ArgumentException>(() => Utils.GetMethod(typeof(UtilityTests),
|
||||||
BindingFlags.Instance | BindingFlags.Public,
|
BindingFlags.Instance | BindingFlags.Public,
|
||||||
nameof(GetMethodTest),
|
nameof(GetMethodTest),
|
||||||
new [] { typeof(Utility) },
|
new [] { typeof(Utils) },
|
||||||
Array.Empty<object>()));
|
Array.Empty<object>()));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void GetMethodInvalidParamsTest()
|
public void GetMethodInvalidParamsTest()
|
||||||
{
|
{
|
||||||
Assert.Throws<ArgumentException>(() => Utility.GetMethod(typeof(UtilityTests),
|
Assert.Throws<ArgumentException>(() => Utils.GetMethod(typeof(UtilityTests),
|
||||||
BindingFlags.Instance | BindingFlags.Public,
|
BindingFlags.Instance | BindingFlags.Public,
|
||||||
nameof(GetMethodTest),
|
nameof(GetMethodTest),
|
||||||
Array.Empty<Type>(),
|
Array.Empty<Type>(),
|
||||||
@ -67,7 +69,7 @@ namespace Kyoo.Tests
|
|||||||
[Fact]
|
[Fact]
|
||||||
public void GetMethodTest2()
|
public void GetMethodTest2()
|
||||||
{
|
{
|
||||||
MethodInfo method = Utility.GetMethod(typeof(Merger),
|
MethodInfo method = Utils.GetMethod(typeof(Merger),
|
||||||
BindingFlags.Static | BindingFlags.Public,
|
BindingFlags.Static | BindingFlags.Public,
|
||||||
nameof(Merger.MergeLists),
|
nameof(Merger.MergeLists),
|
||||||
new [] { typeof(string) },
|
new [] { typeof(string) },
|
||||||
|
@ -16,13 +16,13 @@ namespace Kyoo.TheTvdb
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="status">The string representing the status.</param>
|
/// <param name="status">The string representing the status.</param>
|
||||||
/// <returns>A kyoo <see cref="Status"/> value or null.</returns>
|
/// <returns>A kyoo <see cref="Status"/> value or null.</returns>
|
||||||
private static Status? GetStatus(string status)
|
private static Status _GetStatus(string status)
|
||||||
{
|
{
|
||||||
return status switch
|
return status switch
|
||||||
{
|
{
|
||||||
"Ended" => Status.Finished,
|
"Ended" => Status.Finished,
|
||||||
"Continuing" => Status.Airing,
|
"Continuing" => Status.Airing,
|
||||||
_ => null
|
_ => Status.Unknown
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,11 +31,12 @@ namespace Kyoo.TheTvdb
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="date">The date string to parse</param>
|
/// <param name="date">The date string to parse</param>
|
||||||
/// <returns>The parsed <see cref="DateTime"/> or null.</returns>
|
/// <returns>The parsed <see cref="DateTime"/> or null.</returns>
|
||||||
private static DateTime ParseDate(string date)
|
private static DateTime? _ParseDate(string date)
|
||||||
{
|
{
|
||||||
DateTime.TryParseExact(date, "yyyy-MM-dd", CultureInfo.InvariantCulture,
|
return DateTime.TryParseExact(date, "yyyy-MM-dd", CultureInfo.InvariantCulture,
|
||||||
DateTimeStyles.None, out DateTime parsed);
|
DateTimeStyles.None, out DateTime parsed)
|
||||||
return parsed;
|
? parsed
|
||||||
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -52,8 +53,8 @@ namespace Kyoo.TheTvdb
|
|||||||
Title = result.SeriesName,
|
Title = result.SeriesName,
|
||||||
Aliases = result.Aliases,
|
Aliases = result.Aliases,
|
||||||
Overview = result.Overview,
|
Overview = result.Overview,
|
||||||
Status = GetStatus(result.Status),
|
Status = _GetStatus(result.Status),
|
||||||
StartAir = ParseDate(result.FirstAired),
|
StartAir = _ParseDate(result.FirstAired),
|
||||||
Poster = result.Poster != null ? $"https://www.thetvdb.com{result.Poster}" : null,
|
Poster = result.Poster != null ? $"https://www.thetvdb.com{result.Poster}" : null,
|
||||||
ExternalIDs = new[]
|
ExternalIDs = new[]
|
||||||
{
|
{
|
||||||
@ -81,8 +82,8 @@ namespace Kyoo.TheTvdb
|
|||||||
Title = series.SeriesName,
|
Title = series.SeriesName,
|
||||||
Aliases = series.Aliases,
|
Aliases = series.Aliases,
|
||||||
Overview = series.Overview,
|
Overview = series.Overview,
|
||||||
Status = GetStatus(series.Status),
|
Status = _GetStatus(series.Status),
|
||||||
StartAir = ParseDate(series.FirstAired),
|
StartAir = _ParseDate(series.FirstAired),
|
||||||
Poster = series.Poster != null ? $"https://www.thetvdb.com/banners/{series.Poster}" : null,
|
Poster = series.Poster != null ? $"https://www.thetvdb.com/banners/{series.Poster}" : null,
|
||||||
Backdrop = series.FanArt != null ? $"https://www.thetvdb.com/banners/{series.FanArt}" : null,
|
Backdrop = series.FanArt != null ? $"https://www.thetvdb.com/banners/{series.FanArt}" : null,
|
||||||
Genres = series.Genre.Select(y => new Genre(y)).ToList(),
|
Genres = series.Genre.Select(y => new Genre(y)).ToList(),
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Autofac;
|
using Autofac;
|
||||||
using Kyoo.Authentication.Models;
|
|
||||||
using Kyoo.Controllers;
|
using Kyoo.Controllers;
|
||||||
using Kyoo.Models.Attributes;
|
using Kyoo.Models.Attributes;
|
||||||
|
using Kyoo.TheTvdb.Models;
|
||||||
using Microsoft.AspNetCore.Builder;
|
using Microsoft.AspNetCore.Builder;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
@ -3,9 +3,9 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using JetBrains.Annotations;
|
using JetBrains.Annotations;
|
||||||
using Kyoo.Authentication.Models;
|
|
||||||
using Kyoo.Controllers;
|
using Kyoo.Controllers;
|
||||||
using Kyoo.Models;
|
using Kyoo.Models;
|
||||||
|
using Kyoo.TheTvdb.Models;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using TvDbSharper;
|
using TvDbSharper;
|
||||||
using TvDbSharper.Dto;
|
using TvDbSharper.Dto;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace Kyoo.Authentication.Models
|
namespace Kyoo.TheTvdb.Models
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The option containing the api key for the tvdb.
|
/// The option containing the api key for the tvdb.
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 87783a5bfdd79f21d72bad13da1d96ec8e08cd42
|
Subproject commit c037270d3339fcf0075984a089f353c5c332a751
|
Loading…
x
Reference in New Issue
Block a user