12/2/2023 0 Comments Plexamp menu on windows![]() get ( "PLEX_TOKEN" ) BASE_URL = f " /* Make tap overlays transparent */ md-card. 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. 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. 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. 10 min read Building a Now Playing Display.Obviously nobody knows your code as well as you guys, but from my UI designer perspective those shouldn't be too expensive. These UI improvements could make the app a lot faster to use, both on desktop and on large tablets (speaking as someone who uses it on desktop and an iPad 12.9"). Since keyboard shortcuts only exist on desktop (I assume, anyway - I may be wrong on this) this behaviour would only trigger on desktop. By Sofia Elizabella Wycilik-Wilson Published 2 weeks ago Follow SofiaWW 2 Comments Tweet For those of a nostalgic bent, the recent revival of Winamp caused flutters of excitement. Right now if you have a search result open you have to use the back button first in order to start typing your search query. ![]() This would conflict with tablet UI though, so this will probably bit more work.Īctivating search bar (via a keyboard shortcut) already activates the search tab, but does not clear previous search results. Possibly a more accessible volume slider. If you want to keep the UI symmetrical (since I assume that's the reason you split shuffle/loop buttons on the opposite sides of the interface) you can add the visualizer button as well, this will keep the amount of buttons even. ![]() Right now you need to click on the song name and select "Show Lyrics". Imo this might be an oversight right now seeing as double-clicking an album in certain parts of the app does start playing it.Ī button (near shuffle/loop/select player buttons) to display lyrics. Do you know if there are plans to either redesign the plexamp desktop app or allow for use of the sonic similarity feature on the standard web interface?Ī few cheap quality-of-life fixes would go a long way, in my opinion.ĭouble-clicking a song in Recently Played starts playing it immediately instead of opening the slide-up menu. However, my biggest complaint is the fact that the sonic similarity feature is only available on plexamp, meaning that if I want to use the sonic similarity feature on my PC, I need to be using the plexamp desktop app, which is an extremely painful experience. I could go on and on with complaints, but I do understand that plexamp is obviously designed for use with touchscreen phones, and if I really want to use plex on my desktop, I can just use the web interface. Additionally, when I maximize the window, and I am looking at a list of songs, the option button is so far from the name of the song, I can barely tell which song I am selecting. I've noticed that certain actions requiring a swipe are impossible to perform, and it also seems like there is no option to minimize the window. I personally very much dislike the plexamp desktop interface, seeing as how it's the exact same as the touch screen interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |