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

Playlist file in profile doesn't apply #13984

Open
Piber0 opened this issue Apr 25, 2024 · 2 comments
Open

Playlist file in profile doesn't apply #13984

Piber0 opened this issue Apr 25, 2024 · 2 comments
Labels

Comments

@Piber0
Copy link

Piber0 commented Apr 25, 2024

Important Information

Provide following Information:

If you're not using git master or the latest release, update.
Releases are listed here: https://github.com/mpv-player/mpv/releases

Reproduction steps

  1. Add these lines to mpv.conf (in any order)
[extension.mkv]
brightness=-30

[extension.m3u8]
hue=-50
  1. Create a playlist file (here a .m3u8, but .m3u is also affected for example)
  2. With a text editor, add a direct link (here an mkv) into the .m3u8 file and save it
  3. Launch .m3u8 file into mpv

Expected behavior

When I open the .m3u8 file (containing .mkv link), the hue filter should apply at -50 and the brightness at -30.

Actual behavior

mpv recognizes both profiles, but only .mkv applies brightness at -30
And even if the .mkv profile doesn't exist, the .m3u8 profile doesn't apply.

Log file

Z:\>mpv --load-scripts=no playlist.m3u8
Auto-loading profile 'extension.m3u8'
Auto-loading profile 'extension.mkv'
Playing: output.mkv
 (+) Video --vid=1 (*) (h264 1920x1080 23.976fps)
 (+) Audio --aid=1 --alang=en (*) (eac3 6ch 48000Hz)
     Subs  --sid=1 --slang=fr-CA (subrip)
     Subs  --sid=2 --slang=fr-FR (subrip)

Sample files

Sample files needed to reproduce this issue can be attached to the issue
(preferred), or be uploaded to https://0x0.st/ or similar sites.
(Only needed if the issue cannot be reproduced without it.)
Do not use garbage like "cloud storage", especially not Google Drive.

@Piber0 Piber0 added the os:win label Apr 25, 2024
@guidocella
Copy link
Contributor

[m3u8]
profile-cond=playlist_path:find('m3u8')
hue-50

@Piber0
Copy link
Author

Piber0 commented Apr 25, 2024

It works, thank you.
Last question: how do I make a profile for full blurays (BDMV structure) ? I tried [extension.m2ts] but without success.

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

No branches or pull requests

2 participants