4gray / iptvnator

:tv: Cross-platform IPTV player application with multiple features, such as support of m3u and m3u8 playlists, favorites, TV guide, TV archive/catchup and more.
https://iptvnator.vercel.app
MIT License
2.01k stars 306 forks source link

URL Login (Xtream API) #53

Closed hamzaalmali closed 11 months ago

hamzaalmali commented 3 years ago

Hello there,

Thank you for making this application. Health to your hands. How can I make login screen with URL, username and password to this app?

4gray commented 3 years ago

Thank you for the feedback! Why do you need it, what is your use case?

hamzaalmali commented 3 years ago

It is a convenience to login to the application with dns, username and password. just wanted to make a suggestion

what-a commented 2 years ago

I have the same issue/question. How does one load a playlist that includes a user name and password? A playlist of this sort works in VLC and mpv but doesn't work in hls.js (which is probably why IPTVnator is having an issue). An example of the format that does not work is: http://bestsave.ltd:8011/get.php?username=sellbylost57&password=P1234567&type=m3u

4gray commented 2 years ago

@what-a The question is how to deal with these parameters (username, password, type), I suppose that they should be passed as request body or maybe as part of the http header.

what-a commented 2 years ago

Wish I could offer a suggestion, but I'm clueless. 🤷‍♂️

analyserdmz commented 2 years ago

I think the OP is asking how to have a login screen like IPTV Smarters does.

what-a commented 2 years ago

I now understand that this is known as adding an Xtream API playlist (the subject line of this thread should be updated). Examples:

Loading in GSE Smart IPTV https://youtu.be/GJLEVWjh9EA

Loading in Hypnotix: image

Loading in m3u4u: image

ahmedsafadii commented 1 year ago

+1

iGerman00 commented 1 year ago

For the dev, found some docs https://xtream-ui.org/api-xtreamui-xtreamcode/

bojangster commented 1 year ago

+1 to this request. Your application will be the go-to option if you add this feature. If you can provide an update if you are planning to add this feature, it would be appreciated.

kaypoush commented 1 year ago

+1 this is a must-have feature

Some resources to help the devs:

https://github.com/linuxmint/hypnotix/blob/master/usr/lib/hypnotix/xtream.py

https://github.com/chazlarson/py-xtream-codes/blob/master/xtream.py

https://github.com/gtaman92/XtreamCodesExtendAPI

4gray commented 1 year ago

@kaypoush thanks for sharing 👍 slowly started with the implementation

4gray commented 11 months ago

Finally it's time to close this one, Xtream API is included in v0.14 🚀