Skip to content

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

Open
@bhugh

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions