mpv-player / mpv-player/mpv

support for media player classic/hc/be playlists

Open
#11,025 0 comments 1 reaction 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

It's a straight utf8 textfile with .mpcpl extension that looks like this:

MPCPLAYLIST
audio,-1
subtitles,-1
1,type,0
1,selected,1
1,filename,[01] Utawarerumono TV 1 01 серия.mkv
1,filename,Rus Sound\Get Smart[01] Utawarerumono TV 1 01 серия.mka
1,filename,Rus Sound\Anidub[01] Utawarerumono TV 1 01 серия.mka
1,filename,Rus Subs\Полные[01] Utawarerumono TV 1 01 серия.ass
2,type,0
2,filename,[02] Utawarerumono TV 1 02 серия.mkv
2,filename,Rus Sound\Get Smart[02] Utawarerumono TV 1 02 серия.mka
2,filename,Rus Sound\Anidub[02] Utawarerumono TV 1 02 серия.mka

Main reason for this - one can have as many external soundtracks / subtitle tracks as needed and with relative paths.
It also be nice if when switching to next/another file, previusly selected tracks (maybe just with same ordinal number) will be used.

because this feature is lacking I had to use mpc instead of mpv for anime/series with multiple exteranal audio/subtitles

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 locating mpv's playlist parsing and external audio/subtitle track-selection entry points, then compare them with the MPCPL example in the issue. Done means accepting the described UTF-8 format with relative media paths and preserving compatible selected audio and subtitle tracks when moving between entries.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.