cabernetwork / cabernet

Cabernet allows control of IPTV streams. Plugins supports DaddyLive, Pluto TV, XUMO, M3U/XMLTV.XML files (SamsungTV, STIRR, DistroTV, Plex TV)
https://cabernetwork.github.io
MIT License
176 stars 23 forks source link

[improvement] Export edited playlist or make them all inactive by default #26

Closed oatmealm closed 1 year ago

oatmealm commented 2 years ago

Would it be possible to allow exporting an edited playlist of a particular provider so it can be backed up with the config files? First thing I do is remove all the right-wing media nonsense like Fox, oan etc., but Pluto as well has an unmanageable list of channels, of which one or two are useful to me. 10x.

rocky4546 commented 1 year ago

The edited playlist should be provided by http://ip:6007/channels.m3u http://ip:6007/provider/channels.m3u http://ip:6007/provider/instance/channels.m3u This gives M3U playlists down to an instance level if needed. example: http:/myipaddress:6077/PlutoTV/channels.m3u

Also, you can get a json formatted output with lineup.json instead of channels.m3u. The exported channel list will not contain any channels that are disabled in cabernet. Once you disable all but a few Pluto channels, the exported file will be small.

rocky4546 commented 1 year ago

Solution seems to meet the criteria of the issue. Closing.