Hypnotix IPTV not working

anyone with experience using Hypnotix?

I had it installed and setup with my IPTV player but the buffering logo in the video area just persisted the entire time and an actual video never played.

That was with the Hypnotix AUR repository.

So I uninstalled it and I tried the hypnotix-git and that one won’t even open when I try to run it.

I had the same problem. Ended up installing iptvnator from AUR. It works for me as expected.

Glad to know it wasn’t just me.

I also have iptvnstor running with mpv.

It’s clunky how the video is played full screen in another window.

I guess I need to stop complaining

Hypnotix doesn’t work for me either. It starts up, but I can’t see any channels. Starting it from the terminal I get this:

> [sermor@sermor-eospc ~]$ hypnotix
System version of yt-dlp selected.
[sermor@sermor-eospc ~]$ Free-TV: 1611 channels, 89 groups, 0 series, 225 movies
TV: 926 channels, 39 groups, 0 series, 26 movies
Italy: 432 channels, 4 groups, 0 series, 0 movies
Caricamento dei provider...
Free-TV: Recupero playlist...
Free-TV: Controllo playlist...
Free-TV: Caricamento canali...
TV: Recupero playlist...
TV: Controllo playlist...
TV: Caricamento canali...
Italy: Recupero playlist...
Italy: Controllo playlist...
Italy: Caricamento canali...
No flag found for: Documentaries (AR)
No flag found for: Documentaries (EN)
No flag found for: News (AR)
No flag found for: News
No flag found for: Business
No flag found for: Weather
No flag found for: News (ES)
CHANNEL: 'Rai 1 Ⓖ' (https://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2606803&output=7&forceUserAgent=raiplayappletv)
Exception in thread Thread-3 (play_async):
Traceback (most recent call last):
  File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/hypnotix/hypnotix.py", line 908, in play_async
    self.mpv.play(channel.url)
  File "/usr/lib/hypnotix/mpv.py", line 1648, in play
    self.loadfile(filename)
  File "/usr/lib/hypnotix/mpv.py", line 1151, in loadfile
    self.command('loadfile', filename.encode(fs_enc), mode, MPV._encode_options(options))
  File "/usr/lib/hypnotix/mpv.py", line 1043, in command
    _mpv_command(self.handle, (c_char_p*len(args))(*args))
  File "/usr/lib/hypnotix/mpv.py", line 133, in raise_for_ec
    raise ex(ec, *args)
ValueError: ('Invalid value for mpv parameter', -4, (<MpvHandle object at 0x7a07095fe7d0>, <mpv.c_char_p_Array_5 object at 0x7a07095feed0>))

On Htpnotix for MPV settings I have this, it should be the default option (I haven’t touched it):

I also tried installing the iptvnator package but nothing changed. How can I solve it?

The solution given here :

worked for me.

edit: bug fixed in later Hypnotix release

I try the solution provided but doen’t work, I edit the /usr/lib/hypnotix/mpv.py file manually but no way, tryes several times but no way.
If people say it’s working probably I made some mistake with indentation, just a space more or a space less and it doen’t work.
I hope new version will be available soon with everything working, but are months I’m waiting

I just copied the former lib at the right place (~/.local/lib/libmpv.so.2.2.0), didn’t have to edit like this :

And where is the former lib and how to copy?
thanks

Download one of the 0.37 version package from here :
https://archive.archlinux.org/packages/m/mpv/

then open the archive with your usual archive application, in the archive, go to usr/lib and extract libmpv.so.2.2.0 to ~/.local/lib

ahh understood your trick now, but does’t work for me, I have other libmpv.so version on the system, copy 2.2.0 too but Hypnotix still not displaying TV channels, probably it still use last lib available so I delete last lib to try it use 2.2.0 but Hypnoticx does’t open anymore. Well many thanks for the help, I will wait a new Hypnotics version available that solve the issue if they made a new version because they are focused on Mint and Mint will use old MPV untill 2026 or so

You can try freetuxtv (in the AUR), it uses vlc.

I found why your suggestion does’t work, becaue not only copy the file on usr lib but need a change on the file too
A temporary fix on Arch based distros is to look in pacman cache for the older library, for example /var/cache/pacman/pkg/mpv-1:0.37.0-3-x86_64.pkg.tar.zst. Unpack it and place the library libmpv.so.2.2.0 somewhere in your path.
Then edit /usr/lib/hypnotix/mpv.py line 47:

sofile = ‘/home/yourhomedir/.local/libmpv/libmpv.so.2.2.0’

I do a different trick, I copy the new MPV.PY file available on gthub (clicking on RAW FILE to download it)

and replace my “old” mpv.py in usr/lib/hypnotix/ with the new one and now Hypnotix works perfecly fine

As I precised above, the file is in ~/.local/lib :

locate libmpv
/home/gege/.local/lib/libmpv.so.2.2.0
/usr/lib/libmpv.so
/usr/lib/libmpv.so.2
/usr/lib/libmpv.so.2.3.0

I gave the URL https://archive.archlinux.org/packages/m/mpv/ , because you never know if the older package is still in the pacman cache.

The bug has been fixed in the last update of Hypnotix.