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

Filtering Channels/Output #35

Open
frigginbrownie opened this issue Sep 18, 2023 · 1 comment
Open

Filtering Channels/Output #35

frigginbrownie opened this issue Sep 18, 2023 · 1 comment

Comments

@frigginbrownie
Copy link

Hi, great app, works like a charm!

One thing I'm curious about: is it possible to filter the output so it only generates an xmltv of the channels I want, as opposed to all channels? I'd love the ability to mark favorites on the zap2it website then output those to an xmltv file.

It looks like the printGrid API has the ability to filter output with the user token and filter name, but I can't work out the parameters for a filtered output with the grid API. At worst, the XML generation could only output channel IDs listed in the ini file, but it would still have to scrape the entire guide (inefficient).

I can make a pull request for the latter but wanted to list it here incase there's something I'm overlooking.

Thanks!

@daniel-widrick
Copy link
Owner

I'd be interested in any details you have worked out about the printGrid api.

but it would still have to scrape the entire guide (inefficient)

agreed. The process should only need to run ~once a week though. and a large portion of the workload would skipped on any channel filtered out.

I can make a pull request for the latter but wanted to list it here incase there's something I'm overlooking.

I'd love to see it. I like a locally defined allow/deny list better than relying on settings within zap2it on its face, but am open to the other options.

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

No branches or pull requests

2 participants