New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't see all rooms, only 2 #13
Comments
try to use lowercase letters in your server/client config. Read the the |
thks |
any chance you can provide a screenshot of your browser with the console window opened (can view it when right click then inspect), then refresh the page to allow the console to display the error Maybe it could come from space in your names thanks |
sure
here you go
… On 26 Feb 2018, at 16:52, Nicolas R. ***@***.***> wrote:
any chance you can provide a screenshot of your browser with the console window opened (can view it when right click then inspect), then refresh the page to allow the console to display the error
Maybe it could come from space in your names
thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#13 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Ai9ypMyf87Gw1VqjqtAPBuhKg7smSaOGks5tYtNEgaJpZM4SSfRu>.
|
@karba78 not sure to be able to view the screenshot |
Ok here the code
How do I send the screenshot so you see it
Sent from Mail for Windows 10
From: Nicolas R.
Sent: lundi 26 février 2018 16:58
To: atoomic/snapcast-volume-ui
Cc: karba78; Mention
Subject: Re: [atoomic/snapcast-volume-ui] can't see all rooms, only 2 (#13)
@karba78 not sure to be able to view the screenshot
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
!DOCTYPE html>
<html>
<head>
<title>Multiroom audio system</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="javascripts/jquery-1.9.0.min.js"></script>
<script src="javascripts/jquery.knob.min.js"></script>
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/font-style.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="apple-touch-icon" sizes="57x57" href="/images/ico/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/images/ico/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/ico/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/images/ico/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/images/ico/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/images/ico/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/ico/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/images/ico/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/images/ico/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/images/ico/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/ico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/images/ico/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/ico/favicon-16x16.png">
<link rel="manifest" href="/images/ico/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/images/ico/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="shortcut icon" href="/images/ico/favicon.ico">
<!-- Google Fonts call. Font Used Open Sans & Raleway -->
<link href="http://fonts.googleapis.com/css?family=Raleway:400,300" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
</head>
<body>
<script>
function setsound(room, level) {
jQuery.get('/api/setsound/'+encodeURIComponent(room)+'/'+level, function(data) {
console.log(data);
//$("#msg").html(data["text"]);
});
}
function set_all_rooms_to(level) {
console.log("All rooms to " + level);
$("#iroom1").val(level).trigger('change');
$("#iroom2").val(level).trigger('change');
}
</script>
<!-- http://anthonyterrien.com/knob/ -->
<!-- NAVIGATION MENU -->
<div class="navbar-nav navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/"><img src="images/ico/favicon-32x32.png" alt=""> Multiroom Audio</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#"><i class="icon-home icon-white"></i> Home</a></li>
<li><a href="#" onClick="set_all_rooms_to(0); false;"><i class="icon-folder-open icon-white"></i> Mute All Rooms</a></li>
<li><a href="#" onClick="set_all_rooms_to(50); false;"><i class="icon-folder-open icon-white"></i> All Rooms 050%</a></li>
<li><a href="#" onClick="set_all_rooms_to(100); false;"><i class="icon-folder-open icon-white"></i> All Rooms 100%</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<br>
<div class="container">
<!-- FIRST ROW OF BLOCKS -->
<div class="row">
<!-- DONUT CHART BLOCK -->
<div class="col-sm-3 col-lg-3">
<div class="dash-unit">
<dtitle>Client from 196b3013eed4d7e37aa0bc4d5a899054</dtitle>
<hr>
<div class="demo">
<input id="iroom1" class="room1" data-width="200" data-min="0" data-fgColor="#0C0" data-max="100" value="39">
</div>
<script>
$(".room1").knob({
'release' : function (v) {
console.log("room1 "+v);
setsound( "196b3013eed4d7e37aa0bc4d5a899054", v);
}
});
</script>
</div>
</div>
<!-- DONUT CHART BLOCK -->
<div class="col-sm-3 col-lg-3">
<div class="dash-unit">
<dtitle>portable Eth</dtitle>
<hr>
<div class="demo">
<input id="iroom2" class="room2" data-width="200" data-min="0" data-fgColor="#edb91e" data-max="100" value="48">
</div>
<script>
$(".room2").knob({
'release' : function (v) {
console.log("room2 "+v);
setsound( "b8:27:eb:e5:80:5e", v);
}
});
</script>
</div>
</div>
</div><!-- /row -->
</div> <!-- /container -->
<div id="footerwrap">
<footer class="clearfix"></footer>
<div class="container">
<div class="row">
<div class="col-sm-12 col-lg-12">
<p>Snapcast WebUI on <a href="https://github.com/atoomic/snapcast-volume-ui" target="_blank">github</a> by <a href="http://twitter.com/atoomic">@atoomic</a>
<br>using Blocks Theme from <a href="http://Alvarez.is">Alvarez.is</a>
<br><i>powered by <a href="http://perldancer.org/">Perl Dancer</a></p>
</div>
</div><!-- /row -->
</div><!-- /container -->
</div><!-- /footerwrap -->
<!-- Blocks Dashboard Theme - Crafted With Love - Copyright 2013 -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="javascripts/bootstrap.js"></script>
<script type="text/javascript" src="javascripts/lineandbars.js"></script>
</body>
</html>
|
on github you can attach files by dragging & topping them in the message |
Done 😊 thks for the tip
Sent from Mail for Windows 10
From: Nicolas R.
Sent: lundi 26 février 2018 18:02
To: atoomic/snapcast-volume-ui
Cc: karba78; Mention
Subject: Re: [atoomic/snapcast-volume-ui] can't see all rooms, only 2 (#13)
on github you can attach files by dragging & topping them in the message
or you can also click the "selecting them", just check the message at the bottom of the text area when you are typing new message
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Server config with lower caps now even in mac dress
|
ok any chance you can show me the debugging console from the browser? thanks |
sure |
Just noticed that your configuration file include several ignore rules, and two of them might be the one you are not viewing, no? |
nope they are the ignore from sample file |
ok I'm trying to get the output of your browser console.. you copy pasted the terminal output where the server is run |
that ? HTML1300: Navigation occurred. 2 CSS3121: The media query -ms-viewport has been deprecated. 5 HTML1508: Unmatched end tag. HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). SCRIPT5009: 'Highcharts' is not defined |
no not really, any chance you can run this perl script? just copy the following content to a file, like test.pl #!/usr/bin/env perl
my $snapserver = q{192.168.0.242}; # <== address of your snap cast server
my $port = 1705;
my $req = {'jsonrpc' => '2.0', 'method' => 'Server.GetStatus', 'id' => 1};
use JSON::XS;
use Net::Telnet;
use Data::Dumper;
my $json = JSON::XS->new->utf8->encode( $req );
$t = Net::Telnet->new(Timeout => 10, Prompt => "/\n/" );
$t->open(Host => $snapserver, Port => $port) or die;
#$t->login($username, $passwd);
my ($reply) = $t->cmd($json . "\r\n");
my $results = JSON::XS->new->utf8->decode( $reply );
print Dumper($results->{result}{clients}); |
hello thks not sure i am missing something here, see disappointing output below pi@pi2-snapcaslt-client-01:~ $ perl test.perl |
Hello
installed like a charm, but can not see all my 5 rooms just 2.
one with a configured name (CHAMBRE) and one with a random name (CLIENT FROM 196B3013EED4D7E37AA0BC4D5A899054)
see config section below
Any idea ? on what i am doing wrong
thks
The text was updated successfully, but these errors were encountered: