Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

Watch TV with GNU/Linux online

Leer en espanol
Watch TV with GNU/Linux online

Table of contents

Simple bash script to watch and record television on GNU/Linux / BSD systems without a capture / tuner card. You only need an Internet connection, have installed ===

What is TVenLinux.sh

Simple bash script to watch and record television on GNU/Linux / BSD systems without a capture / tuner card. You only need an Internet connection, having Mplayer, Curl, Rtmpdump and Zenity installed for Gtk or Kdialog environments for desktop that use Qt like KDE. Currently there are more than 80 Spanish DTT channels

Install dependencies.

Bash
rokitoh@red-irbita: # apt-get install mplayer rtmpdump curl

We download TVenLinux.sh.

log
wget http://www.tvenlinux.com/static/assets/TVenLinux.sh

–2012-11-30 11:47:20– http://www.tvenlinux.com/static/assets/TVenLinux.sh

Resolviendo www.tvenlinux.com… 174.129.20.208, 174.129.23.118, 107.22.234.17, …

Connecting to www.tvenlinux.com|174.129.20.208|:80… conectado.

Petición HTTP enviada, esperando respuesta… 200 OK

Longitud: 37091 (36K) [text/x-sh]

Saving to: `TVenLinux.sh’
100%[======================================>] 37.091 77,8K/s in 0,5s
2012-11-30 11:47:21 (77,8 KB/s) – `TVenLinux.sh’ saved [37091/37091]

We give permissions and execute.

Bash
rokitoh@red-irbita:# chmod u+x TVenLinux.sh

rokitoh@red-irbita:# ./TVenLinux.sh &

Once we run it, it shows us a list of channels. We select the one we want to see… and that's it!

Pantallazo1

Pantallazo 11

We add a Launcher. 

We create a folder in /opt and move the script to the created folder.

Bash
rokitoh@red-irbita:#  mkdir /opt/tvenlinux

rokitoh@red-irbita:#  mv TVenLinux.sh /opt/tvenlinux/

We create the launcher. For this we go:

System > Preferences > Main Menu. 

We go to the Sound and Video menu and add a “New Item” and fill in all the fields as follows:

Pantallazo 3

Conclusions: It's pretty good... the only thing that goes a little slow... Sometimes it gives some errors when putting on some channel and for my taste I would remove Intereconomia and Telecinco and put TeleK

Regards, rokitoh

:wq!

Comments