-
Notifications
You must be signed in to change notification settings - Fork 157
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
metadataFromTitle not working? #252
Comments
Hey. Which yt library you are using, yt-dl or yt-dlp? |
I mentioned the URL, It's youtube-dl. Also I checked the code and metadataFromTitle implemented in PHP. you are right, I should check it in terminal first. |
youtube-dl has no releases since 2021, so I'd suggest to switch to yt-dlp |
I used below command:
And metadata is empty! So it's not related to the wrapper |
Where do you check if it's empty? I haven't used this option never |
Simply in Winamp (windows). It shows complete metadata (with hotkey alt+3) like title, artist, cover and .... This option of youtube-dl can save user time (no need adding data manually). These days most of software check and shows meta-info like Telegram, Media player, cars audio player and ... Also there is a tiny app that shows and modifies it : |
Maybe that option is not for the ID3v1/ID3v2 ? Will check this someday,but no promises |
Finally I found the reason! The right pattern has two % sign and should be like this :
|
Cool! Maybe you could add a section in readme file about this for others :) |
Hi,
Anyone tested metadataFromTitle switch?
I'm using below pattern :
->metadataFromTitle('%(artist)s - %(title)s')
but output mp3 has no metadata!
https://github.com/ytdl-org/youtube-dl/blob/master/README.md#post-processing-options
Also :
->postProcessorArgs("-metadata title={$title} ")
is working but I want to fill title automatically from video.
The text was updated successfully, but these errors were encountered: