Skip to content

Switch from "afplay" to "mpv" for cross-platform support#6

Open
0xf0xx0 wants to merge 2 commits intoAudiusProject:mainfrom
0xf0xx0:linux-patch
Open

Switch from "afplay" to "mpv" for cross-platform support#6
0xf0xx0 wants to merge 2 commits intoAudiusProject:mainfrom
0xf0xx0:linux-patch

Conversation

@0xf0xx0
Copy link
Copy Markdown

@0xf0xx0 0xf0xx0 commented Feb 4, 2022

Closes #5.

@kerkkoh
Copy link
Copy Markdown

kerkkoh commented Feb 5, 2022

What OS does this add support for? I'm not quite sure which OS uses the mvp command for playing sounds. Calling this cross-platform support isn't exactly correct, since for example, that command doesn't work on Windows (11) or Ubuntu (18.04.6 LTS).

@0xf0xx0
Copy link
Copy Markdown
Author

0xf0xx0 commented Feb 5, 2022

This adds support for Linux and macOS, i dont know enough about the windows shell to know what it uses to play audio files. mpv is installable via your package manager.

@kerkkoh
Copy link
Copy Markdown

kerkkoh commented Feb 8, 2022

Fair enough. You might want to amend the documentation on installation per platform.

@pull-request-size pull-request-size Bot added size/S and removed size/XS labels Feb 8, 2022
@0xf0xx0
Copy link
Copy Markdown
Author

0xf0xx0 commented Feb 8, 2022

and done, this should be good

Copy link
Copy Markdown
Contributor

@cheran-senthil cheran-senthil left a comment

Choose a reason for hiding this comment

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

Sorry, I haven't looked at this in a while, thanks for the work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails on linux, no afplay

3 participants