4v3ngR / pluto_tv_scraper

Generate an m3u8 and xml (epg) for pluto tv channels
https://www.npmjs.com/package/plutotv-scraper
MIT License
21 stars 6 forks source link

Add an option to create all.m3u8 and all.xml #3

Closed jeepcook closed 10 months ago

jeepcook commented 10 months ago

Great great software.

An idea would be to create separate m3u8 and xml for configured country as currently but also create all.m3u and all.xml containing all these countries.

Perhaps an option to configure in the indes.js or elsewhere.

Thanks ;-)

jeepcook commented 10 months ago

It's not an issue but a pull request, sorry

4v3ngR commented 10 months ago

This would be an interesting one (especially for the XML file) - though as long as there isn't any collisions, it should be possible to simply concat the files (after removing the headers) and they should be valid.

jeepcook commented 10 months ago

It's to avoid collisions you've added -country after each tvg-id? Because in fact there is no collisions, every tvg-id are unique across all countries.

4v3ngR commented 10 months ago

Previously I've observed pluto TV use the same channel ID in multiple regions - hence the suffix.

I'll also note that I've added some enhancements:

jeepcook commented 10 months ago

Hello,

Thanks for this new and great update.

For the all m3u8 and xml files I think I would be useful if the group-title was the country and not the original groupe-title. On Matt versions, for all files groupe-title were: USA, Great Britain, Spain, Germany, France, Italy, Norway, Sweden, Denmark

What do you think about this ?

jeepcook commented 10 months ago

After tests, in fact in the all.m3u8 some channel groups are a mixed of some countries, they are in a same group of the one from another country. Just because the group name is the same, example: kids, sport, Music .... I think that's why Matt changed the name groupes in the all.m3u and xml by the country name.