Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube Music metadata not available #17867

Closed
Bleuzen opened this issue Oct 12, 2018 · 2 comments
Closed

YouTube Music metadata not available #17867

Bleuzen opened this issue Oct 12, 2018 · 2 comments

Comments

@Bleuzen
Copy link

@Bleuzen Bleuzen commented Oct 12, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.10.05

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-x', '-f', '251', '-o', '%(album)s - %(artist)s - %(track)s.%(ext)s', 'https://music.youtube.com/playlist?list=OLAK5uy_nSJAHvBG_zuyUrp8QFOwQfVLz9lnJwNRw']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05
[debug] Python version 3.7.0 (CPython) - Linux-4.19.0-1-MANJARO-x86_64-with-arch-Manjaro-Linux
[debug] exe versions: ffmpeg n4.0.2, ffprobe n4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] OLAK5uy_nSJAHvBG_zuyUrp8QFOwQfVLz9lnJwNRw: Downloading webpage
[download] Downloading playlist: Empire State of Grind (Hoodtape 3)
[youtube:playlist] playlist Empire State of Grind (Hoodtape 3): Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] 7ZNjZ-1spsE: Downloading webpage
[youtube] 7ZNjZ-1spsE: Downloading video info webpage
[youtube] {18} signature length 40.44, html5 player vflO1Ey5k
[youtube] {36} signature length 40.44, html5 player vflO1Ey5k
[youtube] {17} signature length 38.44, html5 player vflO1Ey5k
[youtube] 7ZNjZ-1spsE: Downloading player https://www.youtube.com/yts/jsbin/player-vflO1Ey5k/en_US/base.js
[youtube] {137} signature length 40.44, html5 player vflO1Ey5k
[youtube] {248} signature length 40.44, html5 player vflO1Ey5k
[youtube] {136} signature length 40.44, html5 player vflO1Ey5k
[youtube] {247} signature length 40.44, html5 player vflO1Ey5k
[youtube] {135} signature length 40.44, html5 player vflO1Ey5k
[youtube] {244} signature length 40.44, html5 player vflO1Ey5k
[youtube] {134} signature length 40.44, html5 player vflO1Ey5k
[youtube] {243} signature length 40.44, html5 player vflO1Ey5k
[youtube] {133} signature length 40.44, html5 player vflO1Ey5k
[youtube] {242} signature length 40.44, html5 player vflO1Ey5k
[youtube] {160} signature length 40.44, html5 player vflO1Ey5k
[youtube] {278} signature length 40.44, html5 player vflO1Ey5k
[youtube] {140} signature length 40.44, html5 player vflO1Ey5k
[youtube] {171} signature length 40.44, html5 player vflO1Ey5k
[youtube] {249} signature length 40.44, html5 player vflO1Ey5k
[youtube] {250} signature length 40.44, html5 player vflO1Ey5k
[youtube] {251} signature length 40.44, html5 player vflO1Ey5k
[debug] Invoking downloader on 'https://r4---sn-4g5e6nss.googlevideo.com/videoplayback?sparams=clen%2Cdur%2Cei%2Cgcr%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Crequiressl%2Csource%2Cexpire&itag=251&mm=31%2C26&ip=93.242.89.234&mn=sn-4g5e6nss%2Csn-5hne6nse&ms=au%2Conr&requiressl=yes&mt=1539350611&pl=26&mv=m&id=o-AJmrp9CBIs11Wnmcv4QNGo6eHzWhr64kTQH0XtlD6xni&dur=155.601&mime=audio%2Fwebm&ipbits=0&gir=yes&lmt=1539346626082015&gcr=de&source=youtube&nh=%2CIgpwZjAxLmFtczE1Kg44MC4xNTcuMTI5LjE0MQ&clen=2555488&fvip=6&txp=5511222&initcwndbps=961250&expire=1539372365&ei=7aDAW4yyA4WD1wLouK-4DA&c=WEB&beids=9466588&key=yt6&keepalive=yes&signature=416497AF9C35FFECAA0C8A87CEF9C58F398D6959.823653C51048E8C78CBCB0B3B1F7ABCC8842ACC1&ratebypass=yes'
[download] Destination: NA - NA - NA.webm
[download] 100% of 2.44MiB in 00:07
[debug] ffmpeg command line: ffprobe -show_streams 'file:NA - NA - NA.webm'
[ffmpeg] Destination: NA - NA - NA.opus
[debug] ffmpeg command line: ffmpeg -y -i 'file:NA - NA - NA.webm' -vn -acodec copy 'file:NA - NA - NA.opus'
Deleting original file NA - NA - NA.webm (pass -k to keep)
[download] Finished downloading playlist: Empire State of Grind (Hoodtape 3)
...
<end of log>

Description of your issue, suggested solution and other information

I want to have the artist and track name in file name when downloading from youtube music, but the file always ends up with 'NA' in name instead of the correct values.

Here is my example command:
youtube-dl -x -f 251 -o "%(album)s - %(artist)s - %(track)s.%(ext)s" https://music.youtube.com/playlist?list=OLAK5uy_nSJAHvBG_zuyUrp8QFOwQfVLz9lnJwNRw
But output file is called:
NA - NA - NA.opus

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 13, 2018

Video unavailable
This video is not available.

@dstftw dstftw closed this Oct 13, 2018
@Bleuzen
Copy link
Author

@Bleuzen Bleuzen commented Oct 13, 2018

Video unavailable
This video is not available.

@dstftw My command was just an example. It doesn't work with all songs or playlists on youtube music. Choose anything else for testing if the video is unavailable in your country.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.