mnamer icon indicating copy to clipboard operation
mnamer copied to clipboard

Fix: Update tvdb to use v4 api and accept absolute episode number

Open asfixia opened this issue 7 months ago • 0 comments

This PR updates mnamer’s TVDB integration to use the v4 API, since the old API is deprecated and will be dropped soon.

Key changes:

  • Migrated requests to the TVDB v4 API.
  • Added support for absolute episode numbers → these can now be translated into the standard Season x Episode format.
  • No API key is included in this PR, so CI tests that require authentication may fail until a valid key is configured.
  • Improve subtitles matching.
  • Allows methods different from move, added the parameter: --relocation-operation=(copy | copy-with-metadata | move | hardlink | symlink )
  • Allows series absolute numering matching when no reasonable season numer is defined.

Notes:

  • The TVDB website indicates the v2 API is deprecated. Updating now ensures future compatibility.
  • Please confirm if adopting v4 is the desired direction.

PS: I replaced with my own TVDB key API on code so it can works with tvdb API v4.

asfixia avatar Sep 29 '25 03:09 asfixia