Thanks! I’m on phone does it have EPG id support and image support?
Nice work!
Created something similar myself but in shell and I extract groups rather than channels. I run this daily on a Raspberry Pi running LibreElec. Reason for writing this was that the playlist from my supplier was far too big for Kodi to load.
strip_playlist.sh reads group names from groups.txt and outputs a new playlist.
Code is here on Github
Hello Folks,
I had some time today and made a quick and easy script to create your own M3U playlist. I figured the folks in /r/iptv would get use out of it as from what I have seen IPTV uses M3u's.
This was made today and there isn't too much error handling and was not tested aside from a free Stratus TV playlist I found so your results may vary. Keep in mind, it's quite simple, there isn't too much functionality and powershell was certainly not the best language to do this in. However, it was something I could bust out fairly quick and easy and figured I would share. I have very little knowledge of WPF forms so it's quite basic and well may not be the most put together thing in the world. Hopefully this works for you, you can report your issues or suggestions I may or not may not be able to get around to them. Just felt like sharing!
You can get script here: here You simply throw it in the powershell ISE (If your are on windows you will likely have this) or save it as a .ps1 file and run with powershell. It is fairly self explanatory, any questions let me know. Hopefully at least one of you can get some use out of it.
Edit: had a report of errors, if you experience any issues if you could send me over the errors and what's happening so I can look into it. A sanitized version of the playlist would be helpful as well.
Edit2: so not sure if anyone is using it or not, but on larger playlists that will have the same channel name in different groups on export they all will be exported. I'll work on fixing that when I get time, it in IMO better than having all channels. Playlist will be much lighter and we'll easier to clean if needed. If I fix it soon I'll edit this anyways.
Edit3: fixed above. Seems to work from initial testing.
It works now, it's terribly slow might say it stopped responding but it definitely will continue to work and it will export the playlist. Not sure how to optimize it but I must say it's convenient and free.