[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

Tested on RPi3, RPi2
for RuneAudio 0.3 and 0.4b (On 0.4b - incompatible addons will be hidden)
(Not for Pi A, B, B+, Zero, Zero W - reported by janui)


- 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; chmod +x install.sh; ./install.sh

Last edited by rern on 27 Jul 2018, 09:43, edited 36 times in total.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 230
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 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 128
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.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 230
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 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 128
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.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 230
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 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 128
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: 14
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 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 128
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.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 230
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 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 128
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 1 guest