Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide LCD/OLED display using pydPiper
(03-14-2024, 01:25 PM)Tim Curtis Wrote: Wouldn't this be a question for the Pydpiper maintainer?

I guess I was asking to see if anyone here knew of (or had made their own) a solution. Does Moode write to any files anywhere when the state changes, i.e. stopped/playing/artist info/whether spotift connect or airplay is in use etc?
Reply
The COMMAND AND REST API section of the Setup Guide has info on how to get player state.
Theres a link to it on the Download page at moodeaudio.prg
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
(03-14-2024, 04:20 PM)Tim Curtis Wrote: The COMMAND AND REST API section of the Setup Guide has info on how to get player state.
Theres a link to it on the Download page at moodeaudio.prg

Thanks Tim, I'll take a look.
Reply
Thumbs Up 
Hi Remy,

Great tutorial, will use this for my project.

Kind regards
Rock
100% Linux noob (Linexia?) - Promoted, by Tim, to ‘not noob’ ‘novice’, with a single vote from Robert.
look forward am slightly nervous about what triggers the ‘dangerous’ promotion.
Proclaimed to ‘tinkerer status’ by Kent.
Almost anything is possible. It’s the subjective sum of the variables price, time and entertainment that determines whether it’s worth it or not.
Reply
Anybody who would like to poke a noob in the right direction…?

I followed the guide and though i encountered some issues, presumably due to lack of knowledge, the test went fine, showing standby time (time is several hours off but i’m not going to use that feature anyway) and the song info when playing.
When i exit the test i have nothing but a black screen. My guess is that…. Something is wrong… :-D
I’ve scrolled back and forth in this thread and whatever i could find with Google.

Raspberry pi 4b 4gb
MoOde audio 9.0.0
IQaudio DAC pro HAT
i2r ssd1306 128x64 OLED


Kind regards
Rock

Edit1 27th May: started from scratch.
100% Linux noob (Linexia?) - Promoted, by Tim, to ‘not noob’ ‘novice’, with a single vote from Robert.
look forward am slightly nervous about what triggers the ‘dangerous’ promotion.
Proclaimed to ‘tinkerer status’ by Kent.
Almost anything is possible. It’s the subjective sum of the variables price, time and entertainment that determines whether it’s worth it or not.
Reply
Since version 9 the SSH1106 based Oled display that I used with MPD_Oled no longer works correctly due to some deprecated libraries. Wanting to use PydPiper I have the problem that my SH1106 OLED screen is not supported. Is there any chance to make it work?
Reply
Update - it seems to work now! Yeah!
If a #1 noob like me can make it work, there’s a good chance anybody are able to. X-D

What I’ve learned:
I don’t know sh.. and even less than that.

Kind regards
Rock

Edit1 29th May: bmfont is a very useful tool if you want to experiment with different and/or larger fonts.
100% Linux noob (Linexia?) - Promoted, by Tim, to ‘not noob’ ‘novice’, with a single vote from Robert.
look forward am slightly nervous about what triggers the ‘dangerous’ promotion.
Proclaimed to ‘tinkerer status’ by Kent.
Almost anything is possible. It’s the subjective sum of the variables price, time and entertainment that determines whether it’s worth it or not.
Reply
(05-27-2024, 06:59 PM)Dorffen Wrote: Update - it seems to work now! Yeah!
If a #1 noob like me can make it work, there’s a good chance anybody are able to. X-D

What I’ve learned:
I don’t know sh.. and even less than that.

Kind regards
Rock

Edit1 29th May: bmfont is a very useful tool if you want to experiment with different and/or larger fonts.

Regarding large fonts, did you find/create a large font for the clock (when paused)?  I tried to replace the default BigFont with the other large font in pydPiper/displays/fonts, Vintl01, but it doesn't render properly (some sections are rendered as question marks).  All I tried was changing the file name in the pages file.  Everything else works fine.  An option for an even larger font, so the clock fills my 20x4 display, would be great too.  Anyone managed this? 

Thanks for the discussion and tips on this thread, got it working nicely, apart from the above.  Will take a look at the bmfont tool as well.
Reply
(06-25-2024, 07:02 PM)vgnmnky Wrote:
(05-27-2024, 06:59 PM)Dorffen Wrote: Update - it seems to work now! Yeah!
If a #1 noob like me can make it work, there’s a good chance anybody are able to. X-D

What I’ve learned:
I don’t know sh.. and even less than that.

Kind regards
Rock

Edit1 29th May: bmfont is a very useful tool if you want to experiment with different and/or larger fonts.

Regarding large fonts, did you find/create a large font for the clock (when paused)?  I tried to replace the default BigFont with the other large font in pydPiper/displays/fonts, Vintl01, but it doesn't render properly (some sections are rendered as question marks).  All I tried was changing the file name in the pages file.  Everything else works fine.  An option for an even larger font, so the clock fills my 20x4 display, would be great too.  Anyone managed this? 

Thanks for the discussion and tips on this thread, got it working nicely, apart from the above.  Will take a look at the bmfont tool as well.

Hi,

I searched and tried different fonts, all which had to be transformed to a different font format and size before i finally found one that suited my needs.
Unfortunately, i haven’t tinkered much with the clock as i don’t use that feature. I only have the current song when playing and paused, and ready song when stopped - that’s all i really need.
I did setup a welcome and goodbye screen too tho.

Kind regards
Rock
100% Linux noob (Linexia?) - Promoted, by Tim, to ‘not noob’ ‘novice’, with a single vote from Robert.
look forward am slightly nervous about what triggers the ‘dangerous’ promotion.
Proclaimed to ‘tinkerer status’ by Kent.
Almost anything is possible. It’s the subjective sum of the variables price, time and entertainment that determines whether it’s worth it or not.
Reply
(06-27-2024, 07:10 PM)Dorffen Wrote:
(06-25-2024, 07:02 PM)vgnmnky Wrote:
(05-27-2024, 06:59 PM)Dorffen Wrote: Update - it seems to work now! Yeah!
If a #1 noob like me can make it work, there’s a good chance anybody are able to. X-D

What I’ve learned:
I don’t know sh.. and even less than that.

Kind regards
Rock

Edit1 29th May: bmfont is a very useful tool if you want to experiment with different and/or larger fonts.

Regarding large fonts, did you find/create a large font for the clock (when paused)?  I tried to replace the default BigFont with the other large font in pydPiper/displays/fonts, Vintl01, but it doesn't render properly (some sections are rendered as question marks).  All I tried was changing the file name in the pages file.  Everything else works fine.  An option for an even larger font, so the clock fills my 20x4 display, would be great too.  Anyone managed this? 

Thanks for the discussion and tips on this thread, got it working nicely, apart from the above.  Will take a look at the bmfont tool as well.

Hi,

I searched and tried different fonts, all which had to be transformed to a different font format and size before i finally found one that suited my needs.
Unfortunately, i haven’t tinkered much with the clock as i don’t use that feature. I only have the current song when playing and paused, and ready song when stopped - that’s all i really need.
I did setup a welcome and goodbye screen too tho.

Kind regards
Rock

Can I ask how you managed to get a different font to work? I've been trying for many hours with different fonts, software, online generators, conversions, sizes, monotype, everything, and haven't once managed to make a new font render properly. No errors in logs, just incomplete characters, even though the png looks fine, the .fnt refers to it, and the pages file points to the .fnt file. The developer said it was due to characters being missing in the font, but they're in the png, and it's the same issue with one of his fonts.
Reply


Forum Jump: