Linux and Internet Protocol Television (ipTV)

Jarret B

Well-Known Member
Staff member
Joined
May 22, 2017
Messages
377
Reaction score
444
Credits
14,054
There have been more comments on the article for FreeTuxTV. Apparently this app has not been updated well, so let's look at another as well as how to update it yourself.

I’ve found I can add channels to FreeTuxTV, but it slows it down if I add an extensive list.

The app we’ll be using is called Hypnotix, as mentioned by ‘Egzoset’ in the FreeTuxTV article. Hypnotix seems a better choice than FreeTuxTV.

Most people should note, this method is not allowing you to select a channel, then select the video you want. Using Hypnotix, and the like, only streams a show that is currently playing. This is not like using Roku, Firestick or a Smart TV where you can choose a show from a series and watch it.

Installation

There are a few dependencies needed for Hypnotix that have no updates and one no longer exists. Every time I tried to download the dependencies, I would have broken dependencies, and it was an absolute mess. Luckily I was using a test system so I could just reinstall Ubuntu.

Apparently, Linux Mint comes with Hypnotix, so we know we can easily install it on Ubuntu with a little know how.

Since there were so many problems installing it the regular way, I found a Personal Package Archive (PPA) that has the current version (4.6).

Before we add the PPA, some Ubuntu 22.04 systems can not add a PPA automatically. To fix this, do the following command:

Code:
sudo apt install software-properties-common -y

This should install the command ‘add-apt-repository’ to your system.

To add the PPA, use the command:

Code:
sudo add-apt-repository ppa:kelebek333/mint-tools

The new repository, once added, should also cause the repository list to update. Now, you only need to install the app.

Code:
sudo apt install hypnotix -y

If you open ‘Hypnotix’, you’ll see the app as shown in Figure 1.

Figure 1.jpg

FIGURE 1

Click on the button on the top-left with the three horizontal lines and then select ‘About’. The new window should show the version of ‘4.6+klbkjammy’. So, leave the ‘About’ box and go back to the main screen.

Looking at Figure 1, we can see that there are three categories of videos: TV Channels, Movies and Series. Each of these is followed by a number signifying the number of channels. Granted, these channels may not all be available. Some may not be 24 hours a day, and others may shutdown entirely.

Opening a Channel

In the main window, choose either ‘TV Channels’, ‘Movies’ or ‘Series’.

After making your selection, you’ll see something similar to Figure 2. Here, language, genre, country, etc separates the choices. Make a choice.

Figure 2.jpg

FIGURE 2

The next screen may open a bit differently, but is like Figure 3. Here you can choose your channel to open. Some channels may take longer to open than others, while some may not start a video at all. Some channels may not be available 24 hours a day.

Figure 3.jpg

FIGURE 3

Be aware that these channels are not all that are available.

Adding Channels

You would think there was a central database of channels for IPTV. Well, there is.

The database can be found here. Select the option, such as ‘Grouped by language’. Once you have selected the grouping type, find your desired group. Download the ‘m3u’ file and save it to a folder, such as ‘~/.hypnotix/’. Remember the folder and filename where you save it.

At Hypnotix main screen, select the square above the ‘Series’ box. It should have the pop-up message ‘Providers’.

Once opened, as shown in Figure 4, you can see the existing database called ‘Free-TV’

Figure 4.jpg

FIGURE 4

Select the button at the bottom labeled ‘Add a new provider…’. A new window should appear, as shown in Figure 5. At least similar, select the ‘Type’ as ‘Local M3U File’ and it should change to match the Figure.

Figure 5.jpg

FIGURE 5

Set a name, one that will appear below the ‘Free-TV’. This will be a second database and you can add multiple database entries. For the ‘Path’ entry, choose the folder to the right of the Path Entry. Find and select the ‘m3u’ file you saved before. Select ‘OK’ when prompted to add the database which is parsed by Hypnotix.

Now, on the same screen, shown in Figure 5, you should now see two database entries. Click on the new database entry and you should go back to the main Hypnotix screen and see different numbers for the three channel items.

Select your channel item and see the new entries.

You have an option to add a master database on the internet. Before changing the ‘Type’ to ‘Local M3U File’, leave it as ‘M3U URL’. For the ‘URL’, put in ‘https://iptv-org.github.io/iptv/index.m3u’ and select OK.

When you update the database, it should update the app when started, and the file is read from the Internet. Keep in mind that this list contains all languages and all countries.

Favorites

Once you start a channel, if you like it, you can select the start at the upper-right. This will add the channel to your Favorites list.

The Favorites option does not appear in Full Screen mode (F11).

To see your Favorites list, just click on the star at the main screen for a faster way to access these channels.

Keyboard Shortcuts

As we’ve covered, F11, is the full screen mode on and off. You can also use the ‘F’ key.

To see the ‘About’ information for Hypnotix, use the F1 key.

For information about the Video/Audio settings for the currently playing channel, use F2.

CTRL+F lets you search the database. There is also a magnifying glass at the top of the channel list to use for searching. If the database is large, be prepared to wait a bit for the entire database to be searched.

If you need to the see the keyboard shortcuts, press CTRL+K.

To reload the providers, use CTRL+R.

If you are done watching and want to close Hypnotix with the keyboard, use CTRL+Q or CTRL+W.

Running Channel

When closing the channel list and going back to the main screen, the channel may still be running. It can be closed by simply clicking on the stop (square) at the bottom right of the screen.

Even while it is running, you can still hear the audio in the background, unless muted.

Conclusion

To watch TV or stream Video/Audio you can use IPTV apps like Hypnotix.

Some have a built-in ability to record the streaming content. Recording the content lets you watch it when not connected to the Internet. For some, this may be handy when you do not have a constant internet connection.
 


Salutations,

Here's some complement to this excellent presentation, addressed to Linuxians running EndeavourOS, Manjaro and possibly a few more variations:

How to install Hypnotix on Manjaro

Usually we also get alternatives besides Hypnotix, such as Celluloid, MPV, SMPlayer and VLC. At times a favourite channel only works with one player and not another; failures are of many forms, like brutal exits, faint or no sound, even the total lack of video. In short YMMV, depending on preferences! But generally speaking i've gradually transitioned from VLC to Hypnotix without much concious effort, not to mention VLC wouldn't even have been viable as an option without noticing Hypnotix's .M3U source in the 1st place...

Which by the way inspires me this little piece of advice: avoid serialized URLs as those could happen to correspond to a paying account, e.g. not necessarily under the form of a username and password and yet stolen. IMO short ones that conform to a somewhat generic format should be preferred, which may be of importance in any context where sources have a tendency to put focus on the "need" for a VPN while pretending it's all legit.

Consequently i started to include symbols in my personalized listings after a while, for example:

Ⓐ Analog, Ⓢ SD, Ⓗ HD, ¢▣$ Publicity, Ⓟ Pause, ⌚Scheduled, ✔ OK, Ⓖ Geo-Locked, △⌗✱✘ Avoid, Ⓣ Text (Fr.), ⓣ Text (En.), Ⓛ List, Ⓜ Menu, Ⓥ Vocal desciption, Ⓦ Web, Ⓨ YouTube, ℚ Québec.​

Then i sub-divided a bit further:

✘ Subscription, ✱ Intense, ▣ QR code, ¢ Self-Advertizing, △ Third-Party, ⌗ Specific signature, Ⓔ Episodic, ⓘ Intermittent, ¦ Separator.​

There are a few stations wanting us to watch them, and others making it an obligation to gain access via their web site, etc. A fair sense of ethics would command that we always respect each type of broadcasting model, similarily to what is done with video games vs emulators.

Better pay attention to domain names as they are of various types. TV distributors (as TVA, CBC, Stingray) cover regions on a provincial and/or national level so one reasonable pre-requisite is probably to reside in there. Others designate a TV set brand (RCA, Roku, Samsung) and hence although it's not automatically suitable at least some appearance of fairness exists for owners of such hardware, possibly including a mix of hybrids (Plex/Pluto/Tubi) provided as "applets" specially created for those devices. Then finally, 3rd-party generalist hosts (Akamaized, Amagi, FreeCaster, StreamTheWorld, WebTVManager) are dispatching a palette of programming that may combine with the other categories.

In any case the Linux support remains slim compared to proprietary systems but attitudes are changing; we're about to witness a little revolution in slow-motion!

Good day, have fun!! :cool:



P.S.:

Most unfortunately my combination of Hypnotix & Endeavour corresponds to the very 1st time witnessing repeated Hypnotix crashes when changing channel, a behaviour never observed before on any Linux i've tried so far.
 
Last edited:

Members online


Latest posts

Top