Skip to content

a tool to watch television and listen to radio over the internet

License

Notifications You must be signed in to change notification settings

khonsaloh/television

Repository files navigation

Buy me a coffee

sample>

television

watch television (iptv) and listen to radio over the internet

Table of Contents

Features:

  1. Access granted to more than 7000 tv channels from over the world
  2. It is legal and free
  3. possibility to customize favorites
  4. rated r content did not was removed! be aware!
  5. support for several players out of the box

Dependencies

Essential

- a player able to play m3u8 files
- gawk
- curl
- jq
- fzf

Optional

xdotool - swallow terminal window 
diff - check updates
patch - update script
grep - download playlist

Usage

options for television:
 -r     for radio
 -d     for download the m3u file
 -e     for channels focused on spanish language
 -f     to choose from favorites
 -E     to edit the favorites file
 -u     for update this script
 -v     for print version
 [noflag] for tv global search

Installation

any of the methods listed below should work

Linux/Mac/Bsd

git clone https://github.com/khonsaloh/television
cd television
sudo cp television /usr/local/bin/television
sudo chmod +x /usr/local/bin/television

Android

Install termux (Guide), and a video player capable of streaming urls (mpv and vlc from play store or fdroid work fine, but there are several out there)

pkg install jq fzf curl gawk -y
curl https://raw.githubusercontent.com/khonsaloh/television/master/television -O
chmod +x television

I recommend termux widget for convenience and speed

Windows

  • Download and install dependencies
  • Download and install git bash
  • Open git bash by right-clicking and choosing "Run as administrator"
  • Run the following commands
git clone https://github.com/khonsaloh/television.git
cd television
mkdir -p "$(USERPROFILE)/.cache"
cp television $WINDIR/system32/television

Uninstall

Just remove it from path

Contribution

contributors are welcome, just make a pr to the dev branch if there is a radio station or tv channel you'd like to add send a petition to TDTChannels or iptv

Credits

playlistmanager: the playlist_manager branch

for the actual urls:

License

The content of this repository is licensed under the MIT Licence. Basically, that gives you the right to use, copy, modify, etc. the content how you see fit. You can read the full licence terms here (https://opensource.org/licenses/MIT).