add shortcuts

This commit is contained in:
Your Name 2022-06-05 12:09:33 +02:00
parent 73eccc64b5
commit a78c5bf7c3
5 changed files with 50 additions and 1 deletions

View file

@ -6,7 +6,7 @@ echo $url
if [[ "$url" =~ "youtube" ]]; then
video_id=$(echo $url | sed 's#https://www.youtube.com/watch?v=##g')
echo $video_id
youtube.py $video_id
python $HOME/chromeCast-py/youtube.py $video_id
exit 0
fi