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

[BUG] Should install mutagen when program installed (esp. for Docker) #1122

Open
bhugh opened this issue Jun 9, 2024 · 0 comments
Open

[BUG] Should install mutagen when program installed (esp. for Docker) #1122

bhugh opened this issue Jun 9, 2024 · 0 comments

Comments

@bhugh
Copy link

bhugh commented Jun 9, 2024

Describe the bug

When any custom arg includes editing/changing/adding metadata, yt-dlp generally uses mutagen to do the changes. By default, on the Docker version at least, mutagen is not installed.

It is easy to remedy, and the error message tells you exactly what to do (<python3 -m pip install mutagen> - if installed via docker run this inside the docker container.

But installing mutagen by default should be a simple change, and especially for Docker installations it is somewhat of a pain to remember to enter the container and re-run that command every time you happen to or whatever.

To Reproduce
Steps to reproduce the behavior:

  1. Install YoutubeDL-material on docker
  2. Include an arg that alters or adds metadata, such as global custom args <--extract-audio,,--write-info-json,,--audio-format,,best,,--parse-metadata,,playlist_index:%(track_number)s,,--embed-metadata>
  3. Unless you have already manually installed mutagen you will see the error mentioned above in the logs, and the metadata will not successfully be edited

Expected behavior
Editing metadata should work out of the box/Mutagen should be installed during installation by default.

Environment

  • YoutubeDL-Material version: 3.4.2 and also the latest nightly (tzahi12345/youtubedl-material:sha-58f4313)

<Installed version: v4.3.2 - You are up to date.
Installation type: docker
Docker tag: nightly
Commit hash: 58f4313
Build date: 2024-06-04>

Additional context

Thanks for writing a great and very useful program - by far the best of all the youtubedl GUIs I've tried.

This is a relatively minor thing in context.

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

No branches or pull requests

1 participant