added tv streams

This commit is contained in:
Niklas 2020-11-15 18:14:35 +01:00
parent 03217cbc30
commit 83578f95ef
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=TV streams
Comment=Watch free tv streams
Exec=/bin/sh -c "$HOME/.local/share/tv/tv.sh"
Icon=/usr/share/icons/Adwaita/512x512/mimetypes/video-x-generic.png
Terminal=false
Categories=AudioVideo

View File

@ -0,0 +1,2 @@
Sky Sport News,https://eventhlshttps-i.akamaihd.net/hls/live/263645/ssn-hd-https/index.m3u8
ZDF Heute,https://zdfhls01-i.akamaihd.net/hls/live/743881/none/high/master.m3u8
1 Sky Sport News https://eventhlshttps-i.akamaihd.net/hls/live/263645/ssn-hd-https/index.m3u8
2 ZDF Heute https://zdfhls01-i.akamaihd.net/hls/live/743881/none/high/master.m3u8

31
.local/share/tv/tv.csv Normal file
View File

@ -0,0 +1,31 @@
ARD,https://mcdn.daserste.de/daserste/de/master.m3u8
ZDF,http://zdf-hls-15.akamaized.net/hls/live/2016498/de/veryhigh/master.m3u8
MTV,https://unilivemtveu-lh.akamaihd.net/i/mtvde_1@134922/master.m3u8
Nick,https://unilivemtveu-lh.akamaihd.net/i/nickde_1@448749/master.m3u8
Welt,https://live2weltcms-lh.akamaihd.net/i/Live2WeltCMS_1@444563/index_1_av-b.m3u8
3sat,https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/high/master.m3u8
ARD Alpha,https://brlive-lh.akamaihd.net/i/bralpha_germany@119899/master.m3u8
ARD One,https://onelivestream-lh.akamaihd.net/i/one_livestream@568814/master.m3u8
Tageschau24,https://tagesschau-lh.akamaihd.net/i/tagesschau_3@66339/master.m3u8
ARD Sportshow,https://ardevent2.akamaized.net/hls/live/681512/ardevent2_geo/master.m3u8
ARTE,https://artelive-lh.akamaihd.net/i/artelive_de@393591/master.m3u8
KiKa,https://kikageohls-i.akamaihd.net/hls/live/1006268/livetvkika_de/master.m3u8
Phoenix,https://zdf-hls-19.akamaized.net/hls/live/2016502/de/high/master.m3u8
ZDF info,https://zdf-hls-17.akamaized.net/hls/live/2016500/de/high/master.m3u8
ZDF Neo,https://zdf-hls-16.akamaized.net/hls/live/2016499/de/high/master.m3u8
BR,https://brlive-lh.akamaihd.net/i/bfsnord_germany@119898/master.m3u8
HR,https://hrlive1-lh.akamaihd.net/i/hr_fernsehen@75910/master.m3u8
MDR Sachsen-Anhalt,https://mdrsahls-lh.akamaihd.net/i/livetvmdrsachsenanhalt_de@513999/master.m3u8
MDR Sachsen,https://mdrsnhls-lh.akamaihd.net/i/livetvmdrsachsen_de@513998/master.m3u8
MDR Thüringen,https://mdrthuhls-lh.akamaihd.net/i/livetvmdrthueringen_de@514027/master.m3u8
NDR Hamburg,https://ndrfs-lh.akamaihd.net/i/ndrfs_hh@430231/master.m3u8
NDR Meck-Pom,https://ndrfs-lh.akamaihd.net/i/ndrfs_mv@430232/master.m3u8
NDR Niedersachsen,https://ndrfs-lh.akamaihd.net/i/ndrfs_nds@430233/master.m3u8
NDR Schleswig Holstein,https://ndrfs-lh.akamaihd.net/i/ndrfs_sh@430234/master.m3u8
RBB Berlin,http://rbblive-lh.akamaihd.net/i/rbb_berlin@144674/master.m3u8
RBB Brandenburg,http://rbblive-lh.akamaihd.net/i/rbb_brandenburg@349369/master.m3u8
SR,http://srlive24-lh.akamaihd.net/i/sr_universal02@107595/master.m3u8
SWR BW,https://swrbwhls-i.akamaihd.net/hls/live/667638/swrbwd/master.m3u8
SWR RP,https://swrrphls-i.akamaihd.net/hls/live/667639/swrrpd/master.m3u8
WDR,https://wdrfsgeo-lh.akamaihd.net/i/wdrfs_geogeblockt@530016/master.m3u8
Bundestag,https://c13014-l-hls.u.core.cdn.streamfarm.net/1000153copo/live/app144277506/BTTV_1/QdoHEQIoadKSHi6oKEp5ziZ2q/J7ekv9+hgpBxTSy2G2KefdbYTKWe5R2gMXKyP0.m3u8
1 ARD https://mcdn.daserste.de/daserste/de/master.m3u8
2 ZDF http://zdf-hls-15.akamaized.net/hls/live/2016498/de/veryhigh/master.m3u8
3 MTV https://unilivemtveu-lh.akamaihd.net/i/mtvde_1@134922/master.m3u8
4 Nick https://unilivemtveu-lh.akamaihd.net/i/nickde_1@448749/master.m3u8
5 Welt https://live2weltcms-lh.akamaihd.net/i/Live2WeltCMS_1@444563/index_1_av-b.m3u8
6 3sat https://zdf-hls-18.akamaized.net/hls/live/2016501/dach/high/master.m3u8
7 ARD Alpha https://brlive-lh.akamaihd.net/i/bralpha_germany@119899/master.m3u8
8 ARD One https://onelivestream-lh.akamaihd.net/i/one_livestream@568814/master.m3u8
9 Tageschau24 https://tagesschau-lh.akamaihd.net/i/tagesschau_3@66339/master.m3u8
10 ARD Sportshow https://ardevent2.akamaized.net/hls/live/681512/ardevent2_geo/master.m3u8
11 ARTE https://artelive-lh.akamaihd.net/i/artelive_de@393591/master.m3u8
12 KiKa https://kikageohls-i.akamaihd.net/hls/live/1006268/livetvkika_de/master.m3u8
13 Phoenix https://zdf-hls-19.akamaized.net/hls/live/2016502/de/high/master.m3u8
14 ZDF info https://zdf-hls-17.akamaized.net/hls/live/2016500/de/high/master.m3u8
15 ZDF Neo https://zdf-hls-16.akamaized.net/hls/live/2016499/de/high/master.m3u8
16 BR https://brlive-lh.akamaihd.net/i/bfsnord_germany@119898/master.m3u8
17 HR https://hrlive1-lh.akamaihd.net/i/hr_fernsehen@75910/master.m3u8
18 MDR Sachsen-Anhalt https://mdrsahls-lh.akamaihd.net/i/livetvmdrsachsenanhalt_de@513999/master.m3u8
19 MDR Sachsen https://mdrsnhls-lh.akamaihd.net/i/livetvmdrsachsen_de@513998/master.m3u8
20 MDR Thüringen https://mdrthuhls-lh.akamaihd.net/i/livetvmdrthueringen_de@514027/master.m3u8
21 NDR Hamburg https://ndrfs-lh.akamaihd.net/i/ndrfs_hh@430231/master.m3u8
22 NDR Meck-Pom https://ndrfs-lh.akamaihd.net/i/ndrfs_mv@430232/master.m3u8
23 NDR Niedersachsen https://ndrfs-lh.akamaihd.net/i/ndrfs_nds@430233/master.m3u8
24 NDR Schleswig Holstein https://ndrfs-lh.akamaihd.net/i/ndrfs_sh@430234/master.m3u8
25 RBB Berlin http://rbblive-lh.akamaihd.net/i/rbb_berlin@144674/master.m3u8
26 RBB Brandenburg http://rbblive-lh.akamaihd.net/i/rbb_brandenburg@349369/master.m3u8
27 SR http://srlive24-lh.akamaihd.net/i/sr_universal02@107595/master.m3u8
28 SWR BW https://swrbwhls-i.akamaihd.net/hls/live/667638/swrbwd/master.m3u8
29 SWR RP https://swrrphls-i.akamaihd.net/hls/live/667639/swrrpd/master.m3u8
30 WDR https://wdrfsgeo-lh.akamaihd.net/i/wdrfs_geogeblockt@530016/master.m3u8
31 Bundestag https://c13014-l-hls.u.core.cdn.streamfarm.net/1000153copo/live/app144277506/BTTV_1/QdoHEQIoadKSHi6oKEp5ziZ2q/J7ekv9+hgpBxTSy2G2KefdbYTKWe5R2gMXKyP0.m3u8

19
.local/share/tv/tv.sh Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env sh
# https://wiki.ubuntuusers.de/Internet-TV/Stationen/
set -eu -o pipefail
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
MAP="$SCRIPTPATH/tv.csv"
cat "$MAP" \
| cut -d ',' -f 1 \
| rofi -dmenu -i -p "TV" \
| head -n 1 \
| xargs -i --no-run-if-empty grep "{}" "$MAP" \
| cut -d ',' -f 2 \
| head -n 1 \
| xargs -i --no-run-if-empty /bin/mpv "{}"
exit 0