[Addon] RuneUI Enhancement

Raspberry Pi related support

Re: [Addon] RuneUI Enhancement

Postby rern » 18 Jan 2019, 01:57

AndyF wrote:...
But since this update coverart don't work at all (i have no additional graphics in music folder - only some embedded pictures in mp3s). Only VU for webradio works - on mp3s theres only "runeaudio" default-picture visible.
...

Try this for me:
Code: Select all
. /srv/http/addonsedit.sh
alias=fix
file=/srv/http/enhancestatus.php

comment -n -5 'do {' -n -1 'do {'

string=$( cat <<'EOF'
if ( empty( $status[ 'Artist' ] ) ) {
   $status[ 'coverart' ] = '';
} else if ( $status[ 'ext' ] !== 'radio' && $activePlayer === 'MPD' ) {
EOF
)
insert 'do {'


rern
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] RuneUI Enhancement

Postby AndyF » 18 Jan 2019, 06:20

Hi rern,

this patch works! Coverart is back again.
Thanks a lot!

Bug with no-refresh on same album remains.

Regards, Andy
AndyF
 
Posts: 151
Joined: 02 Aug 2015, 07:36
Location: Germany - Bavaria

Re: [Addon] RuneUI Enhancement

Postby AndyF » 19 Jan 2019, 12:04

Hi rern,

I've modded line 415 in enhancefunction.js like
Code: Select all
 if ( status.Title !==previoussong || status.Album !== previousalbum || !status.Album ) {


This seems to fix my no-refresh-problem with coverart on same album.

regards,

Andy
AndyF
 
Posts: 151
Joined: 02 Aug 2015, 07:36
Location: Germany - Bavaria

Re: [Addon] RuneUI Enhancement

Postby AndyF » 19 Jan 2019, 18:40

Hi rern,

I've found out, how to get back-button on the left side ;)
Screenshot_20190119-175541.png
Screenshot_20190119-175541.png (40.46 KiB) Viewed 752 times

It looks nice and I think it's a better handling. What do you think about it?

Regards,
Andy
AndyF
 
Posts: 151
Joined: 02 Aug 2015, 07:36
Location: Germany - Bavaria

Re: [Addon] RuneUI Enhancement

Postby Toube » 19 Jan 2019, 19:04

Hi Andy,

Great work mate!

-Toube
Toube
 
Posts: 131
Joined: 10 Oct 2018, 08:10

Re: [Addon] RuneUI Enhancement

Postby evilcurt » 19 Jan 2019, 22:35

Hello,
I am completely new to this stuff so please explain like I'm 5.
I just built a boom box with a raspberry pi and I installed Rune with this addon and now the album art is not displaying.
Can someone point me in the right direction.
Image

Thank you
Curt
evilcurt
 
Posts: 5
Joined: 19 Jan 2019, 22:24

Re: [Addon] RuneUI Enhancement

Postby AndyF » 20 Jan 2019, 07:31

Hi evikurt,

this is a known bug in latest build from UIenhanced. See here:
rern wrote:
AndyF wrote:...
But since this update coverart don't work at all (i have no additional graphics in music folder - only some embedded pictures in mp3s). Only VU for webradio works - on mp3s theres only "runeaudio" default-picture visible.
...

Try this for me:
Code: Select all
. /srv/http/addonsedit.sh
alias=fix
file=/srv/http/enhancestatus.php

comment -n -5 'do {' -n -1 'do {'

string=$( cat <<'EOF'
if ( empty( $status[ 'Artist' ] ) ) {
   $status[ 'coverart' ] = '';
} else if ( $status[ 'ext' ] !== 'radio' && $activePlayer === 'MPD' ) {
EOF
)
insert 'do {'


rern


To fix this, you have to connect via ssh as root to runeaudio and paste this code into the terminal.

regards, Andy
AndyF
 
Posts: 151
Joined: 02 Aug 2015, 07:36
Location: Germany - Bavaria

Re: [Addon] RuneUI Enhancement

Postby AndyF » 20 Jan 2019, 08:42

@rern

Hi rern,

my last problem (playback-control-button don´t refresh by add+play a webradio) has something to do with "GUI.local=1" and following settimeout (I think getPlaybackStatus is leaving without results).
If I change function "addReplace" in enhancecontext.js to

Code: Select all
function addReplace( mode, command, title ) {
         if ( mode === 'wr' ) {
                 //GUI.local = 1;
                 //setTimeout( function() { GUI.local = 0 }, 500 );

         }
         $.post( 'enhance.php', { mpc: command }, function() {
                 getPlaybackStatus();
         } );
         new PNotify( {
                   title : title
                 , text  : GUI.list.name
         } );

 }

refresh works at once. I don´t know why webradio has some special mode/code to suppress status-refresh. So my "mod" could be crap...

regards, Andy
AndyF
 
Posts: 151
Joined: 02 Aug 2015, 07:36
Location: Germany - Bavaria

Re: [Addon] RuneUI Enhancement

Postby evilcurt » 20 Jan 2019, 15:44

Thanks Andy,
I tried a few things last night and now it does not see the USB mounts.
I am becoming discouraged, I may clear the whole SD card and start from scratch.
Having larger album art is important to me.
What I want is simple, I just don't know how to achieve it.
Image
Thank you
evilcurt
 
Posts: 5
Joined: 19 Jan 2019, 22:24

Re: [Addon] RuneUI Enhancement

Postby AndyF » 20 Jan 2019, 20:30

Hi rern,

another small thing:

Tracks with untagged album name show previous albumname in playback-tab.

I modded enhancestatus.php (after //no id3 tag):
Code: Select all
if ( empty( $status[ 'Title' ]) ||  empty( $status[ 'Album' ]) ) {


Seems to work ...

regards, Andy
AndyF
 
Posts: 151
Joined: 02 Aug 2015, 07:36
Location: Germany - Bavaria

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 10 guests