Here is some stuff I posted on the forum. They need to be easier to found so I decided to move them here.
Note: This problem used to riddle Ubuntu versions up to 23.04. It also applies to Linux distro which are based on Ubuntu 22.04 and below. (such as Linux Mint up to 21.3)
For years TV-Lite suffered because of bad VLC packages or even buggy VLC versions. Ubuntu was no exception. The VLC package from the repos did not allow to view any HLS stream. Most of the live streams on the Internet are HLS streams.
This is why some PPAs appeared, offering a better packaged or a newer VLC than in the official repos. Currently we recommend UbuntuHandbook's PPA
First of all, we recommend to uninstall the official VLC version (or TV-Lite, if you don't have VLC installed, but you installed TV-Lite)sudo apt remove vlc
orsudo apt remove tv-lite
Then add the following PPA
sudo add-apt-repository ppa:ubuntuhandbook1/vlc
sudo apt update
sudo apt upgrade
Then re-install tv-lite
You can install the VLC straight from that repo.
sudo apt install vlc
I don't know if this is a recommended solution or not, but the official VLC package from the Arch repos misses some optional dependencies (aribb24) and, again, most of the live streams would not work.
At some moment I took the build recipe from the official repos and built myself a "complete" package. Up to today I use to first install my old package and then update to the newest package in the repos in order for the things to properly work.
curl -L -o vlc-3.0.12-1-x86_64.pkg.tar.zst https://www.tv-lite.com/uploads/tv-lite/arch/vlc-3.0.12-1-x86_64.pkg.tar.zst
sudo pacman -U vlc-3.0.12-1-x86_64.pkg.tar.zst
Then you can update sudo pacman -Syu
Then you may install TV-Lite from AUR (for example using yay, but you can use any of the AUR helpers)
yay -S tv-lite
To be able to view the Acestream streams (no so popular these days as they used to be a few years ago) install also the Acestream snap package
As the RPM packages don't work any more on this Fedora version. Until they will be updated, TV-Lite can be built from source code.
First you will need to add the RPM Fusion repos
Then, install the following packages:
sudo dnf install wxGTK wxGTK-devel libcurl libcurl-devel sqlite sqlite-devel rapidjson-devel vlc vlc-devel libuuid libuuid-devel
The latest TV-Lite version, as i am writing this, is 0.7.6. The source code should be downloaded from Gitlab
https://gitlab.com/cburneci/tv-lite/-/archive/0.7.6/tv-lite-0.7.6.tar.gz
Unpack the source tarball then enter the src folder.
cd src
From there, issue the following commands (there is a dot after "cmake", do not ignore it)
cmake .
sed -i 's/uint32_t/wxInt32/g' sopprotocol.h
sed -i 's/uint32_t/wxInt32/g' sopprotocol.cpp
make
make install