Skip to content

Conversation

SK4G
Copy link

@SK4G SK4G commented Sep 3, 2025

This PR adds a sports category in addition to movies and series.

For a file to be detected as a sport it must have:

  • A full date with month, day, and year.
  • A common sport separator such as vs, vs., v, v., at, @, versus

If a file meets this criteria no api request is made to TorBox as the Get Metadata endpoint only supports movies and series.

The files are saved in the sports folder with no subfolder in this format,

f"{sports_data.get('date')} {sports_data.get('team_1')} {sport_separator} {sports_data.get('team_2')}{extension}"

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.

1 participant