diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-10-08 14:36:33 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-10-08 14:36:33 +0530 |
commit | f04e77faa68095bfe7fbe8883aad59aff157da02 (patch) | |
tree | 4baabb13b078bcc09d368cf4f53db92a1619fc4c /tests.lua | |
parent | 48700c12403ea1fc77d4fa6bd84ce1a208b876b0 (diff) |
server/opensubtitles/search_ohash: use the new fuzzy search algorithm
Diffstat (limited to 'tests.lua')
-rwxr-xr-x | tests.lua | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -28,11 +28,12 @@ local test_subscene = function () end local test_opensubtitles = function () - local ohash, id, new_id + local ohash, name, id, new_id ohash = '395787dbe5b42001' + name = 'Fight.Club.1999.REMASTERED.720p.BRRip.XviD.AC3-RARBG' id = '5449593' - new_id = opensubtitles.search_ohash(ohash) + new_id = opensubtitles.search_ohash(ohash, name) if new_id then new_id = new_id:match('%d*$') end |