<p align="center">
  <img src="flatpak/logo_crop.png" width="400" alt="myplayer">
</p>

# myplayer

`myplayer` is a dumb video player. This is just an experiment.

## Install (Flatpak)

```bash
curl -o /tmp/chaoshome.pubkey https://flatpak.chaoshome.net/chaoshome.pubkey
flatpak remote-add --if-not-exists --gpg-import=/tmp/chaoshome.pubkey chaoshome https://flatpak.chaoshome.net
flatpak install chaoshome com.myplayer.mplay
flatpak run com.myplayer.mplay
```

### Shell alias

**zsh** (add to `~/.zshrc`):
```bash
mplay() {
    flatpak run com.myplayer.mplay "$@"
}
compdef _files mplay
```

**bash** (add to `~/.bashrc`):
```bash
mplay() {
    flatpak run com.myplayer.mplay "$@"
}
complete -f mplay
```

Then just `mplay video.mp4`.

## Build

```
cargo build --release --no-default-features --features iced,static-ffmpeg
```

## No Goals

* competete with other players around
* adding feature requests
