Skip to content

Conversation

@asfixia
Copy link

@asfixia asfixia commented Sep 29, 2025

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.

…copy-with-metadata | move | hardlink | symlink )

Relocation Methods:
Copy: Creates a copy of the file.
copy-with-metadata: Copy preserving the metadata.
move: The default relocation, move the file to the destination folder.
hardlink: Creates a hardlink to the file ( OS limitations still applies, for example: only between folders at the same driver)
symlink: Creates a symlink to the file ( PS: OS limitations still applies, windows depends of having admin rights )

Merge branch 'pr/150' into Adding-relocation-options-as-one-of-symlink-hardlink-move-copy
fix: Language parsing for undefined, we set it as default "english"
chore: Refactoring code and adding tests for absolute ordering and accept utf-8 characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants