[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

All tested on RuneAudio 0.3 20160313
(0.3+0.4b) - RuneAudio 0.3, 0.4b compatible
Most should work on 0.4b but some not tested yet

Addons Menu for easy addons installation via RuneUI.

Currently available:
    Aria2
    Backup-Restore Update (0.3+0.4b)
    BASH Commands
    Expand Partition (0.3+0.4b)
    Fonts - Extended Characters (0.3+0.4b)
    Login Logo for SSH Terminal
    Rank Mirror Package Servers (0.3+0.4b)
    RuneUI Enhancements (0.3+0.4b)
    RuneUI GPIO
    RuneUI Password
    Transmission
    Webradio Import
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 block for easy to add scripts(bash) 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



Reinstall
Problems with install / uninstall / update, this clean up + reinstall will fix it.
Code: Select all
wget -qN --show-progress https://github.com/rern/RuneAudio_Addons/raw/master/reinstall.sh; chmod +x reinstall.sh; ./reinstall.sh

Last edited by rern on 22 Sep 2017, 09:18, edited 10 times in total.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 83
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?
R101
 
Posts: 48
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: 83
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?
R101
 
Posts: 48
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: 83
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.
R101
 
Posts: 48
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: 4
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?
R101
 
Posts: 48
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: 83
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?
R101
 
Posts: 48
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 3 guests