[Addon] RuneUI Enhancement

Raspberry Pi related support

Re: [Addon] RuneUI Enhancement

Postby Toube » 24 Jan 2019, 07:36

So far so good.
I agree with Andy on having the back arrow on the left side at least when using a bigger screen it's easier to navigate. On small screen probably not so much difference.

Navigation now works and I can access the Library as with last version I couldn't.
Questions:

.cue files are opening playlists automatically I assume?
some folders are not opening.. just the logo loading showing.. with normal UI they work?

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

Re: [Addon] RuneUI Enhancement

Postby R101 » 24 Jan 2019, 11:42

Please explain the "just change stations without doing it twice" thing.


If I select a station from the webradio list and use replace/play to add it to the playlist, info will not scroll.

If I go back to the webradio list and select the same station again using replace/play, the info on the playback page will scroll.

If I tilt the tablet 90 deg, the scrolling stops until I select the station again.

I think these problems started after the "tap once to add/play" feature. If I use tap once to switch stations a few times, the playlist becomes a mess, and the metadata info is replaced with the station name, so I do not use this feature.
(Pi 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 201
Joined: 29 Apr 2016, 16:16

Re: [Addon] RuneUI Enhancement

Postby AndyF » 26 Jan 2019, 08:09

Hi R101,

I have modified my "dirty hack" - it should be less dirty now ;-)

Code: Select all
function addReplace( mode, command, title ) {
   if ( mode === 'wr' ) {
      GUI.local = 1;
      setTimeout( function() { GUI.local = 0 }, 500 );
      if (command[command.length-1].indexOf( "play" ) !== -1 ) {
         GUI.status.state='play';
         setButton();
      }
   }
   $.post( 'enhance.php', { mpc: command }, function() {
      getPlaybackStatus();
   } );
   new PNotify( {
        title : title
      , text  : GUI.list.name
   } );
}

This simple code checks, if command-array contains "play". If there´s a play command, state would be set to 'play' and 'setButton' forces a button-refresh. Works on my setup.

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

Re: [Addon] RuneUI Enhancement

Postby R101 » 26 Jan 2019, 12:58

Hi AndyF,

I have pasted your code in, (monkey see, monkey do - I have no idea how it works) but it does not affect the scrolling info problem I have.
(Pi 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 201
Joined: 29 Apr 2016, 16:16

Re: [Addon] RuneUI Enhancement

Postby AndyF » 26 Jan 2019, 16:11

Hi R101,

my code don´t do anything with scrolling info - the only use is to refresh top playback buttons in library-tab on add/play a webradio-station. First "dirty hack" sometimes did a double refresh.

I looked into the code - scroll-mode don´t change if you resize your window or rotate your tablet. Sometimes it takes a long time until first infos are displayed. But at the moment I don´t know why.

Edit: It seems, Chrome on Android reloads the page if you rotate your tablet. So scrollmode changes on my system without problems.



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

Re: [Addon] RuneUI Enhancement

Postby R101 » 28 Jan 2019, 17:09

Hi rern,

Info scrolling works for me on a local 7" Pi touchscreen, and on a laptop, but not on a 7" tablet.
(Pi 3, Ver. 0.4b build 20170229, JLS I2S over USB)
R101
 
Posts: 201
Joined: 29 Apr 2016, 16:16

Update 20190206

Postby rern » 06 Feb 2019, 13:12

Update 20190206

Fix Playback text scrolling on some devices
Fix text scrolling delay
Fix metadata refresh on add/replace + play
Fix search box display
Improve Playlist elapsed time display
Add tap swipe bar > drop down menu
Disable AAC/ALAC support for faster Library update(re-enable in MPD > FFmpeg setting)

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

Re: Update 20190206

Postby Toube » 06 Feb 2019, 13:16

rern wrote:Update 20190206

Fix Playback text scrolling on some devices
Fix text scrolling delay
Fix metadata refresh on add/replace + play
Fix search box display
Improve Playlist elapsed time display
Add tap swipe bar > drop down menu
Disable AAC/ALAC support for faster Library update(re-enable in MPD > FFmpeg setting)

rern

Hi Rern,

thanks for fast developing.
I will try it out.
Btw was there anything done for the folder problem.. or maybe I was the only one with the problem..
"some folders are not opening.. just the logo loading showing.. with normal UI they work?"

Regards,
Toube
Toube
 
Posts: 106
Joined: 10 Oct 2018, 08:10

Re: [Addon] RuneUI Enhancement

Postby AndyF » 07 Feb 2019, 19:16

Hi rern,

thanks for your update. It works fine so far.
One issue exists on Sources/NFS-mount: The "Advanced mount options" button has no effect. Original 0.5b-version works as expected.

EDIT: Problem is only on existing NFS-mounts. If you create a new mount, all work as expected. So no big problem.

Some GUI related things - Automatic swipe to playback-tab on add/replace-play should be optional. I don't like this on songs (because I'm a zapper), but for webradio it's cool. MP3s with some missing tags produce mixed metadata with previous song.

Regards, Andy
Last edited by AndyF on 08 Feb 2019, 16:40, edited 1 time in total.
AndyF
 
Posts: 76
Joined: 02 Aug 2015, 07:36
Location: Germany - Bavaria

Re: [Addon] RuneUI Enhancement

Postby s.k. » 07 Feb 2019, 19:17

Hi
There is an initial delay when you first open the RuneUIe20190206, from explorer and from the android app.
Is that normal ?

Regards
Stavros

(It isn’t a communication problem because the /dev page opens instantly)
s.k.
 
Posts: 67
Joined: 04 Jan 2017, 08:38

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: cmh714, Google [Bot] and 0 guests