Thank you for your donation!


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


Idea: Pirate Audio 240x240 cover display
#61
(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
Reply
#62
(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.
Reply
#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
#64
(05-05-2021, 12:00 AM)rusconi Wrote:
(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

Ciao Russ, thank for your help, now all seems ok.
Reply
#65
Quote:PS: next step, how to enable the buttons on pirate audio board?

Hi aka399! here 4 steps to put buttons...  Important: In my case, version is 6.4.2 and i use one of pins for power off.
p.s. my pirateaudio board is old version... if you have new board, i think you need to put 24 (20 - no).


Attached Files Thumbnail(s)
               
Reply
#66
On Moode 8.0.2 I can't yet the buttons working.

Testing with: `https://github.com/pimoroni/pirate-audio/blob/master/examples/buttons.py` shows that they give output.

I have in GPIO handler (boards prior to 23 January 2020) otherwise use pin 24 for Y:
pin  5 cmd (A) = mpc toggle
pin  6 cmd (B) = mpc volume -5
pin 16 cmd (X) = mpc next
pin 20 cmd (Y) = mpc volume +5

CoverArt is working great.

It should be nice if a kind of menu, like  'https://github.com/Ax-LED/volumio-pirate-audio' is possible.
I have no Python programming experience.
Reply
#67
@MrRedHead

Did you notice what it says on the GPIO Config screen?

Quote:NOTE: Use a comma to delimit arguments in the CMD field. Example: mpc,load,My Playlist

Regards,
Kent
Reply


Forum Jump: