-
Notifications
You must be signed in to change notification settings - Fork 155
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
Add XTream API #148
Add XTream API #148
Conversation
Forgot to mention, I updated all the absolute paths to relative. It made it easier for me to test the software without installing. And also I changed the flag filename from Kowait.png to Kuwait.png. |
Rebased to version 1.7 |
will cloning the repo now include the ability to use xtream api codes? |
@milomak please follow the below commands. Probably there is a faster/better way, but for now it works. git clone [email protected]:linuxmint/hypnotix.git
git fetch origin pull/148/head:hypnotix/master
git checkout hypnotix/master For my testing I run from the repo root the command: python3 usr/lib/hypnotix/hypnotix.py |
$ git clone ***@***.***:linuxmint/hypnotix.git
Cloning into 'hypnotix'...
The authenticity of host 'github.com (140.82.121.3)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,140.82.121.3' (RSA) to the list of
known hosts.
***@***.***: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
…On Mon, Jun 14, 2021 at 5:48 PM Claudio Olmi ***@***.***> wrote:
@milomak <https://github.com/milomak> please follow the below commands.
Probably there is a faster/better way, but for now it works.
git clone ***@***.***:linuxmint/hypnotix.git
git fetch origin pull/148/head:hypnotix/master
git checkout hypnotix/master
For my testing I run from the repo root the command:
python3 usr/lib/hypnotix/hypnotix.py
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#148 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKZOAMG7P773XOGEOSJ64LTSYQDPANCNFSM46FIOAYQ>
.
|
@milomak Please open a New Issue. This is just a problem with your git setup, see Cloning with SSH URLs |
tried adding an iptv account that uses xtream codes api. the below were the results $ python3 usr/lib/hypnotix/hypnotix.py
i am running debian sid so i suspect that plays a part of the issue |
Oh, somehow I knew it. Every xtream implementation has different fields. Your particular implementation does not have the key "is_adult". I am not sure how many more are not defined, but there are few that must be there to work with Hypnotix software. |
those files don't exist ~$ sudo updatedb |
@milomak Please pull again from repo and test the new changes. |
great stuff. working now. |
one thing i noticed is that it picks up the different categories, but has all the channels in every individual category |
I realized the same thing, and it should be fixed now. |
wonderful work. working like a charm. |
this work is so great. the other alternative is smarters which is some distance behind in understanding how a desktop app works. i am so appreciative of your efforts. |
Not sure what you want to do. This thread is about handling the xtream API in Hypnotix. We don't reverse engineer apps to figure out the source of the video. |
There are more than 600+ TV channels in India. Hypnotix have only those channels which are already available on youtube. |
@rht125 Please open an issue at https://github.com/Free-TV/IPTV |
Hi @superolmo, thanks for this PR, I'm interested in adding support for Xtream API. As it is in master there's no real support, we just mimick M3U through it really. That said I can't merge your PR, it contains too many unrelated changes. Here is my feedback:
|
@clefebvre I have removed the pypi reference, the flag name change, and the relative path changes. |
Just a word caution, in the past few months, I have been reading lots of negative news about xtream iptv. I do not know of any free IPTV service that use xtream, and it seems that most, if not all, providers are staying away from this protocol in fear of getting sued. |
Tested with my paid xtream provider and working good. |
so this is now incorporated in the main repo? |
Just tried Hypnotix 2.1 with XC API support and it seems only some channels are loading in only one group, all other groups are empty.
I will try to debug what's wrong. |
@superolmo I found the problem, it's here: https://github.com/linuxmint/hypnotix/blob/master/usr/lib/hypnotix/xtream.py#L583 |
@gromez Yes, it is possible. Would you mind opening an issue? Also, does your provider send subgroups as channels with no stream in it? |
@superolmo reported here #177 |
This MR is for supporting Providers with XTream API. I have added a file called xtream.py, but I also added the same file to pypi.org under the name pyxtream. Code will try to load pyxtream, if not available it will use the local file. I will the maintainers of this repo decide whichever way they want to handle it.
I added the suggestion specified in #91 and it should take care or #48 and #116 as well. This does not handle M3U.