options: add --playlist-inherit-options option - #18302
Merged
Merged
Conversation
Helper function to set file local options for all entries. Will be used in the next commit.
Currently, if a playlist file is played and replaced by its contents, the per-file options of the playlist file are ignored. This commit makes these options inherited for its contents so they work as expected.
This allows controlling whether the files in a playlist inherit the per-file options of the playlist file itself. For playlists created by --autocreate-playlist, --playlist-inherit-options=current allows inheriting only for the item the playlist is created from.
na-na-hi
force-pushed
the
playlist-inherit-params
branch
from
July 26, 2026 05:53
3ab97bf to
d8dcf3c
Compare
|
This should be enabled by default IMO. That's what anyone would expect, especially in the directory/zip file case (#11150). (I'm not sure there's even a need to make an option to disable it. I don't see a natural use case.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows controlling whether the files in a playlist inherit the per-file options of the playlist file itself. For playlists created by --autocreate-playlist, --playlist-inherit-options=current allows inheriting only for the item the playlist is created from.
Fixes: #11150
Fixes: #15381