mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-23 22:25:14 -04:00
Added more options to trakt, popular movies, upcoming, anticipated etc..
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
using FluentValidation;
|
||||
using NzbDrone.Core.Annotations;
|
||||
using NzbDrone.Core.Profiles;
|
||||
using NzbDrone.Core.ThingiProvider;
|
||||
using NzbDrone.Core.Validation;
|
||||
|
||||
namespace NzbDrone.Core.NetImport.Trakt
|
||||
@@ -20,7 +18,7 @@ namespace NzbDrone.Core.NetImport.Trakt
|
||||
{
|
||||
public TraktSettings()
|
||||
{
|
||||
Link = "https://api.trakt.tv/users/";
|
||||
Link = "https://api.trakt.tv";
|
||||
Username = "";
|
||||
Listname = "";
|
||||
}
|
||||
@@ -31,7 +29,7 @@ namespace NzbDrone.Core.NetImport.Trakt
|
||||
[FieldDefinition(1, Label = "Trakt List Type", Type = FieldType.Select, SelectOptions = typeof(TraktListType), HelpText = "Trakt list type, custom or watchlist")]
|
||||
public int ListType { get; set; }
|
||||
|
||||
[FieldDefinition(2, Label = "Trakt Username", HelpText = "Trakt Username the list belongs to.")]
|
||||
[FieldDefinition(2, Label = "Trakt Username", HelpText = "Required for User List")]
|
||||
public string Username { get; set; }
|
||||
|
||||
[FieldDefinition(3, Label = "Trakt List Name", HelpText = "Required for Custom List")]
|
||||
@@ -39,4 +37,6 @@ namespace NzbDrone.Core.NetImport.Trakt
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user