Thank you for your donation!


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


Idea: Pirate Audio 240x240 cover display
#63
(05-04-2021, 11:41 AM)aka399 Wrote:
(05-04-2021, 12:56 AM)rusconi Wrote:
(05-03-2021, 05:39 PM)aka399 Wrote:
(05-02-2021, 10:05 PM)rusconi Wrote: More detail please

moode version?

Does the other radio station play and only the display is stuck?

If you have your own moode library what happens if you play from that?

What happens if you reboot?

Ciao Rusconi (Italian?),
moode 7.2.0, all works fine except the display stuck on bbc radio 1. I don't know if can help but I was on bbc1 when I set the SPI.
Also playing from my NAS the bbc logo was on the display.
Reboot had no effect.

Hi
Not Italian, just a username Smile

I upgraded my test rpi to 7.2.0 and have no issues, so can you try a couple of things.

Can you SSH into your rpi and do the following.

Code:
cd /home/pi/TFT-MoodeCoverArt

if you have installed TFT-MoodeCoverSrt as a service, check to see if it is running

Code:
sudo service tft-moodecoverart status

if the service is active, stop it.


Code:
sudo service tft-moodecoverart stop

start the script manually


Code:
python3 /home/pi/TFT-MoodeCoverArt/tft_moode_coverart.py



Does the script crash? If so can you post the output.

If not, try BBC1 and then switch to other stations or albums to see if there is a crash.

Thanks

Russ

Hi Russ,
seems something wrong with the service, I was sure to have set it but:


Code:
pi@moode:~ $ cd /home/pi/TFT-MoodeCoverArt
pi@moode:~/TFT-MoodeCoverArt $ sudo service tft-moodecoverart status
Unit tft-moodecoverart.service could not be found.
pi@moode:~/TFT-MoodeCoverArt $ sudo service tft-moodecoverart stop
Failed to stop tft-moodecoverart.service: Unit tft-moodecoverart.service not loaded.

then I tried manually as suggested and all works well, audio and pics change as we expected. I follow your guide on github to run as service, I have to do something different? regards.

PS: next step, how to enable the buttons on pirate audio board?

EDIT: After some minuste of playing the screen became black and no turn on when I switch to another radio station. I have to launch it again.


Ok.
 a couple of things;
if you run the script manually via ssh with the command
Code:
python3 /home/pi/TFT-MoodeCoverArt/tft_moode_coverart.py

then close the SSH shell, the script will stop and usually the last image stays on the screen.

If you're having issues with the service, cd  into /home/pi/TFT-MoodeCoverArt then run the following answering any prompts. reboot only after the service re-install

Code:
 sudo chmod 777 *.sh

sudo ./remove_service.sh

sudo ./install_service.sh

rebooting after the install.

Cheers, Russ
Reply


Messages In This Thread
Pirate Audio 240x240 cover display - by bobr80 - 01-11-2020, 07:59 PM
RE: Pirate Audio 240x240 cover display - by leobo - 04-12-2021, 06:26 PM
RE: Pirate Audio 240x240 cover display - by rusconi - 05-05-2021, 12:00 AM

Forum Jump: