spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.6k stars 1.61k forks source link

Option to specify youtube video ( besides manual ) #782

Closed MaddyUnderStars closed 4 years ago

MaddyUnderStars commented 4 years ago

What is the purpose of your issue?

Description

Currently, if a specific video url is not present in the search results returned by -m, you have to mess around with the search format. Instead, an option that allows you to speficy a specific video url from the cli would be great. Example usage could be: spotdl --song {whatever} --youtube {youtube link to song}. Besides the use case used above, this could also be used to skip searching through the search results for a specific video in the first place.

ritiek commented 4 years ago

You can already pass YouTube URLs to -s parameter. See the docs for more info.

On Sun, 12 Jul, 2020, 11:14 PM Mr2u, notifications@github.com wrote:

What is the purpose of your issue?

  • Bug
  • Feature Request
  • Question
  • Other

Description

Currently, if a specific video url is not present in the search results returned by -m, you have to mess around with the search format. Instead, an option that allows you to speficy a specific video url from the cli would be great. Example usage could be: spotdl --song {whatever} --youtube {youtube link to song}. Besides the use case used above, this could also be used to skip searching through the search results for a specific video in the first place.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ritiek/spotify-downloader/issues/782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE27U5XHKYO3XTAMMJWUE5DR3HY7PANCNFSM4OX43KKQ .

MaddyUnderStars commented 4 years ago

Yes, however you cannot specify both a spotify url and a youtube url. Either you let the program guess which spotify song the youtube video is for, or vise versa. ( Also, spotdl -h does not mention you can pass youtube links to -s. "download track(s) by spotify link or name" )

ritiek commented 4 years ago

I think you want advanced-usage.html#apply-metadata-from-a-different-track. Perhaps we should also have a note about this at the end of download-tracks.html#download-a-track section (am up for PRs if this sounds like an idea).

Also, spotdl -h does not mention you can pass youtube links to -s. "download track(s) by spotify link or name"

Yup, my bad. This seems to have been an oversight. Are you interested in making a quick PR to update the help description?

MaddyUnderStars commented 4 years ago

783 updates help msg. Also, thanks! I should've read the docs more >//<

ritiek commented 4 years ago

No problem and thanks for the PR!