fix: TheTVDB v4 API compatibility + provider-specific renamelist entries

- addrename.sh: replace dead TheTVDB HTML scrape (404 since site overhaul)
  with new v4 API (api.thetvdb.com) using optional TVDB_API_KEY from
  JDAutoConfig; fall back to manual name entry when name cannot be fetched
- rename.sh: per-entry provider stored as renamelist line 6 (IDs are
  provider-specific: TVDB id != TMDB id); old 6-line entries fall back to
  the configured category default
- rename.sh: filebot_rename() validates db value and logs provider/id;
  movie fallback now uses config (FileBotLang, Movies path) instead of
  hardcoded German//mnt/Medien/Filme; drop dead names() TVDB scraper
- fix pre-existing syntax error: three prompt lines in addrename.sh had
  unbalanced quotes (odd count) - bash -n failed on the whole script
- README: filebot 4.8.5 note replaced (new TVDB v4 API needs 5.x+),
  new 'Metadata providers' section incl. TMDB German episode caveat
- JDAutoConfig: document provider options + optional TVDB_API_KEY
- i18n: add tvdb_key_missing/name_fetch_failed/enter_manually (addrename)
  and no_db/using_db (rename) for de_DE, en_GB, en_US
This commit is contained in:
ARIA committed 2026-11-08 21:31:30 +01:00
1 parent 0ca3e19117
commit 7a05877139
10 files changed
+109 -29

No files matched your search

+4 -1
View File
@@ -18,4 +18,7 @@ this_is_series This is the series:
this_is_movie This is the movie:
enter_now Now enter the
number number.
url_number number in the URL
url_number number in the URL
tvdb_key_missing TVDB_API_KEY is not set in JDAutoConfig - name check disabled.
name_fetch_failed Could not fetch the name automatically.
enter_manually Please enter the name manually:
+3 -1
View File
@@ -16,4 +16,6 @@ delete Delete
folder folder
error_renaming Error during renaming!
failed_attempts Failed attempts.
completed_successfully Everything was completed successfully!
completed_successfully Everything was completed successfully!
no_db No database configured for this entry - skipped.
using_db Using database