A tool which can be used to search and play YouTube music!
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

20 rader
609 B

  1. echo "Your distro? ( 1)Arch, 2)Debian): "
  2. read distro
  3. if [ $distro -eq 1 ]
  4. then
  5. sudo pacman -S python3 python-pip mpv youtube-dl
  6. pip install youtube-search
  7. chmod +x spotitube.sh
  8. elif [ $distro -eq 2 ]
  9. then
  10. sudo apt remove youtube-dl
  11. sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
  12. sudo chmod a+rx /usr/local/bin/youtube-dl
  13. youtube-dl -U
  14. sudo apt install python3 python3-pip mpv
  15. pip3 install youtube-search
  16. chmod +x spotitube.sh
  17. else
  18. echo "You typed in: $distro"
  19. echo "Wrong input, please type one of the two: (1/2)";
  20. fi