Well done! What about packaging your work in a âtrueâ plugin for Volumio? You can have a look at touch display plugin and other plugins. Let us know if you need help
@balbuze,
thanks for your reply. I am not able to put it in a âtrueâ plugin because of:
for displaying content i need a ST7789 library, where i didnt find out how to use it in javascript
i dont know if it is possible, to write a âtrueâ plugin in javascript which calls a python script
Maybe you or someone else can give me hints or sample code snipplets, so we can make it a true pluging. Most of the work is done, it is âjustâ translating in different programming language.
(i know js syntax a little bit because of my magicmirror history )
@Old_Duffer
Great to hear the code works and enjoys you. To your question: Yes it is possible, but i wonât change the code now. What do you understand with âblankingâ? Just black background and backlight on an 4 Button icons show? You can leave your request as issue at github, so if collect some wishes maybe it makes sense to implement them or they can be handled by some kind of config file for "own preferences".
AxLED
@balbuze motivated me to create a ârealâ plugin with my code.
Today the plugin Pirateaudio was merged so it is available to install via the GUI.
(see plugin section (miscellanea/pirateaudio) in volumio)
Notes:
you have to restart volumio after installation, as the install process adds informations to /boot/userconfig.txt, which are only used after a restart.
Output device should be set to âHiFiBerry DACâ (if not already set)
Volume setting -> type of mixer should be set to âSoftwareâ (if not already set)
Have fun and enjoy it (as i do).
Thanks to @balbuze, the volumio team and rusconi (i reused some code and got inspirations).
Thank you! I have been curious about Pimoroni for some months, but didnât want to give up Volumio (or mess it up). Iâm ordering a Pimoroni tonight.
Just to let anyone who might be interested know âŚ
You can also connect an i2c display and use the pydPiper plugin to display the text at the same time.
Iâm also using a remote with lirc to control it and the GPIO Control plugin to turn off the Pimoroni backlight when paused.
Very pleased with the way things are going, more fiddling to doâŚ
Just noticed that it doesnât seem to want to play high res filesâŚ
didnât know you have 2 displays connected to your pi. I am happy if part of my code help you to build your individual volumio.
I am developing further right now, to get more useful features to the pirate audio plugin:
translation de and en for the static text
blank display if plugin is deactivated
draw siteindex while navigating (useful on long lists)
Thank you so much AxLED. I recently purchased two pirate audio hats ( 1 headphone amp and line-out hat) from Microcenter to install on rasp pi zeroâs. I came across your github link and installed the files and the system works perfectly. You saved me a ton of time trying to figure out the programming as I am still a noob to programing these rasp piâs. The buttons and screen work beautifully. I just need to figure out how to change the sub menu to english. I am looking forward to any new updates you release. Thanks again!
Hey AxLED, Fantastic work!
Thank you for the english translation!
The volume up button stopped working in this build⌠how can I check to see if itâs configured right?