-
Currently, I'm using xteve+plex, but I want to test TVHeadend + Antennas + Plex, as xteve + plex is not perfect. But if I set the huge playlist on TVhheadend it becomes completely irresponsive... I think if instead of passing a playlist of 150.000 channels, I set a playlist with 150 channels, it would work quite good. That's why I'm trying your software. The thing is, I don't know really if m3u-filter can serve this filtered playlist or if it can update the source.... it is quite difficult to set up, as I don't find very intuitive. I just have an URL, I don't have or use xtream, nor I want anything related, just grab the source m3u, filter it, and serve the filtered m3u. Do you think it's possible? For example, my URL is something like:
I've configured m3u-filter with this config.yml
and source.yml
And docker starts, but it has some error on start.
But and I can see this after a manual update The arrow point to the group I want to filter, but if I put this Can you please point how to accomplish it? On the other hand, my proxy doesn't seems to work either, I don't know if it is because I have issues on the source list, or why. My api-proxy.yml is like this:
but opening a browser to http://192.168.1.100:8901/get.php?username=username&password=password
Any idea what am I doing wrong? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
@adocampo this is exactly what m3u-filter does. It fetches playlists from different sources and can create different outputs. The access to this newly created playlists can.be controlled by credentials. Yes the configuration is a little bit complex. I will create a simple example config for you. |
Beta Was this translation helpful? Give feedback.
-
@adocampo I have created an example config for you: config.zip Adocamo Example configconfig.ymlThis is a basic
If you dont want web-authentication because you use it only in your private network then skip web_auth:
enabled: true And you need to generate a password with ./m3u-filter --genpwd The created password should be set in the The format is
source.ymlFirst you need to define your filter templates. The current example filters everything what is not what you want. templates:
- name: ALL_CHANNEL
value: 'Group ~ ".*"' You need to set the right m3u url - inputs:
- type: m3u
url: 'http://iptv.example.com:80/get.php?username=aa123456&password=supersecretpassword&type=m3u_plus&output=mpegts' In the example the target name is set to targets:
- name: all_channels I have added a exampe mapping which is optional, you can remove it. mapping:
- group_quality The name mapping.ymlIs optional, if you dont need it, then remove the mapping section in api_proxy.ymlThis is for accessing the filtered playlists. The default server configuration has to match your server:
- name: default
protocol: http
host: 192.168.0.100
http_port: 8901 Ignore the !!!! The target name has to match the target name in api_proxy.yml user:
- target: all_channels <--- !! THIS !!!
source.yml targets:
- name: all_channels <--- !! THIS !!! You can define a user per target. Token is optional and can be used instead of username/password combi user:
- target: all_channels
credentials:
- username: adocampo
password: adocampo.secret
token: E8qtpNy3txZy
proxy: redirect
server: default The defined user can choose from the following m3u urls to access the playlist. (You need only one not all) |
Beta Was this translation helpful? Give feedback.
-
@adocampo i forgot, you can use |
Beta Was this translation helpful? Give feedback.
-
@adocampo here is an example filter templates:
- name: moviestar_group
value: 'Group ~ "ES\sMOVIESTAR\+"'
- name: fhd_channels
value: 'Name ~ ".*FHD$"'
- name: not_working
value: >-
Name ~ "ES\:\sAMC\sFHD$"
OR
Name "ES\:\sLA\s2\sFHD$"
- name: working_hd
value: >-
Name ~ "ES\:\sAMC\sHD$"
OR
Name "ES\:\sLA\s2\sHD$"
- name: moviestar
value: >-
!moviestar_group!
AND
((!fhd_channels!
AND Not(!not_working!))
OR !working_hd!)
sources:
- inputs:
- type: m3u
url: 'http://iptv.example.com:80/get.php?username=aa123456&password=supersecretpassword&type=m3u_plus&output=mpegts'
name: iptv_example
targets:
- name: all_channels
output:
- type: m3u
filename: playlist.m3u
filter: "!moviestar!"
options: {ignore_logo: false} I wrote this on my phone, it can contain errors |
Beta Was this translation helpful? Give feedback.
@adocampo you gave me wrong information. In the provided file is no group named ES: MOVIESTAR+
You can filter Group, Name and Title. If you look in the provided file then for example
#EXTINF:-1 tvg-id="moviestar.bg" tvg-name="BG: MOVIESTAR" tvg-logo="" group-title="Bulgaria",BG: MOVIESTAR
Based on this file i will explain how to filter.
As an example we take the "ES MOVIESTART+" group. We assume that
ES: TELECINCO FHD
andES: ANTENA 3 FHD
are not working and want to replace them with theirHD
Quality.Based on the file you provided, your source.yml should look like: (Dont forget to replace
url: '<YOUR…