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

Export found streams in M3U format for VLC import #268

Open
analyserdmz opened this issue May 7, 2020 · 1 comment
Open

Export found streams in M3U format for VLC import #268

analyserdmz opened this issue May 7, 2020 · 1 comment

Comments

@analyserdmz
Copy link

Would be awesome if it would be possible to save the found streams to a M3U file, compatible with VLC. An example template of a valid M3U file is the following:

#EXTM3U
#EXTINF:-1 tvg-id="" tvg-name="" tvg-language="" tvg-logo="" tvg-country="" tvg-url="" group-title="",[IP AND CHANNELID HERE FOR NAME]
rtsp://192.168.0.5/route/to/stream/here

#EXTINF:-1 tvg-id="" tvg-name="" tvg-language="" tvg-logo="" tvg-country="" tvg-url="" group-title="",[IP AND CHANNELID HERE FOR THE NEXT NAME HERE]
rtsp://192.168.0.5/route/to/ANOTHER/stream/here
@Ullaakut
Copy link
Owner

@analyserdmz

Hi, thanks for the suggestion! I'm not sure if this is a feature that would be very broadly used, but if you need it feel free to add an option to export the output as an M3U file.

You'd need to make a function that takes the list of streams and writes it on the filesystem. Here are the changes that would be required for this:

That should be about it! Let me know if you need further help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants