xbmc / xbmc/metadata.tvdb.com.python

Support specials when using absolute order

Open
#55 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Trying to parse Animes with Kodi 19.4 as explained in the Kodi Wiki I found that, when enabling the "absolute order", if I put the Specials in the same folder or in a subfolder they are not correctly detected (unless I add additional configuration for each subfolder or parse them manually). I've seen this happen on some Animes (such as Dragon Ball).
I've tested a quick fix in the script so that it will only set the season to "1" if it was already equal or higher than one, but it will keep it as it was otherwise (so specials keep their original season and episode number). Tested it with some Animes, both with and without specials, the only one that did not work properly was not showing any episodes in absolute sort in tvdb.com (so the problem did not seem to be in the algorithm, but in the information source).
You can check it in the PR #54.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR #54 and the Kodi Wiki's anime scanning guidance, then inspect the scraper script involved in absolute order handling. Done means specials placed in the same folder or a subfolder are detected correctly while regular episodes continue to parse correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.