Socket
Socket
Sign inDemoInstall

pirateplayer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pirateplayer

PiratePlayer is an offline player for Pirate Audio


Maintainers
1

PiratePlayer

While there are other good software for audio playing, none of them works fully offline (mopidy) or doesn't natively support GPIO buttons (omxplayer): PiratePlayer to the rescue!

PiratePlayer demo

HOW-TO use

while browsing menu:

press A to scroll up
press B to scroll down
press X to select current file
press Y to go back

while playing:

press A to stop and go back to menu
press B to decrease volume
press X to play//pause
press Y to increase volume

Hardware needs

  • Raspberry pi, a cheap model like the zero-w works fine
  • Pimoroni's pirate-audio hat, or hack together some DIY
  • (optional) 3.7v LiPo + 5v regulator or something like a LiPo shim

Install deps

Install requirements for gstreamer and hifiberry dac

then make sure you have installed:

gobject-introspection libgirepository1.0-dev libcairo2-dev

and enable GPIO SPI - check RPiconfig if not sure how

Setup dev environment

PiratePlayer runs with python >= 3.5

$ virtualenv venv
$ . venv/bin/activate
$ pip3 install --editable .
$ pirateplayer

Install as systemd service (from python module)

install pirateplayer from pip
launch install.sh

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc