Skip to main content

HTTP music dashboard to control playback via playerctl and display lyrics.

Project description

Lyri

GitHub license GitHub last commit Code style: black

HTTP music dashboard to control playback via playerctl and display lyrics.

Description

Provides a Sanic web application and helper class to manage playback via playerctl.

The web application is hosted using Sanic, which provides endpoints to query player information from playerctl via PyGObject bindings. Lyrics are fetched using syncedlyrics.

Player information is pushed to the client over a WebSocket.

No external JavaScript libraries are requried.

Installation

After cloning the repository with: git clone https://github.com/Zedeldi/lyri.git

Build

  1. Install project: pip install .
  2. Run: lyri or sanic lyri.server -H <host> -p <port>

Development

  1. Install dependencies: pip install -r requirements.txt
  2. Run: python -m lyri or sanic lyri.server --dev -H <host> -p <port>

Libraries:

Credits

License

lyri is licensed under the MIT Licence for everyone to use, modify and share freely.

This project is distributed in the hope that it will be useful, but without any warranty.

Donate

If you found this project useful, please consider donating. Any amount is greatly appreciated! Thank you :smiley:

PayPal

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lyri-1.2.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lyri-1.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file lyri-1.2.0.tar.gz.

File metadata

  • Download URL: lyri-1.2.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for lyri-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e4c870b54767086a2d787d05ce6d327397b8da66af6614d1c17065fa8b4d4e76
MD5 b972729487de5d30afcde97d099429f2
BLAKE2b-256 e78644de618096ec449230618e6ac7afb63e156ed8409740531514f0a65fd69f

See more details on using hashes here.

File details

Details for the file lyri-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: lyri-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for lyri-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86c7d33fc99f81c305f653c08e4f51121bb40438c0d8d95a8c325175ea699542
MD5 1f19172aff042ef055155cdc1387028f
BLAKE2b-256 e878c9d94255454ff4d88cabcefb9207c651729a47bc96b50f1a512d68ababc0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page