[Addon] Addons Menu - Install addons the easy way

Raspberry Pi related support

[Addon] Addons Menu - Install addons the easy way

Postby rern » 04 Sep 2017, 17:09

Addons Menu - Install addons the easy way

As of 20190822, this has been integrated to RuneAudio+R e1

- Addons Menu for easy addons installation via RuneUI.
- It's the same as running on SSH terminal.
- Just much easier.
- Something like mini App Store or mini Play Store.
- It does nothing using zero CPU cycle unless run it from the menu.

Currently available:
View code - GitHub

Image

    - install / uninstall addons directly in RuneUI, no need for ssh terminal (but only this one)
    - always reload list from source
    - show install messages
    - installed indication
    - update indication (button)
    - modular template for easy to add addon scripts from other sources

Install:
for beginners: Addons Menu Installation

for SSH terminal
Code: Select all
wget -qN --show-progress https://github.com/rern/RuneAudio_Addons/raw/master/install.sh -O - | sh

Last edited by rern on 10 Sep 2019, 13:55, edited 42 times in total.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: Addons Menu - Install addons the easy way

Postby R101 » 04 Sep 2017, 19:02

Brilliant! Thanks rern.

Addons Menu installed OK, but when I try to install any of the options I get the message " sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set ".

Also, I have previously expanded the partition and installed enhancements. Should I run these options anyway to get the menu to sync, or could that do damage?
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: Addons Menu - Install addons the easy way

Postby rern » 05 Sep 2017, 01:32

R101 wrote:Addons Menu installed OK, but when I try to install any of the options I get the message " sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set ".

Please check permission and owner of sudo file:
Code: Select all
ls -l /usr/bin/sudo
# it should be:
# -rwsr-xr-x 1 root root 119920 Nov  7  2015 /usr/bin/sudo

# if not "-rwsr-xr-x 1 root root":
chmod 4755 /usr/bin/sudo
chown root:root /usr/bin/sudo


R101 wrote:Also, I have previously expanded the partition and installed enhancements. Should I run these options anyway to get the menu to sync, or could that do damage?

Expand Partition: On install, it will only inform you if no available space left.
RuneUI Enhancement: Uninstall from ssh terminal then reinstall from this new Addons Menu.
Uninstall:
Code: Select all
./uninstall_enha.sh

# or if installed before Mar 30, 2017
./uninstall.sh

I'm working on backward sync.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: Addons Menu - Install addons the easy way

Postby R101 » 05 Sep 2017, 10:02

Thanks, permissions were -rwxr and that has fixed it.

Would it be possible to have a notification that an install has completed?
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: Addons Menu - Install addons the easy way

Postby rern » 09 Sep 2017, 05:14

R101 wrote:Would it be possible to have a notification that an install has completed?

Now the notification is on plus a lot of other improvements.

Update method has been switch from patch to uninstall-install.
If you installed Addons Menu before Sep 6, the update button will not work.
You have to uninstall by uninstall_addo.sh in SSH terminal then reinstall again.

Please try and report back.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] Addons Menu - Install addons the easy way

Postby R101 » 09 Sep 2017, 11:05

rern,

I have re-installed the addons and enhancements packages without any problem, and it all seems to be working well. Will it be possible to do future kernel updates from this menu too?

It's great that you keep Rune moving forward while also making it easy to hide unused features, which is what makes Rune superior to its less purist siblings.

Thanks,

R.
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: [Addon] Addons Menu - Install addons the easy way

Postby tuna » 13 Sep 2017, 21:51

How would one develop an 'addon' for this module, as the youtube addon could benefit from it :D
tuna
 
Posts: 18
Joined: 30 Oct 2016, 17:39

Re: [Addon] Addons Menu - Install addons the easy way

Postby R101 » 14 Sep 2017, 09:52

rern,

I have accidentally discovered that with no volume control or cover display, touching top right, below the menu icon, leaves me with just the progress indicator in the middle of the play screen. I cannot find any reference to this in the forum and assume it is part of your enhancement package?

This result is just the layout I want, but it is easy to cancel it when aiming for the menu icon. Is there a way to lock this feature?
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: [Addon] Addons Menu - Install addons the easy way

Postby rern » 14 Sep 2017, 12:05

tuna wrote:How would one develop an 'addon' for this module, as the youtube addon could benefit from it :D


I've just finished a guideline for any enthusiasts to try.

Basically, we just need:
    - working install/uninstall scripts(bash)
    - a php array
Then we're good to go.

R101 wrote:I have accidentally discovered that with no volume control or cover display, touching top right, below the menu icon, leaves me with just the progress indicator in the middle of the play screen. I cannot find any reference to this in the forum and assume it is part of your enhancement package?

This result is just the layout I want, but it is easy to cancel it when aiming for the menu icon. Is there a way to lock this feature?

It's there in animated gifs. Tab / slide on the left / right edges for show / hide elements.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: [Addon] Addons Menu - Install addons the easy way

Postby R101 » 14 Sep 2017, 17:00

It's there in animated gifs. Tab / slide on the left / right edges for show / hide elements.


Thanks, I missed that. Is there any way to keep the setting after reboot, or make it the default?
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 15 guests