-
Notifications
You must be signed in to change notification settings - Fork 3k
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
options: watch-later-options changes #12532
Conversation
Download the artifacts for this pull request: |
Should be mentioned in |
sure, added. |
|
Seems inconsistent that I do not understand the requirement cited for removing If |
I initially only wanted to fix inconsistency between
The question is if you watched something few days ago, while doing something else and enabled ontop, is this really relevant now to restore it? It is global player state and indeed same as fullscreen should be set in config. We want to "resume playback" and not "restore player state". The most basic would be In short resuming playback in my opining should start playback where you left of, but not necessarily restore player config as this is not really related to the content you are resuming playing. There is of course a line and depends where you want to put it. I for one like EDIT: Also note while we have EDIT2: I will update PR with suggested changes. |
Rebased with added suggestions. I don't have strong opinion on this topic, so will let you decide what to do with this. I only wanted to fix inconsistency with --border. But other changes makes sense too, so we can have them if all agree. |
I don't think it makes sense to save the |
Removed. |
Is there any use case of |
21e3820
to
31b5804
Compare
Removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This got lost, but I think it's a strict improvement so might as well pull this in now after a rebase.
In RESUMING PLAYBACK the manual says:
As this commit removes In watch-later-options the manual shows this example:
That example should also be updated. |
Ideally, add all the props it support into the manual. Users don't know which prop can & cannot be used. |
What about creating a new command that specifically tries to recreate the player's state? I'm not really a fan of removing such options unless there's a solution in place to restore that functionality... |
e.g. |
Sure but it gets really messy when you have to re-add like 5+ items. Also it's not really easy for people new to MPV. Another thing is what do you do if you want to restore playback state but not the playback position? |
remove |
You mean you still use save-position-on-quit but remove start? That's rather hilarious |
I'm confused. Isn't the 'hilarious' question asked by you? |
You can see it with
If you update that kasper you might as well replace |
The option is called save-position-on-quit even if you specifically don't want to save position, which is what I find funny. |
|
You are not the first one point out the option's name is unreasonable. |
For some reason, I was unsubscribed from this thread, didn't see your comments. Will try to address them now.
We all did... It is one of those options, when you find it you just keep EDIT: Updated. Suggestions welcome. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will merge later if nobody has any further comments.
Removes: --border --fullscreen --ontop --osd-level --pause Those options are not really content related. I don't see much gain to save them per each watch later entry.
Adds: --secondary-sub-visibility --video-aspect-method --video-unscaled --video-pan-x --video-pan-y --video-rotate --video-crop --video-zoom --video-scale-x --video-scale-y --video-align-x --video-align-y Those properties are related to playback state and are likely expected to be restored when resuming playback.
This is a bad change given right now it's cumbersome to add these options back in. You have to use --watch-later-options-add and you get spammed with warnings about the option being deprecated. |
You could use |
--border is there, so for consistency --title-bar should be too.