mpv-player / mpv-player/mpv

Option to ignore reading of media 'title' metadata altogether in favour of anything else

Open
#17,214 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

This is a follow-up of #11653. The solutions presented there are almost what I would prefer, but not quite:
I often use m3u playlists, and the --osd-playlist-entry option seems to offer only media-title which is again the title read from the file's metadata or the filename (or both, which can be very long). But I could not get it to display the title as specified in the m3u.

I think the best (and hopefully easiest) way would be --ignore-metadata-from-file or something similar, and this would result in displaying the title from the m3u or (if missing) the filename. Like it currently does when the metadata is not there.
I also think that extending the --osd-playlist-entry option would make things more complicated, because you sometimes play a m3u playlist, and sometimes files directly. And I have no idea on how to reflect priorities in such an option.

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the handling of --osd-playlist-entry, media-title, and m3u playlist entries in mpv's source. Compare how playlist titles, file metadata, and filenames are selected; done means an option can ignore file title metadata while preserving playlist titles and filename fallback.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.