Coder Social home page Coder Social logo

bluos-inky's Introduction

BluOS Inky

A simple Python-based script for showing the track information and album cover of the currently playing music from a BluOS player to an InkypHAT ePaper display.

The script is compatible to the Red/Black/White 250x122 pixels display, but it can be trivially adapted to other colours or dimensions.

The script displays the album cover as a low resolution (122x122 pixels) Red/Black/White image and prints the title1, title2 and title3 fields of the currently playing track, which typically contain the track title, artist and album title.

You can read more at the BluOS API.

Initial Configuration

Fill in myconfig-example.py and rename it to myconfig.py.

Update the BLUOS_IP with the IP address of your BluOS player. BLUOS_PORT is the port number of the service. A guide on how to find the IP address of your BluOS player is available here.

Execution

The script can be executed as follows:

$ python3 ./bluos-inky.py

Installation as a Service

In a Linux environment, such as a Raspberry Pi, you can install it to run as a service by executing:

$ ./install-as-service.sh

You can restart the service:

$ ./restart.sh

You can follow the output in the system journal as follows:

$ ./log.sh

Acknowledgements

The inkyconvert.py script is based on inky-conv.

bluos-inky's People

Contributors

fontikos avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

andrewmk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.