Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for /play-Format urls #83

Closed
tefinger opened this issue Apr 16, 2021 · 10 comments · Fixed by #118
Closed

Support for /play-Format urls #83

tefinger opened this issue Apr 16, 2021 · 10 comments · Fixed by #118
Labels
🚧 WIP 🚧 enhancement New feature or request question Further information is requested

Comments

@tefinger
Copy link

tefinger commented Apr 16, 2021

First of all thank you very much for your work on this project. It's great and I'm using it for a long time now without any issues.

Till now ... :-) My IPTV provider changed the url format from /<user>/<pass>/<id> to /play/<some-kind-of-token>/ts.
This causes that I'm no longer able to use iptv-proxy for the streams.
iptv-proxy just gives an 404 error when trying to stream.

Is it possible to add support for that kind of urls?

@pierre-emmanuelJ
Copy link
Owner

Thanks for your issue!
Yes could be possible. Is your provider using xtream API?

@pierre-emmanuelJ pierre-emmanuelJ added enhancement New feature or request question Further information is requested labels Apr 19, 2021
@tefinger
Copy link
Author

tefinger commented Apr 20, 2021

Yes I think so. I have no concrete statement from the provider but the urls etc. look like he does.

This is how I run iptv-proxy:
iptv-proxy --m3u-url "http://<url>:8080/get.php?username=<username>&password=<password>&output=mpegts&type=m3u_plus" --hostname 10.0.0.36 --xtream-user <username> --xtream-password <password> --xtream-base-url http://<url>:8080 --user <localuser> --password <localpw>

Edit: Git a response from my provider that xtream api is supported. I changed the iptv-proxy arguments like that:
iptv-proxy --hostname 10.0.0.36 --xtream-user <username> --xtream-password <password> --xtream-base-url http://<url>:8080 --user <localuser> --password <localpw>
But the download m3u file still contains urls like http://<proxy-url>:8080/play/<token>/ts which can't be played because iptv-proxy returns a 404 error.

@pierre-emmanuelJ Any ideas when you will be able to implement such url support? Thanks a lot in advance!

@pierre-emmanuelJ
Copy link
Owner

Hello @tefinger,

Yes it could be quick when I have time, stay aware of next changes ;)

@shrimpydown
Copy link

Is it possible to play these urls or is there a workaround available? Thanks!

@mrparsons
Copy link

My provider has also changed to this "/play/token" method, and no, it doesnt seem iptv-proxy supports that yet.

@tefinger
Copy link
Author

I made a workaround which can be found here:
tefinger@5f8b49a
It's a bit hacky, so I decided to not submit it as a PR

@pierre-emmanuelJ
Copy link
Owner

pierre-emmanuelJ commented Mar 31, 2022

tefinger/iptv-proxy@5f8b49a

Thanks, for the pending fix :)

I'll do a change this week, to release a new version.

@pierre-emmanuelJ
Copy link
Owner

I opened a PR #118
The new release will be process automatically after I merged and create a new tag.

New release will be out today!

@pierre-emmanuelJ
Copy link
Owner

the right change on master: 1e0dc9e

@pierre-emmanuelJ
Copy link
Owner

Release is out now!
https://github.com/pierre-emmanuelJ/iptv-proxy/releases/tag/v3.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 WIP 🚧 enhancement New feature or request question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants