Feature Request: Player Name on UI home screen

Suggestions/requests/ideas for RuneAudio core features and functions

Feature Request: Player Name on UI home screen

Postby jcoman » 01 Apr 2016, 21:48

I wanted to suggest that there be a player name that is displayed on the UI home screen/header bar. I currently have 4 different pi's running Rune, and when I have the default UI up, there is no way to tell which player I'm talking to (I have the UI page added to homescreen from Chrome on Android, so none of the browser chrome (i.e., address bar) is visible).

I did manage to work around it by modifying one of the files (i think it was index.html/php, but it was a while ago) to put the player name in the upper left corner. However, it doesn't work very well on phone screens (or other screens that are too narrow) because it gets shoved behind the RuneAudio logo (I couldn't figure out how the style/CSS worked on that).

I think it might be useful for users to be able to modify that text from the settings menu (like where you set the player name), so that it's easy to tell which player you are currently talking to.
User avatar
jcoman
 
Posts: 10
Joined: 01 Apr 2016, 20:40
Location: Northern Colorado, US

Re: Feature Request: Player Name on UI home screen

Postby hondagx35 » 03 Apr 2016, 01:16

Hi jcoman,

thanks for the feature request.

As a workaround for now you can try this:
- change /srv/http/index.php
Code: Select all
...
// activePlayer
$activePlayer = $redis->get('activePlayer');

to
Code: Select all
...
// activePlayer
$activePlayer = $redis->get('activePlayer');
$template->hostname = $redis->get('hostname');


and /srv/http/app/templates/header.php
Code: Select all
-->
<div id="menu-top">
    <div class="dropdown">
      <a id="menu-settings" class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="#">MENU <i class="fa fa-bars dx"></i></a>

to
Code: Select all
-->
<div id="menu-top">
    <div class="dropdown">
      <a id="menu-settings" class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="#"><?=$this->hostname ?><i class="fa fa-bars dx"></i></a>


This will replace "MENU" by the players hostname.

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

Re: Feature Request: Player Name on UI home screen

Postby ACX » 09 Apr 2016, 01:44

Hi jcoman,
As you are using Android you could use the RuneAudio Remote Control for Android to easily switch between multiple players.
User avatar
ACX
RuneAudio co-founder
 
Posts: 1687
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Feature Request: Player Name on UI home screen

Postby jcoman » 09 Apr 2016, 02:52

Thanks ACX, I'll give that a try.

edit: I tried the Android Remote Control, and (after adding in the service as suggested in the install instructions) it worked perfectly. It still doesn't show the player name without pulling up the app's menu, so I'm going to try Frank's suggestion.

edit: I tried Frank's Idea, and it worked perfectly. I just put in the player name directly because it was different than the hostname that I use to identify the device on the network. Now the only thing that's missing is the lockscreen controls :mrgreen:

Thanks for all your hard work guys! #ThumbsUp!
User avatar
jcoman
 
Posts: 10
Joined: 01 Apr 2016, 20:40
Location: Northern Colorado, US

support RuneAudio Donate with PayPal


Return to Feature request

Who is online

Users browsing this forum: No registered users and 1 guest