Merge branch 'feature/FixTorrentSearch' into dev

This commit is contained in:
JackDandy 2023-12-13 20:20:42 +00:00
commit 721203c06c

View file

@ -797,7 +797,7 @@ def cache_torrent_file(
if search_result.provider.get_id() in ['tvchaosuk'] \ if search_result.provider.get_id() in ['tvchaosuk'] \
and hasattr(search_result.provider, 'regulate_cache_torrent_file'): and hasattr(search_result.provider, 'regulate_cache_torrent_file'):
torrent_name = search_result.provider.regulate_cache_torrent_file(torrent_name) torrent_name = search_result.provider.regulate_cache_torrent_file(torrent_name)
if not _pick_best_result_helper([search_result], **kwargs) or \ if not _pick_best_result_helper([search_result], show_obj=show_obj, **kwargs) or \
not show_name_helpers.pass_wordlist_checks(torrent_name, indexer_lookup=False, show_obj=show_obj): not show_name_helpers.pass_wordlist_checks(torrent_name, indexer_lookup=False, show_obj=show_obj):
logger.log(f'Ignored {result_name} that contains {torrent_name} (debug log has detail)') logger.log(f'Ignored {result_name} that contains {torrent_name} (debug log has detail)')
return return