-
Thank you for the cross-compiled raspi 4 image. I created the following config file:
When I run this the output shows:
And when I use the browser to access the URL: 192.168.1.62:8901, It shows : Note: There is nothing in the webroot folder ( I tried to access both : Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 29 comments 53 replies
-
@gkns for the webui, please download a release, then unpackmthe web folder and only the web folder into the directory home/gkns/m3u-filter/web. (not web/web). But the web ui doesnt gives you access to the generated playlists. To use the m3u or xtream api, you need to define user for the targets. This can be done with the ui. You can set your log level to info. |
Beta Was this translation helpful? Give feedback.
-
@gkns did this solve your problem ? A feedback would be nice. |
Beta Was this translation helpful? Give feedback.
-
Didn't get to try this yet.
Will update.
…On Tue, 21 Nov, 2023, 12:35 pm euzu, ***@***.***> wrote:
@gkns <https://github.com/gkns> did this solve your problem ? A feedback
would be nice.
—
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADWBKVMGPDGLXAIDW4DVP3YFRHBZAVCNFSM6AAAAAA7TJUSH2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMMRWHEZDO>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Added the UI files under /web, directory looks like:
Initially it complained about : ./web/assets/android-icon-192x192.png AND ./web/assets/favicon-16x16.png Now, I created the api-proxy.yml as:
My requirement is:
|
Beta Was this translation helpful? Give feedback.
-
@gkns this is exactly what m3u-filter can do. you can run as docker container (files included in repo) or if your OS has systemd , create a file
sudo systemctl daemon-reload
sudo systemctl enable m3u-filter
sudo systemctl start m3u-filter now you can check if the process is running with If you have defined You can test the url in the browser (firefox/chrome/..) ONLY for
Dont forget: you dont need to define the output as xtream if your input is xtream, input and output formats can be different. |
Beta Was this translation helpful? Give feedback.
-
@gkns about the web-ui problem. id dont know why it shouldn't work, your config seems to be ok. |
Beta Was this translation helpful? Give feedback.
-
@gkns i think you should look at the m3u-filter wiki pages. epg only works when you provide If you make any changes no playlist update is made start. Updates are only triggered
If the files are not created, the api cant find them. And please set |
Beta Was this translation helpful? Give feedback.
-
What is your output type? If your output is xtream, go to the folder which has the generated files and search for direct_source attributes. The question is what request is made for the mkv file? |
Beta Was this translation helpful? Give feedback.
-
xtream (As the player I use -Smarters Lite, supports only that.) The
When I click on play on the Player UI, I see in the logs:
Obviously it is looking for : Which is the folder that has the "generated files"?
|
Beta Was this translation helpful? Give feedback.
-
@gkns first make some optimizations:
The problem you face comes from the direct_source atribute inside the vod.json or series.json inside the When you open one of the files, {
"added": "1598224576",
"cast": "....",
"category_id": "98",
"category_ids": [
98
],
"container_extension": "mkv",
"custom_sid": "",
"direct_source": "http://....",
"director": "....",
"episode_run_time": "...",
"genre": "....",
"name": "....",
"num": 1,
"plot": "....",
"rating": 3,
"rating_5based": 3,
"release_date": null,
"stream_icon": "....",
"stream_id": 7503,
"stream_type": "....",
"title": "....",
"year": null,
"youtube_trailer": "...."
}, Can you please look and tell me if you have the |
Beta Was this translation helpful? Give feedback.
-
@gkns i think i have found a solution for you. But i need to implement it. |
Beta Was this translation helpful? Give feedback.
-
@gkns can you test please this version. |
Beta Was this translation helpful? Give feedback.
-
@gkns i only zipped the binary, you can get the content of the web folder from one release zip, it doesnt matter which one you take. The xtream header can be set in api-proxy.yml. Can you give me information about the rejection. what about the smarters http requests to m3u-filter. |
Beta Was this translation helpful? Give feedback.
-
Smarters request to m3u-filter - are all green from the looks of it. |
Beta Was this translation helpful? Give feedback.
-
@gkns smarters acts different than other players, thats why i need to know the requests made to m3u-filter, for example exactly when a stream is started. What is the request to m3u-filter. Normally there is a direct-source attribute which is used by other players, it seems that smarters is ignoring it. I have blindly implemented a streaming endpoint but dont know if this works, thats why need to know the exact call, is it the streamid or filename like 233434.mkv i did not change anything on live category, dont know what this could be. |
Beta Was this translation helpful? Give feedback.
-
This is what the log prints looks like, when trying to play a stream:
|
Beta Was this translation helpful? Give feedback.
-
@gkns i have now implemented m3u-filter as streaming proxy, because your client ignores the direct-source and directly asks m3u-filter for the stream. I have blindly implemented the streaming because of missing xtream account i cant test it. Please test this version and report to me if it is working. Yes the web folder is empty, because i am only providing the binary to you, the web folder can be downloaded from a release package. |
Beta Was this translation helpful? Give feedback.
-
@euzu how can I share xtream credentials with you privately? |
Beta Was this translation helpful? Give feedback.
-
@adamsdavis572 thanks to you i could test it, and now i could sucessfully test hypnotix, ott player, and smarters player lite. Hypnotix played everything from the start, ott-player and smarters not because of the changes with skip_direct_source. The second thing is in the api-proxy.xml you need to set the the ip to m3u-filter. What i couldnt test was series, because your server does not respond to vod_info or series_info |
Beta Was this translation helpful? Give feedback.
-
@gkns here a new raspi version for you i could test it succesfully with smarters light, ott-player and hypnotix. The only thing i couldnt test was series. |
Beta Was this translation helpful? Give feedback.
-
@gkns can you please check this version, |
Beta Was this translation helpful? Give feedback.
-
@gkns i think that has somthing to do with thr ios version of smarters. On the android version everything is working fine. Need to chek it on an ipad. |
Beta Was this translation helpful? Give feedback.
-
I tried on on the Apple TV as well on - iPlayTV. |
Beta Was this translation helpful? Give feedback.
-
@euzu ive tried the latest version but im still unable to play
The stream I have removed the option any thoughts ? should i try with a different android client? |
Beta Was this translation helpful? Give feedback.
-
@gkns i have now tested it on an ipad. The reason why it was not working is: However the 10 seconds seek works, but not the slider and resume. I couldnt figure out why. That is why i added now proxy types to user definitions. You should use in server:
protocol: http
ip: 192.168.9.3
http_port: 80
https_port:
rtmp_port:
timezone: Europe/Paris
message: Welcome to m3u-filter
user:
- target: pl1
credentials:
- {username: gkns, password: test proxy: redirect}
Default value of proxy is
m3u-filter_armv7_musleabihf.zip I have tested this version for epg, live, video, series, and everything worked on android and ios with smarters light player. |
Beta Was this translation helpful? Give feedback.
-
@adamsdavis572 i have pushed new changes to the main branch. If you read the comment above, there is an explanation what changed. |
Beta Was this translation helpful? Give feedback.
-
@adamsdavis572 i have pushed now everything to branch There is a breaking change: you need to split the config.yml into 2 files My test config looks like:
threads: 0
api:
host: 0.0.0.0
port: 8901
web_root: /home/euzu/projects/m3u-test/web
working_dir: /home/euzu/projects/m3u-test/data
backup_dir: /home/euzu/projects/m3u-test/data/.backup
video:
extensions:
- mkv
- avi
- mp4
download:
headers: {}
directory: /tmp
organize_into_directories: true
episode_pattern: .*(?P<episode>[Ss]\d{1,2}(.*?)[Ee]\d{1,2}).*
web_search: https://www.imdb.com/search/title/?title={}
schedule: 0 0 8,20 * * * *
messaging:
notify_on:
- error
- info
telegram:
bot_token: <token>
chat_ids:
- '<my_telegram_id'
templates:
- name: SIMPLE_CHAN
value: 'Group ~ ".*"'
sources:
- inputs:
- type: xtream
persist: test_{}
url: 'http://<provider-ip>:8080'
username: <provider-username>
password: <provider-password>
options: {xtream_info_cache: true, }
targets:
- name: test
filename:
filter: "!SIMPLE_CHAN!"
options: {ignore_logo: false, xtream_skip_live_direct_source: true, xtream_skip_video_direct_source: true}
output:
- type: xtream
rename:
- { field: name, pattern: '^FR.:\s?(.*)', new_name: $1 }
sort:
match_as_ascii: true
groups:
order: asc
channels:
- { field: name, group_pattern: '^\d+\.\sFR.*', order: asc }
server:
protocol: http
ip: <m3u-filter-ip>
http_port: '8901'
https_port: '8443'
rtmp_port: '4343'
timezone: Europe/Paris
message: Welcome to m3u-filter
user:
- target: test
credentials:
- username: me
password: me.secret
token: null
proxy: reverse |
Beta Was this translation helpful? Give feedback.
-
@adamsdavis572 i have tested it now with the Smarters light Player on android, proxy in reverse mode, and everything worked, i could fast forward, seek, jump to position, resume. |
Beta Was this translation helpful? Give feedback.
-
@gkns and @adamsdavis572 i will close this dicsussion. |
Beta Was this translation helpful? Give feedback.
@gkns and @adamsdavis572 i will close this dicsussion.
I think the release v1.1.4 fixes the most issues.
If there are other issues please reopen a new issue or discussion.