From c8717a8bc0f89aee562aad34b8f617c1bca215cf Mon Sep 17 00:00:00 2001 From: Jean van Kasteel Date: Mon, 3 May 2021 23:58:54 +0200 Subject: [PATCH] partial fix for long imdb_ids #80 #73 - allows long imdb ids, although automatic search cannot grab metadatas --- app/js/main/osactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/main/osactions.js b/app/js/main/osactions.js index 3afb679..0ca6a49 100644 --- a/app/js/main/osactions.js +++ b/app/js/main/osactions.js @@ -189,7 +189,7 @@ const OsActions = { $('#main-video-placeholder').css('background', 'transparent'); // sometimes, ID is not an imdb id - if (id > 9999999) { + if (id > 99999999) { console.debug('OsActions.imdbMetadata(): %s is not a valid imdb id', id); // add os id $('#imdbid').val(id);