![]() ![]() Last weeks short film about PLEX and Plexamp showed Select Install under. get ( "PLEX_TOKEN" ) BASE_URL = f " /* Make tap overlays transparent */ md-card. When running the Plex Media Player app, you can switch modes by clicking on. get ( "PLEX_SERVER" ) PLEX_TOKEN = environ. get ( "MQTT_BROKER" ) PLEX_SERVER = environ. Since I wanted to update Node-RED and everything else in the house already speaks MQTT, the way forward was obvious, and it took me all of 60 lines of Python to build a simple MQTT relay for Plex playback events.Īnd since it’s a 12-factor app deployed on piku, you can even call it a microservice:įrom functools import lru_cache from json import dumps from os import environ from sys import exit from plexapi.base import PlexObject from plexapi.client import PlexClient from rver import PlexServer from time import sleep import as mqtt MQTT_BROKER = environ. With the UI mocked up, I decided to get started on how to actually tap into Plex. For extra polish, I also designed this so that I could set the -grey CSS variable when playback was paused (which, alas, I had to give up on).Set the cover art width to auto (unlike shown) and you will also be able to show movie posters and the like (if you want to).Using the :before pseudo-element can be both friend and foe.Rotating the cover art 180 o before blurring it and sticking it as a background gives a very nice look (and saves you one HTTP request for another image, etc.).The first part was laying out the UI, which I quickly mocked up in VS Code: Yeah, I have a fair amount of Portuguese music CDs ripped on my Plex server. Perfection for golden ears, buttery smooth touches. Loudness leveling, true gapless playback, Sweet Fades, soft transitions, a configurable preamp, a 7-band EQ, and more. This meant talking to the Node-RED instance that runs the display, customizing the dashboard to include tailored HTML and CSS and delving a bit into the Plex APIs. Plexamp is a beautiful, dedicated Plex music player with tons of goodies for audiophile purists, music curators, and music fans of all ages looking for their next aural fix. ![]() The display turns off every few minutes automatically, and it needs to come back on to display the album art.The display defaults to showing my office dashboard, and I can’t just take it over (or waste it on a single purpose).I wanted to have both my Echo Listen or PlexAmp update the display. ![]() As it happens, yesterday I came across this neat “Now Playing” desktop display build, and since I have an official 7” Raspberry Pi LCD on my desk for controlling my lights, I decided to do something similar, but to display what’s currently playing on Plex (since I use PlexAmp on my Mac or Windows laptop to listen to my music collection).Īs usual, things got slightly out of hand, because: Today’s a bank holiday, so I decided to spend a little while having fun. Plex is out today with an upgrade for its Plexamp music app that brings an advanced neural network to sonically analyze your library to rich features like similar artists, albums, and tracks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |