-
Notifications
You must be signed in to change notification settings - Fork 16
mpv
To install mpv player on Linux platform (e.g. Raspbian) run the following commands:
sudo apt-get install mpv
sudo apt-get install libmpv1
That will install the player and library for controlling the player.
In addition to the mpv player itself the Python binding library should be installed as well. It will allow Peppy Player to talk to the mpv player using Python. To install mpv Python binding run the following command:
pip3 install python-mpv
In case of successful installation the following command executed from the Python's prompt should not cause any exception:
>> import mpv
The following example shows parameters which should be defined in audio section of the players.txt file in order to use mpv:
[audio]
player.name = mpv
The following parameters defined in players.txt file will be used to run mpv player on Linux platform:
[mpv.linux]
server.start.command = {"audio-device": "alsa/hw", "video": false}
client.name = mpvclient
server.stop.command = None
The following parameters defined in players.txt file will be used to run mpv player on Windows platform:
[mpv.windows]
server.start.command = {"audio-device": "auto", "video": false}
client.name = mpvclient
server.stop.command = None
The communication with mpv player includes commands which UI sends to the player and notifications which player sends back to UI. The following diagram shows how this communication was implemented:
The following table lists the functionality available from mpv on different platforms. The lack of particular functionality doesn't mean that player doesn't provide it. That just means that it's currently not available in Peppy player and probably will be supported in the future.
Features | vlc/Linux | vlc/Windows |
---|---|---|
Web Radio | x | x |
File Playback | x | x |
m3u Playlist | x | x |
cue Playlist | ||
Audiobooks | x | x |
Podcasts | x | x |
Streaming Server | ||
Streaming Client | ||
CD Player | ||
Support for UTF-8 filenames | x | x |
VU Meter Screensaver |
- Peppy Players
- Peppy Home
- Hardware
- Audio Players
- Software
- Installation Guide
- Updating Guide
- Peppy Configuration
- Languages
- Scripts
- Voice Assistant
-
Peppy Player UI
- About
- Home Screen
- Radio Player
- Radio Groups
- Radio Favorites
- Radio Browser
- File Browser
- File Menu
- Quick Configuration
- File Player
- Audiobooks Player
- Audiobooks Browser
- Stream
- Podcasts Player
- Podcasts Browser
- AirPlay
- Spotify Connect
- Bluetooth Sink
- Jukebox
- Archive
- Equalizer
- Timer
- Language
- Network
- Headless Mode
- Resolution
- Recursive Playback
- Playback Order
- Information
- Background
- Icons
- Fonts
- Player Screen
- Image Viewer
- Switch
- Collection
- Catalog
- YA Streams
- Web UI
- Screensavers
- Woodware
- Sketches