~scripts
40 itemsDownload ./*


..
dzen2
tiling
vosh
4cdl
4trips
alarm
ambient
battery-monitor
checkit
cleverbot.py
clock
color-gen
colors-hex
compton
dailywall
dmenu
importw
indexer
keep-on
mp3ogg
orage
pipes
pipes.x
rain
randwall
screen-dim
screencast
screencast2
scrot
scrotw
search
skull
slocker
starwars
streamit
sumnum
tty-colorize
usrmount
ytp
ytplay


scriptsytplay
4 months agoDownloadRawClose


#!/bin/bash
#
# Author:      Twily                                           2017
# Description: Play everything on youtube based on your search tag.
# Requires:    mpv
# Usage        $ sh ./ytplay Some Artist

SRC="$@"

SRC=${SRC// /%20}
SRC=${SRC//&/%26}
TAG="#music"
URL="https://www.youtube.com/results?search_query="

mpv "$URL$SRC$TAG" --really-quiet --force-window=immediate --keep-open --loop=inf &

exit 0

Top
twily at openmailbox dot org
©twily.info 2013 - 2017



744 060 visits
... ^ v