Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Add Hama support #60

Merged
merged 1 commit into from
Sep 8, 2021
Merged

Add Hama support #60

merged 1 commit into from
Sep 8, 2021

Conversation

reconman
Copy link
Contributor

Fixes #59

In the future, Hama will probably support TMDB series IDs because of ZeroQI/Hama.bundle#457, then the code needs to be changed again.

But until then, my proposed code is probably enough.

@BrutuZ
Copy link
Contributor

BrutuZ commented Sep 5, 2021

A tweak to the existing regex at line 89 wouldn't suffice?

re := regexp.MustCompile("tvdb://(\\d*)/(\\d*)/(\\d*)")

+ 	re := regexp.MustCompile("tvdb(?:://|[2-5]?-)(\\d*)/(\\d*)/(\\d*)")

@XanderStrike XanderStrike merged commit 90a4695 into XanderStrike:master Sep 8, 2021
@XanderStrike
Copy link
Owner

Thanks for this!

BrutuZ added a commit to BrutuZ/goplaxt that referenced this pull request Sep 18, 2021
Improve on XanderStrike#60 by shaving a check and supporting HAMA's* [additional TVDB mapping modes](https://github.com/ZeroQI/Absolute-Series-Scanner#forcing-the-movieseries-id)

*= ASS's actually, but HAMA will inherit it

[x] Tested and working
@BrutuZ BrutuZ mentioned this pull request Sep 19, 2021
1 task
XanderStrike pushed a commit that referenced this pull request Sep 21, 2021
Improve on #60 by shaving a check and supporting HAMA's* [additional TVDB mapping modes](https://github.com/ZeroQI/Absolute-Series-Scanner#forcing-the-movieseries-id)

*= ASS's actually, but HAMA will inherit it

[x] Tested and working
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add partial Hama.bundle agent support
3 participants