Does anyone have a suggestion as far as an m3u editor? I prefer a licensed based or free over a subscription.
Does anyone have a suggestion as far as an m3u editor? I prefer a licensed based or free over a subscription.
/r/IPTV/comments/bi7l5j/100_free_selfhosted_iptv_management/
/r/iptveditor
Shameless self plug, but Http://Iptv-filter.now.sh
Free, easy mode, GSE Smart IPTV android app. Either give it your m3u link (remote playlist) or local file, once it has it, hit the menu button and send it to Playlist Manager. Switch to playlist manager and find the playlist you just gave it (probably only one if you've never done this), here you can delete whole categories, reorder them around, go into each category and delete specific channels, move them around, the basics for most trying to edit their m3u.
Free, hard mode, I suggest opening the m3u in Notepad++, here's all you really need to know with some example m3u channels:
#EXTINF:-1 tvg-id="AANDE" tvg-logo="http://myiptv.service/guide_logos/AEHD.png" group-title="[USA] Channels", .A&E HD
http://myiptv.service/user123/9a8b7c6d/10001
#EXTINF:-1 tvg-id="AANDE" tvg-logo="http://myiptv.service/guide_logos/AETV.png" group-title="[USA] Channels", .A&E
http://myiptv.service/user123/9a8b7c6d/10002
Pretty self explanatory:
tvg-id="AANDE"
This is the identifier it uses to find the TV Guide info from your EPG link, don't edit that or you wont get EPG for that channel.
tvg-logo="http://myiptv.service/guide_logos/AEHD.png"
This is the logo for that channel. Maybe the channel doesn't have a logo, you can change the link here if you want, don't need to, I don't know anything about properly sized logos for channels or if it even matters.
Now to the editable stuff:
group-title="[USA] Channels"
This is the group name these channels will appear under in this case. Easy to do with Notepad++, if you want to rename that category to "America" then you just Ctrl+F if Notepad++, go to the replace tab and type exactly what you want it to find, so search for:
="[USA] Channels"
Then you replace it with:
="America"
You can't forget the = if you included it in the search. So why include the = and the " " in the first place? Well that's because if the search turned up a channel that for some reason might have the same name, you don't want it to find that one, you only want it to find the one that starts with =" and ends with a " which a channel name wouldn't have, usually.
Last, the channel names in this example are:
.A&E HD and .A&E
See that annoying period ( . ) at the beginning of the channel names, whoever is running this IPTV put them there as part of the name, you can get rid of it here too same as you changed the group name of these channels. To do this without having to go line by line I would in this case use the Replace again but search for more than you'd think, so I would search for:
Channels", .
And replace it with:
Channels",
And you do it for the same reason as the category rename, you don't want it replacing or removing stuff in other parts of the m3u you didn't mean for it to. Now, what you can't see when you remove the period in my example is that I left a space after that comma, just as it was before, it doesn't really matter in this case but easier to see where the group category ended and where the channel name begins. Some details, most IPTV apps will load the channel list order by default same as they appear in the m3u within a category, so you have the cut the EXTINF data along with the link to wherever you want to move it.
Edit: I saw you mention that Telly needs a URL, you can upload your m3u to your Google Drive and give it a direct download link. See here on how to get a direct download link instead of a download page: https://www.labnol.org/internet/direct-links-for-google-drive/28356/
I made a bash script which runs hourly that does this for me and then saves the filtered m3u to a shared folder where kodi/other apps load it from.
This guy actually wrote it: https://www.reddit.com/r/IPTV/comments/aaqjty/php_script_i_wrote_to_filter_m3u_playlists_to/
I just turned it into a bash script since I don't have a web server that I would run the php code on. The key piece is that grep command, which I would have never been able to figure out myself, lol.
#!/bin/bash
cd directory.that.you.are.saving.the.file
wget -q -nv -O ./host.m3u 'url.to.your.hosts.m3u'
touch filter.m3u
echo "#EXTM3U" > filter.m3u
grep -E '^#EXTINF.*tvg\-name=\"([^#])*\".*group\-title=\"(USA ENTERTAINMENT|USA MOVIE NETWORKS|USA \& CANADA SPORTS|NFL PACKAGE|NHL PACKAGE|ESPN NETWORKS|FOX REGIONAL SPORTS|BR LIVE|MUSIC CHANNELS|VIP USA ENTERTAINMENT|VIP USA SPORTS NETWORKS|UK NEWS NETWORKS|USA NEWS NETWORKS)\"' -A 1 host.m3u | sed "/^--$/d" >> filter.m3u
This part is where you set the filters do the categories you want to include in the filtered list (this is what I use for helix hosting):
USA ENTERTAINMENT|USA MOVIE NETWORKS|USA & CANADA SPORTS|NFL PACKAGE|NHL PACKAGE|ESPN NETWORKS|FOX REGIONAL SPORTS|BR LIVE|MUSIC CHANNELS|VIP USA ENTERTAINMENT|VIP USA SPORTS NETWORKS|UK NEWS NETWORKS|USA NEWS NETWORKS
It has significantly decreased load times to a matter of seconds whereas before it was taking 3-5min and a lot of times crashing kodi.
Hi!
I'm the developer of IPTVEditor [.] com. IPTVEditor is an advanced M3U based on Cloud and born from community requests.
We have developed a free version and a paid one of our tool.
If someone is interested you can give a look at our official subreddit /r/iptveditor
Consider Xtream Editor. Nice interface. Low $. You can trial before purchase.
You can use any text editor. Notepad++ or Sublime Text should be okay.