alexta69 / metube

Self-hosted YouTube downloader (web UI for youtube-dl / yt-dlp)
GNU Affero General Public License v3.0
3.97k stars 264 forks source link

Is yt-dlp parse-metadata option available? #326

Closed TheWicklowWolf closed 8 months ago

TheWicklowWolf commented 9 months ago

How do you implement this option:

Interpret the title as "Artist - Title" $ yt-dlp --parse-metadata "title:%(artist)s - %(title)s"

TheWicklowWolf commented 9 months ago

This doesn't seem to work:

    environment:
      - 'YTDL_OPTIONS={"parse_metadata":"title:%(artist)s - %(title)s"}'
PikuZheng commented 9 months ago

you need MetadataParser of postprocessor I think.

I'm not familiar with this but it should look like 'YTDL_OPTIONS={"postprocessors":[{"key":"MetadataParser","actions":[(what is to do)]}]}'

TheWicklowWolf commented 9 months ago

you need MetadataParser of postprocessor I think.

I'm not familiar with this but it should look like 'YTDL_OPTIONS={"postprocessors":[{"key":"MetadataParser","actions":[(what is to do)]}]}'

That didn't work, I don't think MetadataParser is a valid option. Thanks anyway