added explanation to startmpv

This commit is contained in:
Alexander Bocken 2020-09-20 18:07:00 +02:00
parent 7418258fa1
commit 745c1b3ceb
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -1,5 +1,9 @@
#!/bin/zsh #!/bin/zsh
js_plalist_index_loc="/home/alex/src/youtube-playlist-video-ids" # this script uses https://github.com/maxime-aknin/youtube-playlist-video-ids to gather video ids
# please install this first and specify the path to this cloned repo below
js_plalist_index_loc="$HOME/src/youtube-playlist-video-ids"
# The above mentioned script needs Youtube API access, (see the repo for more info on that)
# I've saved my API key in my password manager, I reccomend you to do something similar.
API_key="$(pass show 'Misc/Youtube Data API v3')" API_key="$(pass show 'Misc/Youtube Data API v3')"
if echo "$1" | grep -qE 'youtube.*list'; then if echo "$1" | grep -qE 'youtube.*list'; then
echo "$1" echo "$1"