GithubHelp home page GithubHelp logo

erengy / anime-relations Goto Github PK

View Code? Open in Web Editor NEW
85.0 15.0 67.0 268 KB

Episode redirections for Taiga

Home Page: https://github.com/erengy/taiga

License: Creative Commons Zero v1.0 Universal

anime myanimelist kitsu

anime-relations's Introduction

Anime Relations

This repository includes anime relation data for Taiga. It is used to redirect an episode to another, which is required to handle special episodes and the case where fansub groups use continuous numbering scheme in their releases.

Rule syntax

10001|10002|10003:14-26 -> 20001|20002|20003:1-13!
└─┬─┘ └─┬─┘ └─┬─┘ └─┬─┘    └─┬─┘ └─┬─┘ └─┬─┘ └─┬─┘
  1     2     3     4        1     2     3     4
  1. MyAnimeList ID
    https://myanimelist.net/anime/{id}/{title}
  2. Kitsu ID
    https://media.kitsu.io/anime/{id}/poster_image/{size}.jpeg or
    https://kitsu.io/api/edge/anime?filter[text]={title}
  3. AniList ID
    https://anilist.co/anime/{id}/{title}
  4. Episode number or range
  • ? is used for unknown values.
  • ~ is used to repeat the source ID.
  • ! suffix is shorthand for creating a new rule where destination ID is redirected to itself.

Example

The first season of Fate/Zero has 13 episodes, yet it is possible to encounter filenames that go beyond this number:

[Coalgirls]_Fate_Zero_14_(1280x720_Blu-ray_FLAC)_[E56A8415].mkv

To handle this case, we create the following rule:

# Fate/Zero -> ~ 2nd Season
- 10087|6028|10087:14-25 -> 11741|7658|11741:1-12!

Here we declare that 14th to 25th episodes of Fate/Zero are to be identified as the 1st to 12th episodes of Fate/Zero 2nd Season:

S1 14 15 16 17 18 19 20 21 22 23 24 25
S2 1 2 3 4 5 6 7 8 9 10 11 12

By appending an ! to the rule, we also handled the cases such as Fate Zero S2 - 14. This basically creates another rule:

# Fate/Zero 2nd Season -> ~
- 11741|7658|11741:14-25 -> 11741|7658|11741:1-12

How to contribute

  1. Look up MyAnimeList, Kitsu and AniList IDs of both anime.
  2. Create a new rule and place it in alphabetical order, using the main title from MyAnimeList.
  3. Update the last_modified date in YYYY-MM-DD format.
  4. Make sure the rule is working, by testing it before sending a pull request.
  5. In the pull request description, indicate which fansub groups' releases require the new rule.

License

This repository is in the public domain.

anime-relations's People

Contributors

alan1420 avatar bbtora avatar cbeast25 avatar ceruleansky avatar darkred3 avatar erengy avatar fichtefoll avatar ghostosenpai avatar hdk5 avatar indoormatic avatar injabie3 avatar kazzarin avatar kiriya-aoi avatar lolamtisch avatar lukas-berger avatar meganekos avatar menma1234 avatar paulo27ms avatar redeven avatar rjbs91 avatar sacredzenpie avatar sibernaut avatar sitiom avatar soredake avatar swn32 avatar tophf avatar wiiaboo avatar xchickens avatar zhuoyang avatar zotikus1001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anime-relations's Issues

Beatless Intermission

So I didn't want to put this into a pull request since I couldn't get it to work when I attempted it (multiple different ways), but there's a series called Beatless that has some really dumb things in which there are 4 recap episodes spread throughout the 24 episodes it has. These episodes are 6, 11, 17, and 20, of which they each displace the episode count by 1, so in actuality the series should has aired 20 episodes (which both MAL and Kitsu list correctly). So episodes 7-10 should equal 6-9, 12-16 -> 10-14, 18-19 -> 15-16, and 21-24 -> 17-20 (this is also the same for Anilist). Then 6, 11, 17, and 20 should represent episodes 1-4 of Beatless Intermission, which is a listing on MAL and Kitsu.

Support for AniDB

Hello,

I think that we might want to consider adding a few relations for AniDB to encourages developers to work on AniDB sync support.

Tensei Shitara Slime Datta Ken 3rd Season problem

The second half of the third season (eps 13+) from SubsPlease are being recognised as season 2, part 2 instead. I imagine this is due to the order of the rules in the file, as I noticed there was an extra S2P2 rule after the S3 rule, but I have no idea if this is actually the case.

Question about commit involving Re:Zero season 2 part 2

I'm running version 1.3.1 of Taiga and anime-relations.txt lists the last update as 2021-01-12.
Forgot to mention I am using AniList for my updates in case that matters.

I'm wondering about the reason for the Re:Zero rule in e6f6b65.

It seems like the episode count for 14 -> 1 would be for some sub group, but it is not working for [SubsPlease] who have this starting at 39.

I tried adding another rule, but it seems like it wont recognize it over the existing one from the latest file.

Filename:
[SubsPlease] Re Zero kara Hajimeru Isekai Seikatsu - 39 (720p) [F1D69DBE]

With the rule from this file it considers it as episode 26.

# Re:Zero kara Hajimeru Isekai Seikatsu 2nd Season -> ~ Part 2
- 39587|42198|108632:14-? -> 42203|43247|119661:1-?!

The only way I was able to fix it for me was changing the 14 to 39.
I don't want to submit a pull request for this if the change would break something for others.

# Re:Zero kara Hajimeru Isekai Seikatsu 2nd Season -> ~ Part 2
- 39587|42198|108632:39-? -> 42203|43247|119661:1-?!

Is there a conflict with recognition on my end?
My folder is called
Re Zero kara Hajimeru Isekai Seikatsu 2nd Season Part 2
but each episode just has
Re Zero kara Hajimeru Isekai Seikatsu

Problem Recognizing Anime Titles Containing Numbers

Taiga has problem recognizing anime titles containing numbers in it. It will recognize the numbers as the episode count.

There are 3 shows this season for examples:

  1. NieR:Automata Ver1.1a Part 2 (SubsPlease)

Filename: [SubsPlease] NieR Automata Ver1.1a - 13 (1080p) [DF36D5E3].mkv

Screenshot 2024-07-08 132104

As you can see it recognized episode 01 of the 1st cour, not episode 1 of 2nd cour. Even if you open any episode in Part 1 you will achieve the same result.

  1. 2.5 Dimensional Seduction (SubsPlus+)

Filename: [SubsPlus+] 2.5 Dimensional Seduction - S01E01 (CR WEB 1080p AVC EAC3) [388F142A].mkv

Screenshot 2024-07-08 132126

Here it recognized as episode 2.5.

  1. Fairy Tail: 100 Years Quest (SubsPlease)

Filename: [SubsPlease] Fairy Tail - 100 Years Quest - 01 (1080p) [1107F3A9].mkv

Screenshot 2024-07-08 132145

It recognized as ep100 of S1, not ep1 of S4.


With that said, this problem maybe nothing new, as I mentioned it happened when 1st cour of Nier was airing too. I was/can patiently do manual tracking back then. But now, you got three shows having the same problem hence I can't keep silence of this anymore.

Shingeki no Kyojin S3 Part 2 not working

Taiga isn't recognizing HorribleSubs' releases for Shingeki no Kyojin S3. They are grayed out in the torrent feed. Not sure if it matters, but I'm using AniList.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.