Comments (3)
I came across this issue tracker while googling how to control snapdroid via tasker.
@Chreece you need to download a newer version of snapdroid. I'm not sure if this made it into v0.25.0.0 but I did successfully use it with my OnePlus 7pro. I already had disabled battery optimization and it worked when it was already closed. Though the play / stop icon in app did not update.
This was on v0.26.0.0 which I got from the actions artifacts. https://github.com/badaix/snapdroid/suites/5195143335/artifacts/158372819
I'm not sure why the Google play store version is still at v0.24.0.0.
from snapdroid.
Hi! if the above PR gets merged in, you should be able to use that to achieve what you're asking for :)
When adding the intent in Tasker (System -> Send Intent), use these settings:
Start:
- Action:
ACTION_START
- Extra:
EXTRA_HOST:ip_here
- Extra:
EXTRA_PORT:1704
- Package:
de.badaix.snapcast
- Class:
de.badaix.snapcast.SnapclientService
- Target:
Service
Stop:
- Action:
ACTION_STOP
- Package:
de.badaix.snapcast
- Class:
de.badaix.snapcast.SnapclientService
- Target:
Service
On some phones (my OnePlus3 is one of them) this might still not work unless the snapcast app is already running in the background. That means that something is blocking it from starting by itself (depending on what phone you have it could be some stock app). In my case the solution was to go into the phone's battery settings and disabling optimization for Snapcast ("don't optimize").
from snapdroid.
V. 0.24.0.0 Snapdroid
Android 12
Samsung Flip3
Neither of the actions work
Tried also disabling battery optimizations and with the app running in background.
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.