[Addon] MPD Upgrade

Raspberry Pi related support

[Addon] MPD Upgrade

Postby rern » 26 Oct 2017, 14:24

[Addon] MPD Upgrade
Tested on RPi3
for RuneAudio 0.3 and 0.4b


Upgrade MPD to latest version (0.21.4 as of 20190104)
    - Play UK BBC 320k radio and other m3u8 feeds (as reported by @ianhaynes)
    - RuneAudio installed customized MPD 0.19, mpd-rune, which cannot be upgraded normally
    - RuneAudio has trouble with system wide upgrade. Do not pacman -Syu
    - Fix issues in normal upgrade:
      - missing libs
      - conflict packages
      - missing packages
Install
from Addons Menu

Warning: Midori, local browser, needs upgrade as well otherwise it will not function anymore.
Last edited by rern on 31 Jan 2019, 15:05, edited 8 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: [Addon] MPD Upgrade

Postby dror » 27 Oct 2017, 08:10

Thanks!

What's the benefit? except SOX support
dror
 
Posts: 140
Joined: 03 Dec 2015, 10:14

Re: [Addon] MPD Upgrade

Postby ianhaynes » 27 Oct 2017, 10:40

Started Rune up and selected the Add-Ons option in the menu. It told me it was updating and then got a browser error saying it couldn't find add-ons.php (may have been addons.php, I can't remember).

Tried going back to runeaudio.local and all I got was a blank black screen. Pulled the power and restarted but no difference.

This on 0.4b 20170229, which may be the problem.

Ian

PS: I can get into Rune via the terminal. There is no addons.php in srv/http/ ??
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Addon] MPD Upgrade

Postby rern » 27 Oct 2017, 13:21

Hi Ian,

Sorry for the mess caused by auto updates.
Please try:
Code: Select all
rm /usr/local/bin/uninstall_addo.sh
redis-cli hdel addons addo
# reinstall
wget -qN --show-progress https://github.com/rern/RuneAudio_Addons/raw/master/install.sh; chmod +x install.sh; ./install.sh
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] MPD Upgrade

Postby ianhaynes » 27 Oct 2017, 19:03

OK thanks, that got me back to a working system. Now, when I try to upgrade MPD I get an error, 'Not enough disc space'.

I have Rune installed on a 16Gb SD card and have expanded the partition via the Add On menu. Debug reports 970Mb total, 216Mb used and 754Mb free, so not sure how that equates with 16Mb.

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Addon] MPD Upgrade

Postby R101 » 27 Oct 2017, 20:40

dror wrote:Thanks!

What's the benefit? except SOX support


This question is particularly important when an update is not reversible. I haven't applied the Samba upgrade because I do not understand what will change and whether there are any drawbacks.

Would it be possible to put a more noob-friendly description of what an addon does under the "more info" link?
(Pi 3B, rAudio-1, JLS I2S over USB)
R101
 
Posts: 343
Joined: 29 Apr 2016, 16:16

Re: [Addon] MPD Upgrade

Postby rern » 28 Oct 2017, 03:55

@Ian the brave soul,

In the debug data or SSH command:
Code: Select all
df -H

# output:
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       n.nG  n.nG  n.nG  nn% /
...

The upgrade needs 250MB on /dev/root ... mounted on /
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] MPD Upgrade

Postby ianhaynes » 28 Oct 2017, 10:20

OK, that's the issue then. I see

df -H
Filesystem Size Used Avail Use% Mounted on
/dev/root 2.0G 1.8G 99M 95% /
devtmpfs 505M 0 505M 0% /dev
tmpfs 509M 0 509M 0% /dev/shm
tmpfs 509M 14M 496M 3% /run
tmpfs 509M 0 509M 0% /sys/fs/cgroup
tmpfs 509M 29k 509M 1% /tmp
logs 5.3M 25k 5.3M 1% /var/log
rune-logs 5.3M 87k 5.2M 2% /var/log/runeaudio
/dev/mmcblk0p1 105M 19M 86M 18% /boot
//192.168.1.187/media/Music 990G 632G 358G 64% /mnt/MPD/NAS/Library


Wondering where the rest of the 16Gb has gone, given I resized the partition. Maybe I did this manually, not via the add-on, and got it wrong.

Thinking I might start again and rebuild the SD card.

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Addon] MPD Upgrade

Postby ianhaynes » 28 Oct 2017, 19:26

Having rebuilt an SD card with the 0.4b image I have been able to expand the partition (correctly this time) and install the MPD update.

The major plus of this is that Rune can now play the UK BBC 320k radio and other .m3u8 feeds.

The MPD update took over 30 minutes which was unexpected, so it might be worth having a warning to this effect.

Many thanks Rern for all the work you've done in providing the Add On facility and especially for the MPD update, which solves the long standing issue with Rune, the inability to play the hi-res BBC feeds.

Brilliant!

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 207
Joined: 04 Mar 2015, 12:51

Re: [Addon] MPD Upgrade

Postby R101 » 28 Oct 2017, 20:07

The first thing I tried after updating MPD was to see if it played the 320k feeds, and I was disappointed to find that it didn't. I have rebooted and tried it again but it still does not work. The same URLs are working in VLC.

The update did not take very long, although it notified completion and the upgrade icon is now greyed out.

Is there a safe way to run this upgrade again, or something I can check?
(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 7 guests