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

disc syntax cleanups/deprecations #15899

Merged
merged 3 commits into from
Feb 20, 2025
Merged

Conversation

Dudemanguy
Copy link
Member

Because I like changing things.

This is allowed but it's pretty weird. You'd end up typing something
like dvd:////dev/sr0 or cdda:///dev/sr0 (notice the differing amount of
/). Why is this even useful? Just use the matching --cdda-device option.
There's no need to have two ways to do the same thing here.
You probably wouldn't guess what this does from the name alone, but it
actually selects a range of tracks to play. It's slightly different than
using --start because it confines the range to just that track and you
cannot seek before it. The functionality is useful, but you can
accomplish exactly the same thing with --start and --end. Also the
implementation of the cdda option is weird because starting from a track
after 1 makes it impossible to seek before it. There's no reason to have
this when using the core option is simply better and works fine.
Copy link

github-actions bot commented Feb 18, 2025

Download the artifacts for this pull request:

Windows
macOS

@@ -0,0 +1 @@
specifying an optical device after the schema for the `cdda://`, `dvd://` and `bd://` protocols is deprecated, use the appropriate option (`--cdda-device`) instead
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think some prefer after schema because it's less letters to type.

It's not exactly obvious and worth mentioning.
@Dudemanguy Dudemanguy merged commit 723da77 into mpv-player:master Feb 20, 2025
27 checks passed
@Dudemanguy Dudemanguy deleted the disc-syntax branch February 20, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants