1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

fully functional traktAuthentication

using api.couchpota.to with comments
for when updated RadarrAPI is deployed
This commit is contained in:
geogolem
2017-02-16 21:26:38 -05:00
parent e0f72e4853
commit aa977eb2d5
8 changed files with 238 additions and 35 deletions
@@ -8,6 +8,9 @@ namespace NzbDrone.Api.Config
public int NetImportSyncInterval { get; set; }
public string ListSyncLevel { get; set; }
public string ImportExclusions { get; set; }
public string TraktAuthToken { get; set; }
public string TraktRefreshToken { get; set; }
public int TraktTokenExpiry { get; set; }
}
public static class NetImportConfigResourceMapper
@@ -19,6 +22,9 @@ namespace NzbDrone.Api.Config
NetImportSyncInterval = model.NetImportSyncInterval,
ListSyncLevel = model.ListSyncLevel,
ImportExclusions = model.ImportExclusions,
TraktAuthToken = model.TraktAuthToken,
TraktRefreshToken = model.TraktRefreshToken,
TraktTokenExpiry = model.TraktTokenExpiry,
};
}
}