From 66ca2d08bf08b1790ac41eb030945ff6f3a33578 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 11 Apr 2017 17:40:32 +0800 Subject: [PATCH] Authorization: Bearer . Currently, the token expires after 24 hours. You can GET the /refresh_token route to extend that expiration date. --- source/net/filebot/web/TheTVDBClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/web/TheTVDBClient.java b/source/net/filebot/web/TheTVDBClient.java index c35f1b3b..0ed2d0fc 100644 --- a/source/net/filebot/web/TheTVDBClient.java +++ b/source/net/filebot/web/TheTVDBClient.java @@ -85,7 +85,7 @@ public class TheTVDBClient extends AbstractEpisodeListProvider implements Artwor private String token = null; private Instant tokenExpireInstant = null; - private Duration tokenExpireDuration = Duration.ofHours(1); + private Duration tokenExpireDuration = Duration.ofHours(23); // token expires after 24 hours private String getAuthorizationToken() { synchronized (tokenExpireDuration) {