[Addon] MPD Upgrade

Raspberry Pi related support

Re: [Addon] MPD Upgrade

Postby rlsten » 21 Jul 2018, 22:50

If I've already updated mpd and switched to Chromium, can I switch back to Midori? Is there any benefit to doing so?

Thanks!
rlsten
 
Posts: 103
Joined: 25 May 2015, 18:06

Re: [Addon] MPD Upgrade

Postby rern » 22 Jul 2018, 05:54

rlsten wrote:If I've already updated mpd and switched to Chromium, can I switch back to Midori? Is there any benefit to doing so?
!

Yes, you can.
Once you have, please share which one you prefer.

(Edited: no need to uninstall Chromium before upgrading.)
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 338
Joined: 14 Jul 2016, 08:15

Re: [Addon] MPD Upgrade

Postby rlsten » 23 Jul 2018, 00:39

rern wrote:
rlsten wrote:If I've already updated mpd and switched to Chromium, can I switch back to Midori? Is there any benefit to doing so?
!

Yes, you can.
Once you have, please share which one you prefer.


Hi rern,

I did the upgrade to Midori, but it didn't work on my screen (Adafruit 2.8" Capacitive). I tried it by uninstalling Chromium and then upgrading to Midori, but on the screen the GUI never initialized--it hung on "Started Music Player Daemon." I reinstalled Chromium and it was back to normal.

The Adafruit screen seems to be sensitive to changes in Xorg and the fbdev drivers--maybe the Midori upgrade changed something that related to those files which made it incompatible with the Adafruit screen.

In any event, the addons keep getting better and better. Thanks very much!

My only concern is probably unique to me--the touch on the Adafruit screen never turns off, even if the screen image does blank out. That means that any inadvertent touch to the screen can activate something I don't want activated.

To get around this pre-UI enhancements, I modified runeui.js to remove virtually all touch responsive points on the Play screen. But what I would really like is to use the enhanced user interface, but have some way to press a GPIO button that could disable all input responsiveness in Rune, at least on one page, and then either repress the button to re-enable touch responsiveness or have a second button to do that. But I haven't figured out how to do that.
rlsten
 
Posts: 103
Joined: 25 May 2015, 18:06

Re: [Addon] MPD Upgrade

Postby rern » 27 Jul 2018, 05:47

@rlsten,

I've just tested Midori Upgrade again. It turns out the high CPU load was fixed by RuneUI Enhancement somehow but only while stop. Once started playing, the CPU load went constantly as high as 250+% by WebkitWebProcess.

So it's still no for Midori Upgrade.

rern
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 338
Joined: 14 Jul 2016, 08:15

Re: [Addon] MPD Upgrade

Postby flytiger » 25 Aug 2018, 13:57

runeaudio 0.4 upgrade mpd failed
upgrade from addons

debug info

MPD audio outputs status: (mpc outputs)
--------------------------------------------------
Output 1 (bcm2835 ALSA_2) is disabled
Output 2 (bcm2835 ALSA_1) is enabled

MPD statistics: (mpc stats)
--------------------------------------------------
Artists: 0
Albums: 0
Songs: 0

Play Time: 0 days, 0:00:00
Uptime: 0 days, 0:00:05
DB Updated: Sat Feb 25 23:14:18 2017
DB Play Time: 0 days, 0:00:00

###### mpd version ######
Music Player Daemon 0.19.19-dsd
flytiger
 
Posts: 1
Joined: 25 Aug 2018, 13:53

Re: [Addon] MPD Upgrade

Postby rern » 30 Aug 2018, 13:18

MPD 0.20.21

flytiger wrote:runeaudio 0.4 upgrade mpd failed
upgrade from addons
...

MPD has just moved to 0.20.21 on 20180818 which breaks MPD Upgrade addon.
The addon has been updated to work with this version.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 338
Joined: 14 Jul 2016, 08:15

Re: [Addon] MPD Upgrade

Postby rern » 13 Feb 2019, 12:51

(Taken from RuneUI Enhancement thread)
rern wrote:
R101 wrote:Sorry, but I am not sure what your reply means.

I used your MPD upgrade addon to update 0.4b to v0.20.11, and this got the m3u8 feeds working. I have stayed on Rune 0.4b because these feeds still do not work with v0.5, which has a later version of MPD.

It seems likely that the 0.5 problem is with the way MPD uses ffmpeg rather than MPD itself, so I would be happy to upgrade 0.4b to 0.21.4 if you can tell me how, or can re-enable the addon.

Be prepared to reflash the card if it failed.
Re-enable Upgrade button:
Code: Select all
redis-cli hdel addons mpdu


rern

R101 wrote:Hi rern,

The upgrade fails with 2 errors I can see:

Code: Select all
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)'),)': /simple/flask/
  Could not find a version that satisfies the requirement flask (from versions: )
No matching distribution found for flask


but doing
Code: Select all
chmod 755 /usr/lib/systemd/system/
before starting the upgrade got rid of the second error.

You can try pacman -Sy mpd manually. But I think it's less painful to install from default version which means you have to reflash again. I've just done my upgrade again and it went smoothly.

rern
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 338
Joined: 14 Jul 2016, 08:15

Re: [Addon] MPD Upgrade

Postby R101 » 13 Feb 2019, 14:29

Hi rern,

I tried it twice, the second time with the permissions changed. I had to reflash before the second try.

I am not sure why I am doing this, though. Will the MPD rescan work after an upgrade? It does not seem to cause a problem as it is, and 0.5 does not rescan for me either.
(Pi 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 193
Joined: 29 Apr 2016, 16:16

support RuneAudio Donate with PayPal

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest