sylware / nyanlinux (public) (License: AFFERO GPLv3) (since 2019-09-09) (hash sha1)
scripts for a lean, from scratch, amd hardware, linux distro
List of commits:
Subject Hash Author Date (UTC)
improve the tw heuristic hls downloader e6d7d5ab9d2d6de264091b7350e237bbc8c59e10 Sylvain BERTRAND 2019-06-18 11:27:52
gfx stack update 04d2687fb069b1cf7445c0fc6a80add4fae19657 Sylvain BERTRAND 2019-06-10 20:55:47
gfx stack update 0d480323653125a21612ddd4564ede9da79135b2 Sylvain BERTRAND 2019-06-03 21:00:33
curl/libcurl update c92ed686e0d395e4d799cb358e1a236dbe92e736 Sylvain BERTRAND 2019-05-31 12:36:28
google silent crap 4a7de70aa27cae0e92fcd899f71a1b929b4c4c3b Sylvain BERTRAND 2019-05-31 00:42:29
gfx stack update 4638d4a34e07b9559a568a8445ddcded092572e8 Sylvain BERTRAND 2019-05-27 12:06:23
online map generator only in case of emergency c50d534010ed0e53e372aad868891ac025b39af7 Sylvain BERTRAND 2019-05-23 22:33:05
gfx stack update cb1dae4538e780bc0b61bd0b4e9dba754ec1ea64 Sylvain BERTRAND 2019-05-21 21:03:37
update the dhclient script f4fd8a320290e7b221fc7ecb874aac6c90cef6e1 Sylvain BERTRAND 2019-05-21 21:03:04
gfx stack update c4ac98c5ff7a911b3ea28277bc2a26880fead15d Sylvain BERTRAND 2019-05-13 00:56:12
gfx stack update f4f40b967d9018695f9ef2cfc1d8ae6ac652ae30 Sylvain BERTRAND 2019-05-05 16:29:25
fix mouse dpi programing from real linux dpi 8bc1b8c840c97b69bcf5985ccc9b808272d6a44e Sylvain BERTRAND 2019-05-01 21:34:00
st update 65227a6066db0184b848c18fefcc808a062096f1 Sylvain BERTRAND 2019-04-22 18:15:42
gfx stack update 6d88b857b58746eeba42ecd80783a86b83c80873 Sylvain BERTRAND 2019-04-22 00:32:26
gfx stack update f15d969566f9086bafde3a4bc93002f4754c8cb9 Sylvain BERTRAND 2019-04-15 00:54:25
gfx stack update f8462abf96c574e11aaaa205501762d8ef992fe5 Sylvain BERTRAND 2019-04-07 18:13:09
st update 621f819d99cae6702c030260cfdb6c2149d2fe7c Sylvain BERTRAND 2019-03-31 20:46:30
gfx stack update b1170f07df68214631cf8ae3f5de7f89b01c3cd5 Sylvain BERTRAND 2019-03-31 19:35:24
gfx stack update 9495f93d2bcbca9e9022ef59d52a786a33df057c Sylvain BERTRAND 2019-03-26 20:04:36
fix corner case of coarse hls streamer ae91638afc50c36168f33ac9ba2adb41674d8609 Sylvain BERTRAND 2019-03-22 00:20:16
Commit e6d7d5ab9d2d6de264091b7350e237bbc8c59e10 - improve the tw heuristic hls downloader
Author: Sylvain BERTRAND
Author date (UTC): 2019-06-18 11:27
Committer name: Sylvain BERTRAND
Committer date (UTC): 2019-06-18 11:27
Parent(s): 04d2687fb069b1cf7445c0fc6a80add4fae19657
Signer:
Signing key:
Signing status: N
Tree: b4fa49cd11e7a7cf1f4738156e49d10c336315d4
File Lines added Lines deleted
files/hls 14 1
File files/hls changed (mode: 100755) (index 307ca8f..d302069)
1 1 #!/bin/sh #!/bin/sh
2
3 #-------------------------------------------------------------------------------
4 cleanup ()
5 {
6 rm $backlog
7 rm ${backlog}.new
8 rm $m3u8
9 rm $segment
10 }
11 trap cleanup HUP INT QUIT ABRT PIPE TERM EXIT
12 #-------------------------------------------------------------------------------
13
2 14 python=/nyan/python3/current/bin/python3 python=/nyan/python3/current/bin/python3
3 15 yd="$python /root/bin/y" yd="$python /root/bin/y"
4 16 curl=/nyan/curl/current/bin/curl curl=/nyan/curl/current/bin/curl
5 17 m3u8="/run/$1" m3u8="/run/$1"
6 18 backlog="/run/$1_backlog" backlog="/run/$1_backlog"
7 19
8 hls=$($python /root/bin/y -g -f best "https://www.twitch.tv/$1")
20 fmt=${2:-best}
21 hls=$($python /root/bin/y -g -f $fmt "https://www.twitch.tv/$1")
9 22 if test -z "$hls"; then if test -z "$hls"; then
10 23 exit 1 exit 1
11 24 fi fi
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/nyanlinux

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/nyanlinux

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/nyanlinux

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main