[Addon] RuneUI Enhancement

Raspberry Pi related support

[Addon] RuneUI Enhancement

Postby rern » 29 Nov 2016, 09:22

(Update 20190117)
Tested on RPi3
for RuneAudio 0.4, 0.5

Image

View code - GitHub

Features
Responsive and customizable layout
    Selectable show/hide items
    Swipe left/right to switch between main pages when top-bottom bars hidden
    Selectable autohide top-bottom bars on small screen
    Show status icons in Time knob when buttons hidden
    Pause button
    Drag to rearrange Library home items

Redesign
    Icons
    Time and Volume knobs
    Cover art
    Default cover art
    Buttons

Install:
from Addons Menu

Playback

    Coverart / Time knob as playback controls
      Coverart as playback controls when top-bottom bars / buttons hidden
      Time knob as playback controls when both top-bottom bars and Coverart hidden
      Show overlay guides by tapping center-top of Coverart / Time
    Artist
      Improved artists' bio
      Show similar artists with images and linked
    Song info
      Show sampling info while stop
      Working previous / next while stop
      Get sampling info directly with MPD on play
      Get sampling info from local database while stop (must be played once before available)
      Show song title in gray while pause
      Clear webradio song title while stop
      Scroll long info text
    Time
      Get duration on stop with MPD protocol
      Show only duration while stop or blank in webradio
      Selectable blinking dots or elapsed time in webradio
      Start time within song can be set while stop
      Show elapsed in gray while pause
      Show elapsed and duration with song info while hidden
    Coverart
      Set Large Cover art to scale up with page width (except webradio vu meter)
      Toggle scaling temporarily by tapping top-left corner (Restored on song changed / refreshed)
      Get local files first (easiest to manage and can be used to overide the embedded ID3)
      Extract from ID3tag if local files not available (used for songs from various albums in the same directory)
      Get from last.fm if not locally available
      Cover art use case in a directory:
        No embedded ID3 cover art
        Single artist + single album : place 1 cover art file in the directory
        Various : add each embedded ID3 cover art
        Various in a playlist : with cover art files in each directory, no need of embedding
        With embedded ID3 cover art
        Single artist + single album : override embedded ones by placing 1 cover art file in the directory
        Various : existing embedded ones
      Show VU meter in webradio - animated while play
    Volume
      Show pre-mute level instead of 0 on mute
      Maintain pre-mute level across page refresh and clients
    Buttons
      Show as icon in Time knob while hidden


Image

Library
    Selectable show/hide items
    Show counts
    Drag to rearrange home blocks (except bookmarks)
    Bookmarks and webradios can be renamed
    Bookmarks and webradios can be named with " characters
    Scroll long bookmark names
    Changes reflect to all clients
    Show icon and breadcrumb heading while browsing
    Improved Back button
    Toggle search box
    Show index bar
    Maintain scroll position
    Improved sorting and exclude leading A, An, The
    Modes
      Albums > names > songs
      Albums with duplicate name > album-artist > songs
      Artists > names > albums > songs
      Album Artists > names > albums > songs
      Composers > names > albums > songs
      Genres > names > artists > albums > songs
    Show album heading with artist name
    Show cover art in target directories / albums
    Show content of *.cue files like normal directories
    Items from *.cue files can be add individually

Image

Playlist
    Toggle search box
    Auto scroll to top with 3 previous songs
    Show elapsed time while play/pause
    Show saved webradio names
    Unsaved webradios can be saved (white icons)
    Tap to play/pause
    Tap elapsed or time to stop
    Improve drag to rearrange
    Show track numbers
    Show webradio name
    Crop button to keep only current playing song
    Saved playlists can be named with " characters
    Saved playlists can be renamed
    Each saved playlist can be viewed
    Maintain scroll position
    Changes reflects to all clients
Last edited by rern on 17 Jan 2019, 13:53, edited 69 times in total.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 288
Joined: 14 Jul 2016, 08:15

Re: RuneUI Enhancement

Postby dror » 29 Nov 2016, 15:43

wow very nice indeed. thanks for sharing.
dror
 
Posts: 116
Joined: 03 Dec 2015, 10:14

Re: RuneUI Enhancement

Postby ACX » 29 Nov 2016, 16:09

Hi rern,
nice job on some features, by the way I already introduced some of them in the new version of the system we're working on (version 2.0). Would you be interested in helping us on its development? are you familiar with collaboration on GitHub? :)
User avatar
ACX
RuneAudio co-founder
 
Posts: 1667
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: RuneUI Enhancement

Postby ACX » 29 Nov 2016, 18:35

Btw, the second lyrics provider you are using doesn't seem to have very reliable API responses... Testing a silly query with "Queens Of The Stoneage" as artist and "Stairway to heaven" as title, you get this :shock:
http://api.chartlyrics.com/apiv1.asmx/S ... o%20Heaven
User avatar
ACX
RuneAudio co-founder
 
Posts: 1667
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: RuneUI Enhancement

Postby rern » 01 Dec 2016, 05:53

ACX wrote:Hi rern,
nice job on some features, by the way I already introduced some of them in the new version of the system we're working on (version 2.0). Would you be interested in helping us on its development? are you familiar with collaboration on GitHub? :)

Hi ACX,
Yes, I'd be interested.
I just have started doing some basic clone, commit, push, pull recently. Never joined a GitHub collaboration but I'll try not to ruin anything. :)
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 288
Joined: 14 Jul 2016, 08:15

Re: RuneUI Enhancement

Postby ianhaynes » 02 Dec 2016, 17:57

Thanks for sharing this. The enhancements look excellent. However I've tried installing them but get an error:

Fatal error: Call to undefined function is_localhost() in /srv/http/app/templates/header.php on line 17

Is there another file that needs including?
Pi 2, Ver. 0.4b build 20170229, IQAudio DAC+
ianhaynes
 
Posts: 203
Joined: 04 Mar 2015, 12:51

Re: RuneUI Enhancement

Postby rern » 03 Dec 2016, 01:39

function is_localhost() is the 1st one, in /srv/http/app/libs/runeaudio.php, that already defined. I've seen some error of this kind myself.

clear OPcache > clear browser cache > refresh should fix it.
Raspberry Pi 3 > SMSL M8 DAC
GitHub
rern
 
Posts: 288
Joined: 14 Jul 2016, 08:15

Re: RuneUI Enhancement

Postby ianhaynes » 04 Dec 2016, 18:19

No, refreshing the output cache doesn't fix it. I still get the error about the missing function.

Any other thoughts?

PS: I've just checked runeaudio.php and there is no function is_localhost there ??
Pi 2, Ver. 0.4b build 20170229, IQAudio DAC+
ianhaynes
 
Posts: 203
Joined: 04 Mar 2015, 12:51

Re: RuneUI Enhancement

Postby hondagx35 » 04 Dec 2016, 19:33

Hi ianhaynes,

you have either a RP1 or your image is not up to date.
The function is_localhost() was added Nov 5, 2015 when we introduced the local browser feature.
https://github.com/RuneAudio/RuneUI/com ... 869dd17a2c

Frank
User avatar
hondagx35
 
Posts: 3016
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RuneUI Enhancement

Postby ianhaynes » 04 Dec 2016, 20:21

I'm running on RP2 and the 0.4-beta image and settings show kernel 3.18.7-3
Pi 2, Ver. 0.4b build 20170229, IQAudio DAC+
ianhaynes
 
Posts: 203
Joined: 04 Mar 2015, 12:51

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: Bing [Bot] and 2 guests