44
55<div align =" center " >
66<h1 >YouTube Music Downloader</h1 >
7- <h4 >Download songs from YouTube by getting the audio from YouTube and the metadata from sources like Itunes and Gaana.</h4 >
7+ <h4 >Download songs from YouTube by getting the audio from YouTube and the metadata from sources like Itunes, Spotify, Gaana etc .</h4 >
88</div >
99
1010<div align =" center " width =" 60% " height =" auto " >
@@ -38,7 +38,7 @@ Ytmdl also has an web app, you can try it out [here](https://ytmdl.deepjyoti30.d
3838## Why this?
3939
4040This app downloads a song by getting the audio from Youtube sources __ using__ youtube-dl and then adds song information like
41- artist name, album name, release date, thumbnail etc by fetching it from sources like Itunes, Gaana and other sources.
41+ artist name, album name, release date, thumbnail etc by fetching it from sources like Itunes, Spotify, Gaana and other sources.
4242
4343__ NO__ . YoutubeDL doesn't do that. All youtube-dl does is lets you download audio from a video that you specify.
4444__ This app is not yet another youtube-dl clone.__
@@ -68,6 +68,7 @@ If you like my work, consider buying me a coffee or donating. In case you want t
6868- [ PyPi] ( #pypi )
6969- [ Arch Linux] ( #arch-linux )
7070- [ Gentoo] ( #gentoo )
71+ - [ NixOS] ( #nixos )
7172- [ Windows] ( #windows )
7273- [ Manual] ( #manual )
7374
@@ -100,6 +101,14 @@ emerge -av --autounmask net-misc/ytmdl
100101
101102Available in ** src_prepare-overlay** [ here] ( https://gitlab.com/src_prepare/src_prepare-overlay )
102103
104+ ### NixOS
105+
106+ ` ytmdl ` can be installed using Nix with the command
107+
108+ ``` console
109+ nix-env -iA nixos.ytmdl
110+ ```
111+
103112### Windows
104113
105114You need to install ` ffmpeg ` in order for ` ytmdl ` to work properly. This can be done by downloading the ` ffmpeg ` binary from [ here] ( https://ffmpeg.org/download.html ) . Once downloaded, extract the file and find the ` ffmpeg.exe ` file. Copy the directory's path and add it to PATH in the following way.
@@ -150,11 +159,12 @@ You can manually install `ytmdl` by cloning this repository and running the `set
150159```console
151160usage: ytmdl [-h] [-q] [--song SONG-METADATA] [--choice CHOICE]
152161 [--artist ARTIST] [--album ALBUM] [--disable-metaadd]
153- [--skip-meta] [-m] [--itunes-id ITUNES_ID] [--disable-sort]
154- [--ask-meta-name] [--on-meta-error ON_META_ERROR] [--proxy URL]
155- [--url URL] [--list PATH TO LIST] [--nolocal] [--format FORMAT]
156- [--trim] [--version] [--keep-chapter-name]
157- [--download-archive FILE] [--pl-start NUMBER] [--pl-end NUMBER]
162+ [--skip-meta] [-m] [--itunes-id ITUNES_ID]
163+ [--spotify-id SPOTIFY_ID] [--disable-sort] [--ask-meta-name]
164+ [--on-meta-error ON_META_ERROR] [--proxy URL] [--url URL]
165+ [--list PATH TO LIST] [--nolocal] [--format FORMAT] [--trim]
166+ [--version] [--keep-chapter-name] [--download-archive FILE]
167+ [--ignore-chapters] [--pl-start NUMBER] [--pl-end NUMBER]
158168 [--pl-items ITEM_SPEC] [--ignore-errors] [--title-as-name]
159169 [--level LEVEL] [--disable-file] [--list-level]
160170 [SONG_NAME ...]
@@ -194,6 +204,8 @@ optional arguments:
194204 file. The songs are matched by using the videoId. All
195205 downloaded song Id's are automatically added to the
196206 file.
207+ --ignore-chapters Ignore chapters if available in the video and treat it
208+ like one video
197209
198210Metadata:
199211 --song SONG-METADATA The song to search in Metadata. Particularly useful
@@ -213,7 +225,11 @@ Metadata:
213225 will override this option, pass only one of them.
214226 -m, --manual-meta Manually enter song details.
215227 --itunes-id ITUNES_ID
216- Direct lookup from itunes.
228+ Direct lookup from itunes. If passed, metadata will be
229+ automatically added.
230+ --spotify-id SPOTIFY_ID
231+ Direct lookup for Spotify tracks using the ID. If
232+ passed, metadata will be automatically added.
217233 --disable-sort Disable sorting of the metadata before asking for
218234 input. Useful if the song is in some other language
219235 and/or just a few providers are used.
@@ -278,6 +294,7 @@ As of the latest development branch, the following options can be changed from t
278294| ` DEFAULT_FORMAT ` | Default format of the song | mp3 |
279295| ` ON_META_ERROR ` | What to do if error occurs while writing meta | exit |
280296| ` ITUNES_COUNTRY ` | Which region to use while searching from Itunes | US |
297+ | ` SPOTIFY_COUNTRY ` | Which market to use while searching from Spotify | US |
281298
282299### Advanced Configuration
283300
0 commit comments