add shortcuts
This commit is contained in:
parent
73eccc64b5
commit
a78c5bf7c3
5 changed files with 50 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue