Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to detect tittle #9

Closed
MeGaNeKoS opened this issue Feb 6, 2023 · 2 comments
Closed

Fail to detect tittle #9

MeGaNeKoS opened this issue Feb 6, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@MeGaNeKoS
Copy link
Owner

A.Certain.Scientific.Railgun.S02.1080p-Hi10p.BluRay.FLAC2.0.x264-CTR (English Dubbed Dual Audio)

@MeGaNeKoS
Copy link
Owner Author

Propose solution(tokenizer): Adding rule how . concatination works.

MeGaNeKoS pushed a commit that referenced this issue Apr 18, 2023
…pulate behavior

This update modifies the split regex to avoid splitting dots when surrounded by digits. In validate_elements, it now handles batch names (issue #9) and correctly parses tokens like 'aac [5.0+2.0]' by considering the previous token. A new 'batch' category has been added to element.py to mark tokens related to batch information, such as season number and series (issue #9). The parser.populate method has been adjusted to align with these new behaviors.
@MeGaNeKoS
Copy link
Owner Author

Current behavior

{
        "anime_season": [1, 2, 3, 4],
        "anime_season_prefix": ["S", "S", "S", "S"],
        "anime_title": "Sword Art Online",
        "audio_term": ["Dual Audio", "AAC"],
        "batch": [1, 2, 3, 4, "Alternative", "Movies", "Specials", "OVAs"],
        "file_name": "[Anime Time] Sword Art Online (S01+S02+S03+S04+Alternative+Movies+Specials+OVAs) [BD] [Dual Audio][1080p][HEVC 10bit x265][AAC][Eng Sub] [Batch] (SAO)",
        "language": "Eng",
        "other": ["Alternative", "Movies", "Specials", "OVAs", "SAO"],
        "release_group": "Anime Time",
        "release_information": "Batch",
        "source": "BD",
        "subtitles": "Sub",
        "video_resolution": "1080p",
        "video_term": ["HEVC", "10bit", "x265"]
    }

@MeGaNeKoS MeGaNeKoS added the enhancement New feature or request label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant