New procedure for Air Player 4 for Raspberry Pi
Re: New procedure for Air Player 4 for Raspberry Pi
There are indeed a few steps which makes it, in my opinion, over-complicated.
But apart from that it is useful.
If you have it on auto start, then as far as I know, it already starts with sudo rights.
If you're using a Raspberry Pi 3 or older, then there's an additional step to enable OpenGL.
But apart from that it is useful.
If you have it on auto start, then as far as I know, it already starts with sudo rights.
If you're using a Raspberry Pi 3 or older, then there's an additional step to enable OpenGL.
Re: New procedure for Air Player 4 for Raspberry Pi
We cannot reproduce this. But what we did see is that if you push a debug instrument from the Create/Edit tab, without having any panel(s) configured, the application hangs. So this might be what you were experiencing. This is fixed in the upcoming release.
Re: New procedure for Air Player 4 for Raspberry Pi
I have updated my procedure based on Air Player 4.1.4
- I added the "update part"
- I’ve changed the autostart chapter because this feature is now implemented by the installer (setup.sh)
Regarding your sudo question That is a good question and to be honest I don't know, I don't use any hardware.
I think you should modify the autostart file. if you have filled the /etc/xdg/lxsession/LXDE-pi/autostart file:
should become
From AirPlayer 4.1.4, auto boot can be automatically set by the installer shell script (at the end of the installation it asks you if you want the autostart, just answer Y). you should changed the /home/pi/.config/autostart/airplayer.desktop file
Good luck
- I added the "update part"
- I’ve changed the autostart chapter because this feature is now implemented by the installer (setup.sh)
Regarding your sudo question That is a good question and to be honest I don't know, I don't use any hardware.
I think you should modify the autostart file. if you have filled the /etc/xdg/lxsession/LXDE-pi/autostart file:
Code: Select all
@/home/pi/AirPlayer4_32/Bootloader
Code: Select all
@sudo /home/pi/AirPlayer4_32/Bootloader
Good luck
Re: New procedure for Air Player 4 for Raspberry Pi
Hello Huberflight,
On Mon Jun 27, 2022 3:24 pm, you post this:
Now, on Tue Jun 28, 2022 you post that your Air Player is already running...
Thanks in advance
On Mon Jun 27, 2022 3:24 pm, you post this:
I have made all the procedures that "guda" explain in his post of Jun 19...Huberflight wrote: ↑Mon Jun 27, 2022 7:24 pm Hello guda.
First of all, thank you for your installation description. It´s much better than the Wiki (Until today).
But i'm stuck now. I have installed the OS on my PI. Installed the AirPlayer data and run the setup.sh to download all the stuff.
Then i type in the "./bootloader" command and nothing happends (AirPlayer didn't start). When i restart the PI, i came back on the Desctop again and nothing more. Will mean, the AirPlayer will not start. I followerd the installation for the Autostart option but nothing happends.
I'm not an RPI Expert but can anybody help please? Or make it just as easy as it was before?
thx
... but have the same issues like yours then.guda wrote: ↑Sun Jun 19, 2022 10:01 am The wiki page is too light. Which OS can we use (light or desktop)? what is the procedure to update/uninstall….)?
I have the feeling to be a beta tester and today I'm stuck due to the "multi Air player on raspberry's bug".
If it can’t help other users, please find below my procedure to deploy Air player 4 on Raspberry 3
Feel free to complete my post because I’m not Linux administrator and I can make mistakes.
Now, on Tue Jun 28, 2022 you post that your Air Player is already running...
I dont see any other post that have help you to solve you initial issue. Can you explain what do you do to get the Air Player to work?Huberflight wrote: ↑Tue Jun 28, 2022 9:13 am Hello Ralph, hello guda.
Thanks for your fast reply.
My situation now is that AirPlayer is running on my RPI and I have an Instr. installed.
Thanks in advance
Chief Technology Officer (CTO) at 360ATC Aviation Training Center
Electronic Engineer. Control & Software Specialist
Electronic Engineer. Control & Software Specialist
- Huberflight
- Posts: 42
- Joined: Sat Mar 31, 2018 2:27 pm
Re: New procedure for Air Player 4 for Raspberry Pi
Hello nnyerges, hello all others,
Sorry for the late reply, but I've been working abroad a lot in the past few months and I've been very busy.
I am not a programmer or IT specialist. That's why I'm writing this guide "For Dummies" (Very easy
I have now figured out a way to install AirPlayer on a Raspberry Pi4 that has worked multiple times now.
Of course I want to share it with you because others might benefit from.
These instructions are only based on my experiences and do not claim to be complete.
So if anyone has a suggestion for improvement, bring it on.
So, let's get startet
Instructions for installing Air Player on a Raspberry Pi 4 without an external monitor
Software you will need:
Raspberry Pi Imager
Netgear Genie (Network Tool)
MobaXterm (Remote Tool)
Please Google it for free downloading
Terms:
RPI = Raspberry Pi
OS = Operational System
SUDO = Super User Do
If a command is specified, then with quotation marks, e.g.:
"sudo nano /boot/config.txt"
Then please write or copy the following:
sudo nano /boot/config.txt
- Start Raspberry Pi Imager.
- Select OS RPI OS (32 bit). - Select SD card.
- Click on the gear for advanced settings
- Set Hostname e.g.: RPI_Stby_G1000
- Enable SSH: Use password for authenticity
- set username: username=pi
- Set password e.g.: RPI4 - WLAN: Disable
- Time zone e.g.: Berlin
- Keyboard layout e.g.: fr
- Click on Safe (Speichern)
- And then click on write (It takes a while to write and Compare).
- Put the SD card in the RPI.
- Boot the RPI.
- It will shut down and reboot on the first start. That is normal.
- Find out the IP address (NETGEAR Genie).
- In our case it's 192.168.0.104
Sorry for the late reply, but I've been working abroad a lot in the past few months and I've been very busy.
I am not a programmer or IT specialist. That's why I'm writing this guide "For Dummies" (Very easy
I have now figured out a way to install AirPlayer on a Raspberry Pi4 that has worked multiple times now.
Of course I want to share it with you because others might benefit from.
These instructions are only based on my experiences and do not claim to be complete.
So if anyone has a suggestion for improvement, bring it on.
So, let's get startet
Instructions for installing Air Player on a Raspberry Pi 4 without an external monitor
Software you will need:
Raspberry Pi Imager
Netgear Genie (Network Tool)
MobaXterm (Remote Tool)
Please Google it for free downloading
Terms:
RPI = Raspberry Pi
OS = Operational System
SUDO = Super User Do
If a command is specified, then with quotation marks, e.g.:
"sudo nano /boot/config.txt"
Then please write or copy the following:
sudo nano /boot/config.txt
- Start Raspberry Pi Imager.
- Select OS RPI OS (32 bit). - Select SD card.
- Click on the gear for advanced settings
- Set Hostname e.g.: RPI_Stby_G1000
- Enable SSH: Use password for authenticity
- set username: username=pi
- Set password e.g.: RPI4 - WLAN: Disable
- Time zone e.g.: Berlin
- Keyboard layout e.g.: fr
- Click on Safe (Speichern)
- And then click on write (It takes a while to write and Compare).
- Put the SD card in the RPI.
- Boot the RPI.
- It will shut down and reboot on the first start. That is normal.
- Find out the IP address (NETGEAR Genie).
- In our case it's 192.168.0.104
When it looks not right, go around. It's easier to explain why you done it, than for others to finde out why you don't.
- Huberflight
- Posts: 42
- Joined: Sat Mar 31, 2018 2:27 pm
Re: New procedure for Air Player 4 for Raspberry Pi
- Start the remote tool MobaXTerm.
- Create a new session (click on Session in the top left).
- Enter the IP address you found on NETGEAR Genie (192.168.0.104).
- Click ok.
- Login as: pi
- Password: RPI4
- Create a new session (click on Session in the top left).
- Enter the IP address you found on NETGEAR Genie (192.168.0.104).
- Click ok.
- Login as: pi
- Password: RPI4
When it looks not right, go around. It's easier to explain why you done it, than for others to finde out why you don't.
- Huberflight
- Posts: 42
- Joined: Sat Mar 31, 2018 2:27 pm
Re: New procedure for Air Player 4 for Raspberry Pi
- If you want to turn off the RPI with a push button, open the boot config file with the command: "sudo nano /boot/config.txt".
- And add the line: "dtoverlay=gpio-shutdown,gpio_pin=21,active_low=1,gpio_pull=up"
on to shut down the RPI4 with the button on pin 40 (GPIO21).
- Press: "Ctrl O" to save the whole thing.
- Assign names or leave them as they are (I recommend leaving them as is). Press Enter.
- Press "Ctrl X" to close the menu.
- Type: "sudo raspi-config" to get into the RPI Configurations menu.
- Go to Display Options / Enter.
- Screen Blanking / Enter.
- And add the line: "dtoverlay=gpio-shutdown,gpio_pin=21,active_low=1,gpio_pull=up"
on to shut down the RPI4 with the button on pin 40 (GPIO21).
- Press: "Ctrl O" to save the whole thing.
- Assign names or leave them as they are (I recommend leaving them as is). Press Enter.
- Press "Ctrl X" to close the menu.
- Type: "sudo raspi-config" to get into the RPI Configurations menu.
- Go to Display Options / Enter.
- Screen Blanking / Enter.
When it looks not right, go around. It's easier to explain why you done it, than for others to finde out why you don't.
- Huberflight
- Posts: 42
- Joined: Sat Mar 31, 2018 2:27 pm
Re: New procedure for Air Player 4 for Raspberry Pi
- Disable screen blanking.
- Go back to the Main Menu and reboot the RPI.
- Download the "Air Player Desktop Installation" image from the wiki page.
- Create a folder with the SSH Editor in the directory "/home/pi/" e.g.: "AirPlayer4_32"
- Copy the files from the previously downloaded ZIP file after you have unpacked them into the folder you just created (use drag and drop).
- Go back to the Main Menu and reboot the RPI.
- Download the "Air Player Desktop Installation" image from the wiki page.
- Create a folder with the SSH Editor in the directory "/home/pi/" e.g.: "AirPlayer4_32"
- Copy the files from the previously downloaded ZIP file after you have unpacked them into the folder you just created (use drag and drop).
When it looks not right, go around. It's easier to explain why you done it, than for others to finde out why you don't.
- Huberflight
- Posts: 42
- Joined: Sat Mar 31, 2018 2:27 pm
Re: New procedure for Air Player 4 for Raspberry Pi
- In the SSH editor, change the directory in which the previously copied data is located. In my case enter:"cd /home/pi/AirPlayer4_32".
- Now write: "sudo sh ./setup.sh" / Attention: The RPI needs a working internet connection!
- At the end you will be asked whether the AirPlayer should be started automatically? Type "Y" / Enter (Big or small doesn't matter).
- When it now looks like in the picture below, all should be fine.
When you have any yellow line, something went wrong. A common issue is
a Network error.
- To shut down the RPI now write: "sudo shutdown -h 0".
- To just restart the RPI type: "sudo shutdown -r 0".
- Now write: "sudo sh ./setup.sh" / Attention: The RPI needs a working internet connection!
- At the end you will be asked whether the AirPlayer should be started automatically? Type "Y" / Enter (Big or small doesn't matter).
- When it now looks like in the picture below, all should be fine.
When you have any yellow line, something went wrong. A common issue is
a Network error.
- To shut down the RPI now write: "sudo shutdown -h 0".
- To just restart the RPI type: "sudo shutdown -r 0".
When it looks not right, go around. It's easier to explain why you done it, than for others to finde out why you don't.
- Huberflight
- Posts: 42
- Joined: Sat Mar 31, 2018 2:27 pm
Re: New procedure for Air Player 4 for Raspberry Pi
And here at the end all the commands to copy again.
sudo nano /boot/config.txt
# Shutdown via hardware button
dtoverlay=gpio-shutdown,gpio_pin=21, active_low=1,gpio_pull=up
------------------------------------------------------------------------------------
sudo raspi-config
cd
cd /home/pi/AirPlayer4_32
sudo sh ./setup.sh
-------------------------------------------------------------------------------------
For shutdown
sudo shutdown -h 0
For restart
sudo shutdown -r now
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
I hope that I could be of some help with this detailed description for beginners (like me).
If you still have questions, please let me know .
sudo nano /boot/config.txt
# Shutdown via hardware button
dtoverlay=gpio-shutdown,gpio_pin=21, active_low=1,gpio_pull=up
------------------------------------------------------------------------------------
sudo raspi-config
cd
cd /home/pi/AirPlayer4_32
sudo sh ./setup.sh
-------------------------------------------------------------------------------------
For shutdown
sudo shutdown -h 0
For restart
sudo shutdown -r now
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
I hope that I could be of some help with this detailed description for beginners (like me).
If you still have questions, please let me know .
When it looks not right, go around. It's easier to explain why you done it, than for others to finde out why you don't.