Comments (11)
WIth some minor troubles, I managed to make the snapcast client work on a Chromecast with Google TV. Here's how for anyone who's interested.
I first sideloaded the apk (found in the releases page):
adb connect <chromecast-IP>
adb install Snapcast_0.26.0.apk
The only problem after the installation is that the app won't show anywhere, not even in the full list of installed apps. But it is nevertheless installed, and can be launched with:
adb shell monkey -p de.badaix.snapcast -c android.intent.category.LAUNCHER 1
After this, everything works as expected, the app detects the server, and we just have to press the Play
button (a bit tricky with the remote, we first need to focus the button, but it's doable). Then Chromecast appears in the list of snapcat clients and plays audio (even simultaneously with other apps).
Finally, we can select three dots / Settings / Auto start Snapclient
. This way snapclient loads automatically on boot, and we never have to interact with the UI again (we can control the sound from any snapcast controller).
PS1. Of course, some proper support for Android TV would be hugely welcome. Since the main functionality is working, I guess it shouldn't be too hard.
PS2. Thanks for this awesome project!
from snapdroid.
please move this issue to snapdroid
from snapdroid.
Oops, thanks for moving this.
from snapdroid.
Works with sideloaded APK on Nvidia shield TV!
from snapdroid.
Works well on FireTV, sideloaded via adblink. Had to give an extra delay of 100ms on my Philips TV.
from snapdroid.
This doesn't seem to work for playing audio when side loaded on to a Google TV dongle (https://store.google.com/gb/product/chromecast_google_tv?hl=en-GB) however I can see the list of clients.
When I hit play I get a constantly appearing/disappearing/reappearing message at the bottom of the screen that reads:
"Error in socket shutdown: Transport endpoint is not connected"
from snapdroid.
On my Philips TV (model PUS8505/12) with Android 9 installing snapcast (version 0.26.0.0) via sideloading is possible and is working. To access the Snapcast application you need to install from Google play a "Sideload Launcher" app.
Anyway, there are some caveats:
- the navigation with remote control in the application is difficult (wasn't able to mute/unmute, set source, etc for displayed clients); No critical for me because I can use the snapcast web for this.
- accessing the start/stop and three dots button is counter intuitive - need to press 2x fast (at first press the tooltip is displayed); Again, there is a workaround - no problem for me.
- when the TV is put to stand-by (not power off, the server does not see this client as disconnected - no "onDisconnect: xxxxx-xxx" messages on snapserver log) the sound is stopped (normally, the TV is off) but when switch on the TV the client is displayed as started, unmuted but no sound is heard. You need to stop/start the client in order to get sound again. For me this is annoying and I would like to see this issue fixed.
from snapdroid.
First of.... a massive thanks for your work, entire house was running on snapcast a while back without a hitch in combination with Home Assistant. Unfortunately after the update of my Nvidia Shield to Android 11 the (Snapdroid) snapcast client became unavailable as an output source. The app is working and I can control other instances but no more sound on the surround system. Also purchased a new TV recently with Android TV (Android 11) as well. Same issue.
It would be awesome if we could use snapcast clients again on Android/Google TV again
from snapdroid.
I am also running snapdroid sideloaded on android TV. However I notice that when snapcast is playing the screensaver wont start. Have any of you noticed that? And any ideas on how to solve it?
from snapdroid.
My workarround as of now is to trigger screensaver through home assistant with an automation:
service: androidtv.adb_command
data:
command: adb shell am start -n "com.android.systemui/.Somnambulator"
target:
entity_id: media_player.android_tv
from snapdroid.
I have the project modified so it can be launched from android tv, I have to fix the banner and make it a pull request, most likely for tomorrow.
I know little about android development, we can go see the problems little by little.
from snapdroid.
Related Issues (20)
- Can connect with IP but not with hostname HOT 2
- android stream source
- Audio Drops on Android Clients HOT 1
- Change play/stop icons
- Modern Redesign of the App
- compile snapcast server HOT 7
- App has disappeared from the Play store HOT 5
- Snapdroid does not play any audio HOT 4
- Add option to show ID instead of HOST Field in Stream Overview
- [Feature request] Basic Buttons to control an MPD server /next, play, back/ -
- Build Snapdroid in Windows 10 HOT 2
- Allow HTTP connections
- Start/ Stop client with ADB HOT 1
- Android: Snapdroid thin client HOT 1
- Snapclient.so not found HOT 1
- "error: Connection refused" HOT 2
- No sound on android client
- Snapdroid clients disconnect after ~12 hours on recent Android versions HOT 1
- Run client without RPC support
- description for how to use the GUI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapdroid.