-
Notifications
You must be signed in to change notification settings - Fork 7
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
Group with parenthesis () does not return results in source.yml #68
Comments
@jamesbrown i dotn uderstand your question, What do you want to filter ? If you want to filter by group name Can you give me an example of the channel name and the group name you want to filter with the pattern you are using? |
@jamesarbrown is this issue open or is it solved ? |
Sorry @euzu for not responding, been very busy. If there is a group on the provider called let us say "Entertainment (UK)" and "Entertainment (USA)" the contents are not being searched as far as I can tell and hence a rough example like this... (example from memory, so hopefully have shown a valid search pattern)
returns no channels from those groups, even though there are probably 20 entries that match. The web front end does return results, but the actual backend does not |
@jamesarbrown the regular expression should be Ok i have tested it whit this playlist:
sources:
- inputs:
- name: pl1
type: m3u
url: 'http://localhost:7000/entertainment.m3u'
headers:
User-Agent: "Mozilla/5.0 (Linux; Tizen 2.3) AppleWebKit/538.1 (KHTML, like Gecko)Version/2.3 TV Safari/538.1"
targets:
- name: entertain
options:
ignore_logo: true
output:
- type: m3u
filename: pl1.m3u
sort:
order: asc
filter: '(Name ~ ".*BBC.*")'
mapping:
- bbc
mappings:
templates:
- name: bbc
value: 'Name ~ ".*BBC.*"'
mapping:
- id: bbc
mapper:
- pattern: '!bbc!'
attributes:
name: It's BBC And the result is:
As expected. Did i understand your question wrong ? |
@euzu I am heading out to Saudi end of next week working for a couple of weeks, if you can leave this open for say 6 weeks, I will update my install and retest as I think i was only getting channels |
@jamesarbrown all the best with your work abroad! |
With the following test template in source.yml
All XYZ with normal group names are found, but when they are in a group for example "Entertainment (ABC)" they are not found, however can confirm they are found in the web gui when something like "^XYZ$" is used as a regex
I can also search for the group ok with an escaped regex in the web gui "^ENTERTAINMENT \(ABC\)"
The text was updated successfully, but these errors were encountered: