# `Mx.Player`
[🔗](https://github.com/mx-music/mx/blob/main/lib/mx/player.ex#L1)

Plays a song file until Enter is pressed or its music ends, and plays each saved version of it, for `mix mx.play` and the `mx` command.

# `parse`

The options `play/2` takes, parsed from command line arguments, and the arguments left.

# `play`

Plays a song file with `record:` and `force:`, or renders it offline with `render:`, `seconds:` and `force:`, and returns `:ok` once it stops, or `{:error, message}`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
