Replies: 7 comments 33 replies
-
@mrbreil can you remove the headers part from the input. |
Beta Was this translation helpful? Give feedback.
-
@mrbreil yes you have a xtream account, i dont know why it does not work, normally if everything is configured right, it should work. |
Beta Was this translation helpful? Give feedback.
-
@mrbreil first make your config as simple as possible, only necessary fields, one input one output. Then run m3u-filter with debug output. Did you wrote the config on windows? |
Beta Was this translation helpful? Give feedback.
-
@mrbreil here a working example sources:
- inputs:
- name: simple_xt
type: xtream
username: xxxxx
password: xxxxx
url: http://xxx.xxx.com
epg_url: http://xxx.xxx.com/xmltv.php?use
rname=xxxx&password=xxxx
targets:
- name: simplext
output:
- type: xtream
filter: "!SIMPLE_CHAN_ME_XT!"
options: {ignore_logo: true, xtream_skip_live_dire
ct_source: true, xtream_skip_video_direct_source: true
} |
Beta Was this translation helpful? Give feedback.
-
can you try to read and writr m3u playlist. If you provide me an anonymized m3u playlist where this error occurs, i can find the problem faster. |
Beta Was this translation helpful? Give feedback.
-
@mrbreil any progress? |
Beta Was this translation helpful? Give feedback.
-
see issue gzip compressed content |
Beta Was this translation helpful? Give feedback.
-
I can't download my source. I am very new to IPTV. can someone give me a hint.
URLs work in the browser and via wget.
debug
[2024-03-24T11:39:35Z DEBUG m3u_filter::utils] getting input text content working_dir: ./, url: http://source.com:8080 [2024-03-24T11:39:35Z DEBUG m3u_filter::utils] Request headers {} [2024-03-24T11:39:35Z DEBUG reqwest::connect] starting new connection: http://source.com:8080/ [2024-03-24T11:39:35Z DEBUG hyper::client::connect::dns] resolving host="source.com" [2024-03-24T11:39:35Z DEBUG hyper::client::connect::http] connecting to xx.xx.xx.xx:8080 [2024-03-24T11:39:35Z DEBUG hyper::client::connect::http] connected to xx.xx.xx.xx:8080 [2024-03-24T11:39:35Z DEBUG hyper::proto::h1::io] flushed 60 bytes [2024-03-24T11:39:35Z DEBUG hyper::proto::h1::io] parsed 10 headers [2024-03-24T11:39:35Z DEBUG hyper::proto::h1::conn] incoming body is chunked encoding [2024-03-24T11:39:35Z DEBUG hyper::proto::h1::decode] incoming chunked header: 0xC (12 bytes) [2024-03-24T11:39:35Z ERROR m3u_filter::utils] cant download input url: http://source.com:8080 => Request failed: 401 Unauthorized [2024-03-24T11:39:35Z INFO actix_web::middleware::logger] 192.168.180.10 "POST /api/v1/playlist HTTP/1.1" 400 47 "http://m3u:8901/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0" 0.176922 [2024-03-24T11:39:35Z DEBUG hyper::proto::h1::conn] incoming body completed
source.yaml
`sources:
type: xtream
persist: playlist_1_
headers:
User-Agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0"
Accept: application/json
Accept-Encoding: gzip
epg_url: http://source.com:8080/xmltv.php?username=xxx&password=xxx
url: 'http://source.com:8080'
username: xxx
password: xxx
options: {xtream_info_cache: true }
targets:
output:
filename: playlist_1.m3u
filter: '!ALL_CHAN!'
options: { ignore_logo: true }
rename:
sort:
groups:
order: asc
output:
filename:
filter: '!ALL_CHAN!'
options: { ignore_logo: true }
`
Beta Was this translation helpful? Give feedback.
All reactions