Browse Source

added stream

master
TeraDyne Ezeri 1 month ago
parent
commit
ad3d873a89
2 changed files with 6 additions and 0 deletions
  1. 1
    0
      readme.md
  2. 5
    0
      stream

+ 1
- 0
readme.md View File

@@ -3,3 +3,4 @@ Scripts that I keep in my .scripts folder to make things easier.
newinstall - For a fresh install of Fedora
newstory - Creates a folder and copies templates for a new story file and infodoc
lotto.py - Takes a list in a file and chooses an entry (first ever python script for me)
stream.sh - Taken from [https://coding.coyotesin.space/kay/snippets]. Opens a Picarto stream in VLC

+ 5
- 0
stream View File

@@ -0,0 +1,5 @@
#!/bin/bash

vlc --pidfile /run/$arg-stream.pid --input-title-format "Picarto - $1" --open https://1-edge1-us-west.picarto.tv/mp4/$1.mp4\?token\=public &> /dev/null &
disown
username="$1"

Loading…
Cancel
Save