Git Product home page Git Product logo

Comments (3)

StaleLoafOfBread avatar StaleLoafOfBread commented on July 27, 2024 1

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.

stijnvdb88 avatar stijnvdb88 commented on July 27, 2024

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.

Chreece avatar Chreece commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.