4v3ngR / pluto_tv_scraper

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

Improvment: Group all xml and m3u8 files by country #4

Closed jeepcook closed 8 months ago

jeepcook commented 8 months ago

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

The files will be more readable as currently. We have 110 groups without the country name and some have the same names. It's confusing and incompatible with enigma2 fonctionnement. A ServiceRef for a provider has to be unique. But if the servicename and group are the same, the ServiceRef will be the same for these channels and only the first will be displayed and other will be hidden.

Thanks

4v3ngR commented 8 months ago

I've added a "group" config option and a --group command line option which can have the values "genre" or "country". This will set the playlist group id to either the genre or the country.

The updated readme contains all the new options added.

jeepcook commented 8 months ago

Hello,

Cool update! We have now a very complete soft, with all necessary options.

Thanks for your work.