Last active
April 27, 2024 06:25
-
-
Save cirrusUK/ccb37f839a4533222346 to your computer and use it in GitHub Desktop.
Simple dialouge box for choosing streams, requires sopcast-launcher, acestream-launcher, zenity & mpv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
#dialouge box for playing acestream streams, requires acestream launcher & mpv | |
action=$(zenity --window-icon "/usr/share/zenity/zenity.png" --list \ | |
--column=" πΊ Stream Listing πΊ" --text=" π§ Pick a stream: β¬βπΊπΊπΊπΊπΊββ¬ π§ " \ | |
"acetv" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "24" "25" "26" "27" "28" "29" "30" "31" "32" "33" "34" "35" "36" "37" "38" "39" "40" "41" "42" "43" "44") | |
ret=$? | |
[[ $ret -eq 1 ]] && exit 0 | |
case $action in | |
acetv*) cmd="acestream-launcher acestream://159c6c95b23f9affd5819f61e2003bce29ac475d --player mpv" ;; | |
1*) cmd="acestream-launcher acestream://159c6c95b23f9affd5819f61e2003bce29ac475d --player mpv" ;; | |
2*) cmd="acestream-launcher acestream://159c6c95b23f9affd5819f61e2003bce29ac475d --player mpv" ;; | |
3*) cmd="acestream-launcher acestream://fecf04e4c65f43b26db59361abd2ef82e20f2c21 --player mpv" ;; | |
4*) cmd="acestream-launcher acestream://fecf04e4c65f43b26db59361abd2ef82e20f2c21 --player mpv" ;; | |
5*) cmd="acestream-launcher acestream://6f706a858bea2cf733a7916ded76133f2218dc7 --player mpv" ;; | |
6*) cmd="acestream-launcher acestream://6f706a858bea2cf733a7916ded76133f2218dc7 --player mpv" ;; | |
7*) cmd="acestream-launcher acestream://e18d07e07046016bbee2a4ee12c075957c61fa7b --player mpv" ;; | |
8*) cmd="acestream-launcher acestream://e18d07e07046016bbee2a4ee12c075957c61fa7b --player mpv" ;; | |
9*) cmd="acestream-launcher acestream://e18d07e07046016bbee2a4ee12c075957c61fa7b --player mpv" ;; | |
10*) cmd="acestream-launcher acestream://895563e994af1251767014960e1efdf38c875bda --player mpv" ;; | |
11*) cmd="acestream-launcher acestream://895563e994af1251767014960e1efdf38c875bda --player mpv" ;; | |
12*) cmd="acestream-launcher acestream://092a156cc621fbffb898b44298f6e81b4ec7a7ef --player mpv" ;; | |
13*) cmd="acestream-launcher acestream://9ea53bf7c8404abb08cce0d8db7a055fbcb5e0c7 --player mpv" ;; | |
14*) cmd="acestream-launcher acestream://9ea53bf7c8404abb08cce0d8db7a055fbcb5e0c7 --player mpv" ;; | |
15*) cmd="acestream-launcher acestream://d50660f571598fef77abcb32cecacd221cd3e5bf --player mpv" ;; | |
16*) cmd="acestream-launcher acestream://d50660f571598fef77abcb32cecacd221cd3e5bf --player mpv" ;; | |
17*) cmd="acestream-launcher acestream://d843eaa476888f1d7be7cc4041a38326d6248230 --player mpv" ;; | |
18*) cmd="acestream-launcher acestream://d843eaa476888f1d7be7cc4041a38326d6248230 --player mpv" ;; | |
19*) cmd="acestream-launcher acestream://bbfa34a6cd0e0f02e410c0d76f8634b7e8f05bdd --player mpv" ;; | |
20*) cmd="acestream-launcher acestream://bbfa34a6cd0e0f02e410c0d76f8634b7e8f05bdd --player mpv" ;; | |
21*) cmd="acestream-launcher acestream://b4ce9c691ae8c430829a2a9132de8c12691b7d96 --player mpv" ;; | |
22*) cmd="acestream-launcher acestream://b4ce9c691ae8c430829a2a9132de8c12691b7d96 --player mpv" ;; | |
23*) cmd="acestream-launcher acestream://964db571434c55ff909a26ebff15c634540cdc64 --player mpv" ;; | |
24*) cmd="acestream-launcher acestream://964db571434c55ff909a26ebff15c634540cdc64 --player mpv" ;; | |
25*) cmd="acestream-launcher acestream://3356c4916b37de52fff4b64deb337ac3ff0e3c28 --player mpv" ;; | |
26*) cmd="acestream-launcher acestream://3356c4916b37de52fff4b64deb337ac3ff0e3c28 --player mpv" ;; | |
27*) cmd="acestream-launcher acestream://3b524f1c88670558d7d3288f0da2af56997ccc0f --player mpv" ;; | |
28*) cmd="acestream-launcher acestream://3b524f1c88670558d7d3288f0da2af56997ccc0f --player mpv" ;; | |
29*) cmd="acestream-launcher acestream://746dd1a1a34af577f8e9ae557d13424155c9c507 --player mpv" ;; | |
30*) cmd="acestream-launcher acestream://746dd1a1a34af577f8e9ae557d13424155c9c507 --player mpv" ;; | |
31*) cmd="acestream-launcher acestream://5e69b4801e8c64ba14296908436826c43168829d --player mpv" ;; | |
32*) cmd="acestream-launcher acestream://5e69b4801e8c64ba14296908436826c43168829d --player mpv" ;; | |
33*) cmd="acestream-launcher acestream://0bf91ec921c530dabc5a9994e0632fda11b8cc86 --player mpv" ;; | |
34*) cmd="acestream-launcher acestream://0bf91ec921c530dabc5a9994e0632fda11b8cc86 --player mpv" ;; | |
35*) cmd="acestream-launcher acestream://505ba82bee69d8f78c6a45f066850a18bc63dd08 --player mpv" ;; | |
36*) cmd="acestream-launcher acestream://505ba82bee69d8f78c6a45f066850a18bc63dd08 --player mpv" ;; | |
37*) cmd="acestream-launcher acestream://b0b6c17e3aea8c5ce6e6cbc93537375027d31f9a --player mpv" ;; | |
38*) cmd="acestream-launcher acestream://b0b6c17e3aea8c5ce6e6cbc93537375027d31f9a --player mpv" ;; | |
39*) cmd="acestream-launcher acestream://e18a006f1cf8d9615a7d5a17a2b79f083cf58072 --player mpv" ;; | |
40*) cmd="acestream-launcher acestream://e18a006f1cf8d9615a7d5a17a2b79f083cf58072 --player mpv" ;; | |
41*) cmd="acestream-launcher acestream://094b943a2e154719c3b1cf710ff0dcbbbc5f8243 --player mpv" ;; | |
42*) cmd="acestream-launcher acestream://094b943a2e154719c3b1cf710ff0dcbbbc5f8243 --player mpv" ;; | |
43*) cmd="acestream-launcher acestream://c9d8d8370da51f7ffaeae59f5a60a6c1fe0d28c8 --player mpv" ;; | |
44*) cmd="acestream-launcher acestream://c9d8d8370da51f7ffaeae59f5a60a6c1fe0d28c8 --player mpv" ;; | |
*) exit 1 ;; | |
esac | |
eval exec $cmd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
#dialouge box for playing sopcast streams, requires zenity,sopcast launcher & mpv | |
action=$(zenity --window-icon "/usr/share/zenity/zenity.png" --list \ | |
--column=" πΊ Stream Listing πΊ" --text=" π§ Pick a stream: β¬βπΊπΊπΊπΊπΊββ¬ π§ " \ | |
"BBC_Earth" "Discovery_ID" "Discovery_Science" "Diva_Universal" "Nat_Geo" "Nat_Geo_Wild" "History" "HBO" "HBO_2" "HBO_3" "Film_Cafe" "Duck_TV" "AXN" "Nickolodeon" "Paramount" "TLC" "Fox_Sport_Hd") | |
ret=$? | |
[[ $ret -eq 1 ]] && exit 0 | |
case $action in | |
BBC_Earth*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/148257 --player mpv" ;; | |
Discovery_ID*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/256244 --player mpv" ;; | |
Discovery_Science*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/256243 --player mpv" ;; | |
Diva_Universal*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/253034 --player mpv" ;; | |
Nat_Geo*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/148248 --player mpv" ;; | |
Nat_Geo_Wild*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/253037 --player mpv" ;; | |
History*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/253032 --player mpv" ;; | |
HBO*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/259497 --player mpv" ;; | |
HBO_2*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/149259 --player mpv" ;; | |
HBO_3*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/149255 --player mpv" ;; | |
Film_Cafe*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/256238 --player mpv" ;; | |
Duck_TV*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/148259 --player mpv" ;; | |
AXN*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/253035 --player mpv" ;; | |
Nickolodeon*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/253472 --player mpv" ;; | |
Paramount*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/253033 --player mpv" ;; | |
TLC*) cmd="sopcast-launcher sop://broker.sopcast.com:3912/148256 --player mpv" ;; | |
Fox_Sport_Hd*) cmd="mpv http://motorsport.hopto.org:8080/ " ;; | |
*) exit 1 ;; | |
esac | |
eval exec $cmd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
action=$(zenity --window-icon "/usr/share/zenity/zenity.png" --list \ | |
--column=" πΊ Stream Listing πΊ" --text=" π§ Pick a stream: β¬βπΊπΊπΊπΊπΊββ¬ π§ " \ | |
"Twit" "SkyNews" "ChannelsTV" "Fox10" "LAS" "RT" "GetYourDocsOff" "DiscoveryID" "DiscoveryScience" "A+E" "W" "Space" "FoodNetwork" "M3" "History" "CBCNews" "AMC" "GlobalNews" "AnimalPlanet" "FS1") | |
ret=$? | |
[[ $ret -eq 1 ]] && exit 0 | |
case $action in | |
Twit*) cmd="mpv http://bglive-a.bitgravity.com/twit/live/high" ;; | |
SkyNews*) cmd="mpv https://youtu.be/y60wDzZt8yg" ;; | |
ChannelsTV*) cmd="mpv https://youtu.be/ANM-dq5USTc" ;; | |
Fox10*) cmd="mpv https://youtu.be/3mq5hrUDoYo" ;; | |
LAS*) cmd="mpv http://videocdn-us.geocdn.scaleengine.net/jblive-iphone/live/jblive.stream/playlist.m3u8" ;; | |
RT*) cmd="mpv http://rt.ashttp14.visionip.tv/live/rt-global-live-HD/playlist.m3u8" ;; | |
GetYourDocsOff*) cmd="livestreamer -p mpv http://vaughnlive.tv/getyourdocsoff worst" ;; | |
DiscoveryID*) cmd="mpv http://4.31.30.159:9074" | |
DiscoveryScience*) cmd="mpv http://4.31.30.159:9018" | |
A+E*) cmd="mpv http://4.31.30.159:9020" | |
W*) cmd="mpv http://4.31.30.159:9021" | |
Space*) cmd="mpv http://4.31.30.159:9022" | |
FoodNetwork*) cmd="mpv http://4.31.30.159:9028" | |
M3*) cmd="mpv http://4.31.30.159:9031" | |
History*) cmd="mpv http://4.31.30.159:9035" | |
CBCNews*) cmd="mpv http://4.31.30.159:9035" | |
AMC*) cmd="mpv http://4.31.30.159:9038" | |
GlobalNews*) cmd="mpv http://4.31.30.159:9041" | |
AnimalPlanet*) cmd="mpv http://4.31.30.159:9045" | |
FS1*) cmd="mpv http://4.31.30.159:9050" | |
*) exit 1 ;; | |
esac | |
eval exec $cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment