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

Add some further API endpoints. #546

Merged
merged 4 commits into from
Jan 17, 2017
Merged

Add some further API endpoints. #546

merged 4 commits into from
Jan 17, 2017

Conversation

Cazzar
Copy link
Member

@Cazzar Cazzar commented Jan 9, 2017

What this does is add some further information allowed via apiv2, functions are as follows:

Fuzzy search: Allows for a search that ignores characters by the following rules.
This applies on /api/serie/search as the flag ?fuzzy=true defaulting to false.

  • Invalid path characters + ()+: are removed.
  • Regex: [ ]{2,} (more than one consecutive spaces) are removed.
  • -.: replaced with spaces as media mangers like plex will do this.

I am utilising above for: ShokoMetadata.bundle

Search episode by filename
Exposed as /api/ep/getbyfilename?filename=...
Allows for searching for the AnimeEpisode reference from the filename on disk.

@da3dsoul da3dsoul merged commit 66f60bd into ShokoAnime:master Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants