Skip to content

Commit

Permalink
1.5.6 <=> legacy tvdb3 api fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mynttt committed May 16, 2021
1 parent 8d93548 commit e1efc98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.5.6
- support for 16 char TVDB v3 keys

## 1.5.5
- Added webscraper fuctionality with cache (7 days for existing items / 30 day ignore for not rated yet / permanent ignore for 404s) in case the IMDB rating set does not contain the rating for an entry to prevent `Ignoring: 'xyz' with IMDB ID: tt12345 supplies no valid rating := 'null'` situations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void bootstrap(Map<String, String> args) throws Exception {
capabilities.remove(Capabilities.TVDB);
} else {
ApiVersion version;
if(tvdbApiKey.length() >= 32) {
if(tvdbApiKey.length() == 16 || tvdbApiKey.length() >= 32) {
tvdbApiKey = tvdbApiKey.trim();
version = new TvdbApiV3(tvdbApiKey, null, null, null, null).version();
} else {
Expand Down

0 comments on commit e1efc98

Please sign in to comment.