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

Hypnotix 4.3 - Xtream API : AttributeError: 'Channel' object has no attribute 'info' #326

Open
mrwebfr opened this issue Mar 9, 2024 · 1 comment

Comments

@mrwebfr
Copy link

mrwebfr commented Mar 9, 2024

Hello,
Hypnotix 4.3 bug when launching a TV channel with Xtream API on Ubuntu 23.10.
Installed by http://packages.linuxmint.com/search.php?release=any&section=any&keyword=hypnotix

AttributeError: 'Channel' object has no attribute 'info'
CHANNEL: '|FR| ........' (http://..............ts)
Traceback (most recent call last):
  File "/usr/lib/hypnotix/hypnotix.py", line 932, in before_play
    data = f"{channel.info}:::{channel.url}"

Solution

I fixed the problem by deleting {channel.info}.
data = f"{channel.info}:::{channel.url}"
becomes
data = f"{channel.url}"

@superolmo
Copy link
Contributor

That's right. It is a bug. The channel class does not have the info property. It is fixed in the Pull Request #276
If you know how to, feel free to download PR #276 to test it with your xtream account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants