Search found 28 matches

by Ghlave
09 Jul 2014 03:43
Forum: General
Topic: Flow order of execution
Replies: 6
Views: 18147

Re: Flow order of execution

Well, so far your logic seems rock solid. I haven't had it goof up yet. Thanks for lending some clarity!
by Ghlave
08 Jul 2014 03:52
Forum: General
Topic: Flow order of execution
Replies: 6
Views: 18147

Re: Flow order of execution

That is somewhat what I'm attempting, but let me clarify it. When I'm playing music on my device and the headphones become unplugged, the music stops playing. When I plug my headphones in, I'd like it to begin playing again, but only if it was playing before. Basically a resume playing when headphon...
by Ghlave
07 Jul 2014 15:39
Forum: General
Topic: Flow order of execution
Replies: 6
Views: 18147

Re: Flow order of execution

I don't think I could do that in the context of what I'm doing. Would there be a way I could have something that checks the constant state of music playing while headphones are plugged in and stores that result in a variable? All my efforts so far to do this have resulted in the android os stopping ...
by Ghlave
06 Jul 2014 22:52
Forum: General
Topic: Flow order of execution
Replies: 6
Views: 18147

Flow order of execution

Do flows have an order of execution? I have a flow that detects when the music playing state has changed, and sets a variable to true if it is. When headphones are plugged in, a flow evaluates the variable to see if it was true, and resumes music if so. The problem I'm having is that if I unplug the...
by Ghlave
11 Mar 2014 15:11
Forum: User Help / Bug Reports
Topic: Sleep or wait function without pausing flow?
Replies: 1
Views: 6185

Sleep or wait function without pausing flow?

I've got a flow that has two branches, one of which only executes if a condition is met. That branch has a sleep in it that pauses the whole flow (both branches) and I'd rather it didn't do that. Is there a function that will just wait a duration instead of pausing the entire flow? Specifically, I'm...
by Ghlave
12 Jan 2014 14:50
Forum: User Help / Bug Reports
Topic: Pause music and store app as a variable?
Replies: 1
Views: 6638

Re: Pause music and store app as a variable?

Just wanted to follow up for those interested. I was unable to solve this solely inside of automagic, however I did find a plugin called Media Utilities that allows a smart pause and smart play which does its best to determine what app is/was playing and pause/play it accordingly. This has worked PE...
by Ghlave
12 Jan 2014 00:07
Forum: User Help / Bug Reports
Topic: Pause music and store app as a variable?
Replies: 1
Views: 6638

Pause music and store app as a variable?

I've got a flow set up so that if music is playing, it stores a variable saying so, and then pauses it. A second flow will see if that variable is true and then simulate a press play to resume playing music later. This works perfectly fine so I can start and stop music if I'm listening but only if I...
by Ghlave
06 Aug 2013 18:13
Forum: User Help / Bug Reports
Topic: Storing a variable with app that has current audio focus?
Replies: 1
Views: 6989

Storing a variable with app that has current audio focus?

Is there some way to find out what app currently has audio focus and store it? I'm trying to set up my Nexus to resume playing when it gets a power source, but since Spotify, Google Play, Doggcatcher, all respond a bit differently to media keys, I need to know which one was previously playing.