Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luandro/mix-dl
Download songs from various artists from the command line
https://github.com/luandro/mix-dl
mix playlist youtube-dl
Last synced: about 6 hours ago
JSON representation
Download songs from various artists from the command line
- Host: GitHub
- URL: https://github.com/luandro/mix-dl
- Owner: luandro
- Created: 2017-08-10T00:32:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T21:37:23.000Z (over 7 years ago)
- Last Synced: 2024-11-25T09:38:34.667Z (about 2 months ago)
- Topics: mix, playlist, youtube-dl
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mix-dl
Automatically downloads and conversts to mp3 the youtube mix playlist for any number of artists. Uses [youtube-dl](https://rg3.github.io/youtube-dl/), so make sure you have it installed in your machine.
## How it works
It adds the keyword "mix" to the artist name, searches on Youtube filtering only playlists and downloads the first result playlist with `youtube-dl`, extracting audio and converting it to `mp3` format.
Automatically adds `--no-overwrites`, `--continue` and `--ignore-errors` options. Also uses `--min-views` options to only download videos with at least 1000 views.
## Usage
Make sure you have NodeJS at least v8.
```
npm i -g mix-dl
```or
```
yarn global add mix-dl
```That's it. Now just use it like this:
```
mix-dl [ARTISTS] [OPTIONS]
```Example:
```mix-dl "Bob Marley" "Charlie Brown Jr" -n 20 ```
Where `-n` is the number of songs per artist, which defaults to `30`.
### Options
- `n` `INT` - number of songs to download defaults to 25
- `f` `STRING` - folder name to download to mix-downloads
- `v` - verbose mode on defaults to false
- `m` `INT` - minimum views defaults to 1000
- `d` - debug mode on defaults to false## Todo
- Use `--match-title` option to only download songs containing artist name
- Download each artist to it's own folder
- Add better interface
- Better find playlists