mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
update startup wizard
This commit is contained in:
parent
bd45eb8796
commit
03e6cfde60
|
@ -7,7 +7,6 @@ using MediaBrowser.Controller.Providers;
|
||||||
using MediaBrowser.Model.Configuration;
|
using MediaBrowser.Model.Configuration;
|
||||||
using MediaBrowser.Model.Serialization;
|
using MediaBrowser.Model.Serialization;
|
||||||
using ServiceStack;
|
using ServiceStack;
|
||||||
using ServiceStack.Text.Controller;
|
|
||||||
using ServiceStack.Web;
|
using ServiceStack.Web;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -26,7 +25,7 @@ namespace MediaBrowser.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route("/System/Configuration/{Key}", "GET", Summary = "Gets a named configuration")]
|
[Route("/System/Configuration/{Key}", "GET", Summary = "Gets a named configuration")]
|
||||||
[Authenticated]
|
[Authenticated(AllowBeforeStartupWizard = true)]
|
||||||
public class GetNamedConfiguration
|
public class GetNamedConfiguration
|
||||||
{
|
{
|
||||||
[ApiMember(Name = "Key", Description = "Key", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
|
[ApiMember(Name = "Key", Description = "Key", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
|
||||||
|
|
|
@ -418,7 +418,7 @@ namespace MediaBrowser.Api.LiveTv
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route("/LiveTv/ListingProviders", "POST", Summary = "Adds a listing provider")]
|
[Route("/LiveTv/ListingProviders", "POST", Summary = "Adds a listing provider")]
|
||||||
[Authenticated]
|
[Authenticated(AllowBeforeStartupWizard = true)]
|
||||||
public class AddListingProvider : ListingsProviderInfo, IReturn<ListingsProviderInfo>
|
public class AddListingProvider : ListingsProviderInfo, IReturn<ListingsProviderInfo>
|
||||||
{
|
{
|
||||||
public bool ValidateLogin { get; set; }
|
public bool ValidateLogin { get; set; }
|
||||||
|
@ -426,7 +426,7 @@ namespace MediaBrowser.Api.LiveTv
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route("/LiveTv/ListingProviders", "DELETE", Summary = "Deletes a listing provider")]
|
[Route("/LiveTv/ListingProviders", "DELETE", Summary = "Deletes a listing provider")]
|
||||||
[Authenticated]
|
[Authenticated(AllowBeforeStartupWizard = true)]
|
||||||
public class DeleteListingProvider : IReturnVoid
|
public class DeleteListingProvider : IReturnVoid
|
||||||
{
|
{
|
||||||
[ApiMember(Name = "Id", Description = "Provider id", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "DELETE")]
|
[ApiMember(Name = "Id", Description = "Provider id", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "DELETE")]
|
||||||
|
@ -434,7 +434,7 @@ namespace MediaBrowser.Api.LiveTv
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route("/LiveTv/ListingProviders/Lineups", "GET", Summary = "Gets available lineups")]
|
[Route("/LiveTv/ListingProviders/Lineups", "GET", Summary = "Gets available lineups")]
|
||||||
[Authenticated]
|
[Authenticated(AllowBeforeStartupWizard = true)]
|
||||||
public class GetLineups : IReturn<List<NameIdPair>>
|
public class GetLineups : IReturn<List<NameIdPair>>
|
||||||
{
|
{
|
||||||
[ApiMember(Name = "Id", Description = "Provider id", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "Id", Description = "Provider id", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
|
||||||
|
@ -451,7 +451,7 @@ namespace MediaBrowser.Api.LiveTv
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route("/LiveTv/ListingProviders/SchedulesDirect/Countries", "GET", Summary = "Gets available lineups")]
|
[Route("/LiveTv/ListingProviders/SchedulesDirect/Countries", "GET", Summary = "Gets available lineups")]
|
||||||
[Authenticated]
|
[Authenticated(AllowBeforeStartupWizard = true)]
|
||||||
public class GetSchedulesDirectCountries
|
public class GetSchedulesDirectCountries
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -469,7 +469,7 @@ namespace MediaBrowser.Api.LiveTv
|
||||||
[ApiMember(Name = "Feature", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "Feature", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
|
||||||
public string Feature { get; set; }
|
public string Feature { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LiveTvService : BaseApiService
|
public class LiveTvService : BaseApiService
|
||||||
{
|
{
|
||||||
private readonly ILiveTvManager _liveTvManager;
|
private readonly ILiveTvManager _liveTvManager;
|
||||||
|
|
Loading…
Reference in a new issue