Series plugin unable to parse episode sequence numbers over 3 digits in length
See original GitHub issueExpected behaviour:
Flexget series plugin should be able to parse an episode number with over 3 digits in length
Actual behaviour:
The following error occurs and the episode is not recognised as being a part of the series:
2021-11-23 00:04:51 INFO parser_internal nyaa.si - judas Title
[Judas] One Piece - 1000 [1080p][HEVC x265 10bit][Multi-Subs] (Weekly)
looks like seriesOne Piece
but cannot find any series numbering.
Steps to reproduce:
- Have config which references a series entry that has over 999 episodes from RSS
- Run flexget (I personally run in daemon mode, but probably not relevant)
- Episode not recognised
Config:
Log:
(click to expand)
2021-11-23 00:04:51 INFO parser_internal nyaa.si - judas Title `[Judas] One Piece - 1000 [1080p][HEVC x265 10bit][Multi-Subs] (Weekly)` looks like series `One Piece` but cannot find any series numbering.
Let me know if you want the entire log. None of the log seems interesting.
Additional information:
- FlexGet version:
3.1.153
You are on the latest release.
- Python version:
Python 2.7.18
- Installation method: Of flexget? Via
pip
- Using daemon (yes/no): Yes
- OS and version:
Linux wilko-server 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
- Link to crash log: N/A
Is the problem line here: https://github.com/Flexget/Flexget/blob/develop/flexget/components/series/next_series_episodes.py#L46
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Advanced Parser · Issue #457 · Sonarr/Sonarr - GitHub
Since sonarr knows the episode title is it possible to parse on episode title as well? iTunes always adds the exact episode number...
Read more >Unable to parse configuration of mojo org.springframework ...
It looks like you're using inconsistent versions of Spring Boot and Spring Framework. I suggest getting more of your dependencies from ...
Read more >Unable to Parse! - Writer's Portal Bug - Episode Forums
“Unable to parse! Backup your script. If you chapter is 8k+ lines it may be too large to save. Try reducing the length...
Read more >mudder - npm
Mudder.js. Generate lexicographically-spaced strings between two strings from pre-defined alphabets. The name came to me while I was writing ...
Read more >Testing Guide - OWASP Foundation
The Open Web Application Security Project (OWASP) is a worldwide free and open com- munity focused on improving the security of application software....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You could solve for these exceptions directly in the config with https://flexget.com/Plugins/series/regexps#episode-numbering-matching
No need to specify a maximum number sequence length. Using jasonlyle88’s contribution as a base:
The regex above should match sequence lengths if they are at least one digit long.