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

mpv: add page #2314

Merged
merged 4 commits into from Sep 9, 2018
Merged

mpv: add page #2314

merged 4 commits into from Sep 9, 2018

Conversation

mortenfyhn
Copy link
Contributor


  • The page (if new), does not already exist in the repo.

  • The page (if new), has been added to the correct platform folder:
    common/ if it's common to all platforms, linux/ if it's Linux-specific, and so on.

  • The page has 8 or fewer examples.

  • The PR is appropriately titled:
    <command name>: add page for new pages, or <command name>: <description of changes> for pages being edited.

  • The page follows the contributing guidelines.

Thought this could be useful for some. Is there a specific style for keyboard shortcuts that can be used while the command/program runs? mpv accepts a bunch of shortcuts while playing video, and some of those would be nice to add to the tldr page, but I'm not sure if that's a) something you want in the tldr pages, and b) what syntax to use for that.

@CLAassistant
Copy link

CLAassistant commented Sep 8, 2018

CLA assistant check
All committers have signed the CLA.

@roblav96
Copy link

roblav96 commented Sep 8, 2018

@mortenfyhn Dude this is so awesome! Could use a few more examples tho =]

@mortenfyhn
Copy link
Contributor Author

Yeah, I know only mentioning --speed is a bit a limited. I could add some more, but I'm honestly not sure which of the many other options are most used / useful. I added one more though.

Any input on my keyboard shortcut question?

@tldr-bot
Copy link

tldr-bot commented Sep 8, 2018

The build for this PR has failed with the following error(s):

pages/common/mpv.md:14: TLDR103 Command example is missing its closing backtick

Please fix the error(s) and push again.

@mfrw mfrw added the new command Issues requesting creation of a new page. label Sep 8, 2018
pages/common/mpv.md Outdated Show resolved Hide resolved
@@ -9,3 +9,7 @@
- Play a video at specified speed (0.01 to 100, default 1):

`mpv --speed {{speed}} {{video_file}}`

- Play a video using a profile defined in your `mpv.conf` file:
Copy link
Member

Choose a reason for hiding this comment

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

How about we drop the your.
'Play a video using a profile defined in mpv.conf file:'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't really agree, because the user has to define his own mpv.conf file. I could write 'in the mpv.conf' file, but that would make it sound like it already exists.

Copy link
Member

Choose a reason for hiding this comment

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

I think this is fine as-is here, as the mpv.conf file is likely to be in the user's own home directory.

Copy link
Member

Choose a reason for hiding this comment

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

I agree

Copy link
Member

Choose a reason for hiding this comment

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

FYI - We try to avoid personal pronouns and aim to keep the language impersonal. If you want to keep your, I would suggest one's or something similar which makes it sound impersonal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've pushed a new one using the, I think it reads better than one's.

@mfrw
Copy link
Member

mfrw commented Sep 8, 2018

@mortenfyhn Thank you for the PR. If you want to add shortcuts which you think are useful, you could have a look at emacs or vim page for pointers.
I have also left some review comments.

pages/common/mpv.md Outdated Show resolved Hide resolved
@tldr-bot
Copy link

tldr-bot commented Sep 8, 2018

The build for this PR has failed with the following error(s):

pages/common/mpv.md:9: TLDR002 A single space should precede a sentence

Please fix the error(s) and push again.

@mfrw mfrw merged commit 433c1fc into tldr-pages:master Sep 9, 2018
@mortenfyhn
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Issues requesting creation of a new page.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants