added ffmpeg to convert on windows

This commit is contained in:
Ritiek Malhotra
2016-07-17 21:35:53 +05:30
committed by GitHub
parent b5ea3a96dd
commit e6a1eb3df2

View File

@@ -14,13 +14,13 @@ pip install mechanize
pip install bs4
pip install pafy
```
[OPTIONAL] If you want to convert downloaded music to mp3 (from m4a) install avconv:
[OPTIONAL] If you want to convert downloaded music to mp3 (from m4a) install avconv for linux or ffmpeg from https://ffmpeg.zeranoe.com/builds/ for windows and then place the ffmpeg.exe in your script folder:
```
sudo apt-get install libav-tools
or download from https://libav.org/download/ for windows
```
# Installation & Usage:
## Installation & Usage:
```
git clone https://github.com/Ritiek/YTMusic
cd YTMusic
@@ -35,7 +35,7 @@ Run it using:
YTMusic
```
# Commands that can be used in the script:
## Commands that can be used in the Script:
```
• play - will play the last song downloaded using default music player
• spotify - downloads songs from spotify playlist (see below:)
@@ -43,7 +43,7 @@ YTMusic
• exit - exit the script
```
# Downloading Music from Spotify:
## Downloading Music from Spotify:
![Alt text](http://i.imgur.com/0dqlYpz.png "Testing")
@@ -61,11 +61,11 @@ sudo chmod 775 spotify.txt
```
• Use the command ```spotify``` in the script to start downloading the list.
# Known bugs:
## Known Bugs:
• Fails to download songs containing accents (that is, characters like ```Ø``` in song like ```BØRNS Seeing Stars```)
in the Youtube's video title.
# Disclaimer:
## Disclaimer:
Downloading Copyright Music may be illegal in your country. Please support the artists by buying their Music.