Home

Awesome

Pixi

Pixi is a simple CLI file browser and video player. Pixi was built to browse and play videos on a Raspberry Pi but it should be compatible with any flavor of Linux. The default video player is omxplayer but is easily configurable to whatever your platform supports.

Features

Requirements

*NOTE: xterm is not required, but is recommended so that omxplayer gains keyboard focus when a video is played. To remove the xterm requirement, hit 's' when pixi is open and remove everything before the word omxplayer.

Installation

git clone https://github.com/destinmoulton/pixi.git
cd pixi

Install the project dependencies:

go get ./...

Install the pixi binary:

go install pixi.go

Configuring the Video Player

The video player can be configured on the Settings screen. Launch pixi and press 's' to access the settings. Command line parameters can be altered to match your Pi configuration (ie audio output).

Keyboard Commands

KeyDescription
up/down arrowsSelect directories/files
left arrowNavigate to parent directory
right arrowNavigate into directory
enter/returnPlay selected file with omxplayer
hShow history of played files
cClear history of played files (when history open)
sOpen player settings
>/.Toggle viewing hidden files
F5/Ctrl+rRefresh the list of files
F1Help
q/Ctrl+cQuit pixi

Debugging

To enable logging, pass the -log flag. This will create a pixi.log file in the working directory.

$ go run pixi.go -log

License

MIT