rusconi / TFT-MoodeCoverArt

Display artwork and some metadata from moode audio on a 240*240 ST7789 TFT
13 stars 9 forks source link

Moode/Pimoroni Pirate Audio - Display no longer updates after listening to a station with no logo. #1

Closed glynneh closed 4 years ago

glynneh commented 4 years ago

Moode with a Pimoroni Audio hat - https://shop.pimoroni.com/collections/pirate-audio.

After adding a new internet radio station in Moode using the '+' tool on the radio link gui, click on the new channel. (The new channel does not have a logo). The channel plays as expected. However the TFT display shows the last channel that was playing. Does not show the default 'Moode' logo and no track data is shown. After this, channel switching/listening works as expected, but no further updates are sent to the display. A restart is required.

rusconi commented 4 years ago

I cannot duplicate this error inMoode 6.4.2 What version of Moode are you using?

glynneh commented 4 years ago

Hi

I'm using 6,4,2

This is my test. I click on a few stations with logos and the TFT is updated. I then switched to a station that I manually added without a logo, and the audio was fine, but the TFT was not updated. No default Moode logo or track information appears. I switch back to a station with a logo and the audio switched ok, but still no TFT update,

I also tried 'mpc update' from the terminal...

no name: - ALL NIGHT JAZZ 6
[playing] #1/1 5:40/0:00 (0%)
Updating DB (#4) ...
volume: 73% repeat: off random: off single: off consume: off

But still no update to the TFT. A reboot is required at this point.

No worries if you cant repro. It must be my install, and the logo/track info may be a misnomer for something else.

I'll have a go at looking at the logs if I get time.

Thanks for the help. I'm so glad I could go back to Moode. I found Mopidy a bit clunky.

Regards Glynne

rusconi commented 4 years ago

Glynne,

I think I found the issue. The script was trying to display a svg image file but cannot decode it I have updated the script to cover thos issue

Hope it will work for you.

Cheers

Russ

glynneh commented 4 years ago

Sorted! Thank you.

Same test as above. This time when switching to a manually added station with no logo, the default Moode logo appears with the correct track info. Switching back to a station with a logo, immediately updates with the correct logo/track info for that station. Repeated many times with no issues.

Regards and keep safe Glynne