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

Write the parsed list to M3U format #7

Closed
dineiar opened this issue Jul 18, 2021 · 5 comments
Closed

Write the parsed list to M3U format #7

dineiar opened this issue Jul 18, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@dineiar
Copy link
Contributor

dineiar commented Jul 18, 2021

The package currently does not provide a way to write parsed entries back to m3u format, am I right?

I think it would be nice to have the option to save streams_info in m3u format after applying some filters to the parsed list. Currently, to_file function only offers the option to save as json or csv format.

@pawanpaudel93
Copy link
Owner

@dineiar Yes the package only supports parsed m3u to CSV and JSON and not back to m3u format currently. Yes, that's a great idea to put the parsed m3u back to its original format. Thanks for your suggestion.

@dineiar
Copy link
Contributor Author

dineiar commented Jul 20, 2021

Great. I'll try to provide a PR in the next few days with this.

@pawanpaudel93 pawanpaudel93 added the enhancement New feature or request label Jul 20, 2021
@pawanpaudel93
Copy link
Owner

@dineiar I have added support for saving back to m3u format.. Please check and give feedback...

@dineiar
Copy link
Contributor Author

dineiar commented Jul 21, 2021

Hey @pawanpaudel93, thanks for the quick answer. It works! However, I'm working with somewhat big M3U files and generating them was taking some tome. I tried to improve your code in the PR #11, please check it out.

@pawanpaudel93
Copy link
Owner

@dineiar Thanks for your PR #11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants