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

Added support for EXTTV and keeping of custom tags #209

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bokysan
Copy link

@bokysan bokysan commented May 15, 2020

This commit:

  • Adds support for EXTV: I haven't found any official specification on the format, but seems to be used throughout the web.
  • Add support for keeping custom tags on the lists. This means it's now possible to do a load() / dumps() cycle without losing any metadata.

This commit:
- Adds support for `EXTV`: I haven't found any official specification on
  the format, but seems to be used throughout the web.
- Add support for keeping custom tags on the lists. This means it's now
  possible to do a `load()` / `dumps()` cycle without loosing any
  metadata.
@mauricioabreu
Copy link
Member

Hello @bokysan thank you for the contribution.
What does this EXTTV do?

@bokysan
Copy link
Author

bokysan commented May 24, 2020

Here's info from Google.

Basically additional info for IPTV channels. Namely, the structure seems to be as follows:

#EXTTV:Tag1-Tag2-Tag3;lang;XML-TV-Channel;Channel_Icon

So:

  • a list of tags attached to the channel, separated by commads (e.g. "movies,fun,witty")
  • language of the channel
  • XML EPG id
  • channel icon

@leandromoreira
Copy link
Contributor

@mauricioabreu isn't the case of custom parser usage instead of code here?

@mauricioabreu
Copy link
Member

@leandromoreira I am not sure if it will work. I will try to achieve the same goal of this PR by using the custom parser.

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.

None yet

3 participants