-
Notifications
You must be signed in to change notification settings - Fork 12
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
Language Filter #29
Comments
Not sure if that's possible, I don't think Easynews includes language info in search results but I'll have to double check. Maybe it can be extracted from the title (similar to how quality/resolution is currently extracted) but it definitely won't be a perfect solution as many titles don't have a language code in them. |
Atleast in my language (german) the title always contains either .GERMAN. or .German. I would assume that that is the usual way how stremio addons parse the language. |
Language filters would be really helpful indeed. Probably in form of a Regex search filter as an optional filter which could be set? |
the code is here open source to test with any regex filtering you want, its not possible from the easynews console itself so not straightforward to implement |
If you are not english, it's a nighmare without lang filter. |
Would it be possible to add a field in the configuration that simply appends something to the search? Appending spanish, french, german or whatever will probably already yield quite usable results. Please excuse my ignorance if this is not how it would work. |
Yes, that could work as a work-around if no other more robust solution is found. |
Was a better solution found here? I will try to implement what I am wanting to do when there is some nice deal on easynews for black friday, although a slightly less janky solution would surely be appreciated. |
That would be great! |
maybe something in the pipes? 😎 |
maybe someone else knows a working solution to the language filter problem? |
Only way I can think of is self hosting the add on with a modified search prompt. Might aswell make it adjustable to instead of hardcoding it in. I will look into it in the next few weeks maybe. |
A simple fix I made for myself was to add a filter with "german" to the For loop of the defineStreamHandler and the defineMetaHandler in the addon.ts.
|
Thanks, unfortunately doesn't work for me. Easynews doesn't return anything for me. Tested with many current German releases. ` if (isBadVideo(file) || !matchesTitle(title, search, false)) {
and
Did I place the filter wrong? |
It would be nice to have a language Filter, so that only specified languages are shown.
The text was updated successfully, but these errors were encountered: