A tool which can be used to search and play YouTube music!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Spotitube
  2. Basically, a tool to listen to music using YouTube search results.
  3. # Instalation
  4. This only supports Debian and Arch.
  5. ```shell
  6. chmod +x dependencies.sh
  7. ./dependencies.sh
  8. ```
  9. This will install the required dependencies (skip next step)
  10. # Prerequisites
  11. The dependencies.sh already handles the dependencies, but if you want to do it manually, then here you go.
  12. This app requires python3, pip3, and youtube-search python module to function properly:
  13. Arch:
  14. ```shell
  15. sudo pacman -S python3 python-pip
  16. pip install youtube-search
  17. ```
  18. Debian/ubuntu:
  19. ```shell
  20. sudo apt remove youtube-dl
  21. sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
  22. sudo chmod a+rx /usr/local/bin/youtube-dl
  23. youtube-dl -U
  24. sudo apt install python3 python3-pip mpv
  25. pip3 install youtube-search
  26. chmod +x spotitube.sh
  27. ```
  28. The Debian package of youtube-dl is old and doesnt play videos anymore. That is why you should use wget to install it manually.
  29. # Usage
  30. All you have to do is launch spotitube.sh and give it a string argument with the song name!
  31. ```shell
  32. ./spotitube.sh "Song name"
  33. ```
  34. If you want to get a specific index of a result, just type that index as a second argument:
  35. ```shell
  36. ./spotitube.sh "Song name" 3
  37. ```
  38. This will result in:
  39. ```
  40. Searching for result #3 in Song name...
  41. ```
  42. Enjoy your music!