Renames SnapCast => Snapcast

This commit is contained in:
badaix 2016-01-23 16:30:55 +01:00
parent 02ef300735
commit 1d1ef239b2

View file

@ -141,7 +141,7 @@ public class MainActivity extends AppCompatActivity implements ClientInfoItem.Cl
//noinspection SimplifiableIfStatement //noinspection SimplifiableIfStatement
if (id == R.id.action_scan) { if (id == R.id.action_scan) {
// NsdHelper.getInstance(this).startListening("*._tcp.", "SnapCast", this); // NsdHelper.getInstance(this).startListening("*._tcp.", "SnapCast", this);
NsdHelper.getInstance(this).startListening("_snapcast._tcp.", "SnapCast", this); NsdHelper.getInstance(this).startListening("_snapcast._tcp.", "Snapcast", this);
return true; return true;
} else if (id == R.id.action_play_stop) { } else if (id == R.id.action_play_stop) {
if (bound && snapclientService.isRunning()) { if (bound && snapclientService.isRunning()) {
@ -219,7 +219,7 @@ public class MainActivity extends AppCompatActivity implements ClientInfoItem.Cl
public void onStart() { public void onStart() {
super.onStart(); super.onStart();
NsdHelper.getInstance(this).startListening("_snapcast._tcp.", "SnapCast", this); NsdHelper.getInstance(this).startListening("_snapcast._tcp.", "Snapcast", this);
Intent intent = new Intent(this, SnapclientService.class); Intent intent = new Intent(this, SnapclientService.class);
bindService(intent, mConnection, Context.BIND_AUTO_CREATE); bindService(intent, mConnection, Context.BIND_AUTO_CREATE);