Page 1 of 2
Music level 0
Posted: 16 Mar 2014 08:57
by Ankit
Hi
I have made an profiler with different modes and exception.
http://automagic4android.com/flow.php?i ... 67798d8463
I am facing some problem.
It dont turns the music level to 0. Rather it turns the music level to 12 in all the modes.
I am facing this problem from few days only. Earlier it was working fine.
I have not made any change...
Please help ..........
Re: Music level 0
Posted: 16 Mar 2014 11:35
by Martin
Hi,
It's quite difficult to understand what might be going on in such a big flow.
What trigger are you using when it turns the volume to 12, the shortcut trigger?
Could you please post the log after the flow was executed so we can see the branch that was executed and the outcome of the different conditions?
Are other flows active that might get triggered that turn the volume to 12 or is this the only flow that changes the music volume?
Regards,
Martin
Re: Music level 0
Posted: 16 Mar 2014 12:41
by Ankit
Hi martin
This is the only flow in which music level is 12.
No other flow works with music level...
Re: Music level 0
Posted: 16 Mar 2014 12:43
by Ankit
In both trigger
Shortcut and time everyday 10:00 pm
I am facing same problem.
Re: Music level 0
Posted: 16 Mar 2014 12:48
by Ankit
Night mode log
16.03.2014 18:15:43.748 [Profiler] End executing action 'Input Dialog: Choose your desired profile... Single Choice Normal,Vibrate,Tution,Night,Silent (6s)'
16.03.2014 18:15:43.801 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.804 [Profiler] Start executing condition 'Expression: value != "" AND operation == "ok"'
16.03.2014 18:15:43.850 [Profiler] End executing condition 'Expression: value != "" AND operation == "ok"' with return value true
16.03.2014 18:15:43.853 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.854 [Profiler] Start executing condition 'Expression: value == "Normal"'
16.03.2014 18:15:43.886 [Profiler] End executing condition 'Expression: value == "Normal"' with return value false
16.03.2014 18:15:43.894 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.895 [Profiler] Start executing condition 'Expression: value == "Vibrate"'
16.03.2014 18:15:43.901 [Profiler] End executing condition 'Expression: value == "Vibrate"' with return value false
16.03.2014 18:15:43.902 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.903 [Profiler] Start executing condition 'Expression: value == "Tution"'
16.03.2014 18:15:43.911 [Profiler] End executing condition 'Expression: value == "Tution"' with return value false
16.03.2014 18:15:43.912 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.913 [Profiler] Start executing condition 'Expression: value == "Silent"'
16.03.2014 18:15:43.924 [Profiler] End executing condition 'Expression: value == "Silent"' with return value false
16.03.2014 18:15:43.925 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.925 [Profiler] Start executing condition 'Expression: value == "Night"'
16.03.2014 18:15:43.931 [Profiler] End executing condition 'Expression: value == "Night"' with return value true
16.03.2014 18:15:43.932 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.932 [Profiler] Start executing action 'Set Ringer Mode: Silent'
16.03.2014 18:15:43.954 [Profiler] End executing action 'Set Ringer Mode: Silent'
16.03.2014 18:15:43.958 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.960 [Profiler] Start executing action 'Set Audio Stream Volume: Music to level 0'
16.03.2014 18:15:43.977 [Profiler] End executing action 'Set Audio Stream Volume: Music to level 0'
16.03.2014 18:15:43.978 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:43.983 [Profiler] Start executing action 'Set Audio Stream Volume: Alarm to level 3'
16.03.2014 18:15:43.995 [Profiler] End executing action 'Set Audio Stream Volume: Alarm to level 3'
16.03.2014 18:15:44.000 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:44.001 [Profiler] Start executing action 'Set Screen Brightness: 0'
16.03.2014 18:15:44.433 [Profiler] End executing action 'Set Screen Brightness: 0'
16.03.2014 18:15:44.463 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:44.464 [Profiler] Start executing action 'Notification on Screen: Night Mode Enabled'
16.03.2014 18:15:44.465 [Profiler] Action 'Notification on Screen: Night Mode Enabled' Showing toast text 'Night Mode Enabled'.
16.03.2014 18:15:44.475 [Profiler] End executing action 'Notification on Screen: Night Mode Enabled'
16.03.2014 18:15:44.508 [Profiler] Flow continues executing with the next step.
16.03.2014 18:15:44.510 [Profiler] Start executing action 'Script: global_mode="Night"'
16.03.2014 18:15:44.556 [Profiler] End executing action 'Script: global_mode="Night"'
16.03.2014 18:15:44.587 [Profiler] Flow ended.
Re: Music level 0
Posted: 16 Mar 2014 12:52
by Ankit
In silent mode
16.03.2014 18:20:13.079 [Profiler] Starting to execute flow 'Profiler' with Context{global{global_battery_level=66,global_mode=Night,global_screen=on,global_sidebar=off,global_tool=,global_last_screen_on_time=1394973964172,global_turnoffscreen=off,global_free_ram=161},local{flow_name=Profiler,trigger='Shortcut: Profiler',triggertime=1394974213068}}
16.03.2014 18:20:13.080 [Profiler] Start executing condition 'Expression: contains(trigger,"Shortcut")'
16.03.2014 18:20:13.086 [Profiler] Start executing condition 'Expression: contains(trigger,"Time: everyday 7:00am")'
16.03.2014 18:20:13.092 [Profiler] Start executing condition 'Expression: contains(trigger,"Time: everyday 10:00pm")'
16.03.2014 18:20:13.098 [Profiler] Start executing condition 'Expression: contains(trigger,"State: Ringing")'
16.03.2014 18:20:13.133 [Profiler] End executing condition 'Expression: contains(trigger,"Shortcut")' with return value true
16.03.2014 18:20:13.134 [Profiler] End executing condition 'Expression: contains(trigger,"Time: everyday 7:00am")' with return value false
16.03.2014 18:20:13.135 [Profiler] End executing condition 'Expression: contains(trigger,"Time: everyday 10:00pm")' with return value false
16.03.2014 18:20:13.136 [Profiler] End executing condition 'Expression: contains(trigger,"State: Ringing")' with return value false
16.03.2014 18:20:13.136 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:13.137 [Profiler] Start executing action 'Input Dialog: Choose your desired profile... Single Choice Normal,Vibrate,Tution,Night,Silent (6s)'
16.03.2014 18:20:13.138 [Profiler] Action 'Input Dialog: Choose your desired profile... Single Choice Normal,Vibrate,Tution,Night,Silent (6s)' uses the wrong format (format must match yyyy-MM-dd HH:mm), using current date/time
16.03.2014 18:20:13.139 [Profiler] Action 'Input Dialog: Choose your desired profile... Single Choice Normal,Vibrate,Tution,Night,Silent (6s)' uses the wrong format (format must match yyyy-MM-dd HH:mm), using current date/time
16.03.2014 18:20:17.139 [Profiler] End executing action 'Input Dialog: Choose your desired profile... Single Choice Normal,Vibrate,Tution,Night,Silent (6s)'
16.03.2014 18:20:17.193 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.194 [Profiler] Start executing condition 'Expression: value != "" AND operation == "ok"'
16.03.2014 18:20:17.237 [Profiler] End executing condition 'Expression: value != "" AND operation == "ok"' with return value true
16.03.2014 18:20:17.239 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.239 [Profiler] Start executing condition 'Expression: value == "Normal"'
16.03.2014 18:20:17.258 [Profiler] End executing condition 'Expression: value == "Normal"' with return value false
16.03.2014 18:20:17.259 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.260 [Profiler] Start executing condition 'Expression: value == "Vibrate"'
16.03.2014 18:20:17.277 [Profiler] End executing condition 'Expression: value == "Vibrate"' with return value false
16.03.2014 18:20:17.277 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.278 [Profiler] Start executing condition 'Expression: value == "Tution"'
16.03.2014 18:20:17.287 [Profiler] End executing condition 'Expression: value == "Tution"' with return value false
16.03.2014 18:20:17.288 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.288 [Profiler] Start executing condition 'Expression: value == "Silent"'
16.03.2014 18:20:17.296 [Profiler] End executing condition 'Expression: value == "Silent"' with return value true
16.03.2014 18:20:17.297 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.297 [Profiler] Start executing action 'Set Ringer Mode: Silent'
16.03.2014 18:20:17.298 [Profiler] End executing action 'Set Ringer Mode: Silent'
16.03.2014 18:20:17.299 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.299 [Profiler] Start executing action 'Set Audio Stream Volume: Music to level 0'
16.03.2014 18:20:17.313 [Profiler] End executing action 'Set Audio Stream Volume: Music to level 0'
16.03.2014 18:20:17.317 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.318 [Profiler] Start executing action 'Set Audio Stream Volume: Alarm to level 0'
16.03.2014 18:20:17.325 [Profiler] End executing action 'Set Audio Stream Volume: Alarm to level 0'
16.03.2014 18:20:17.326 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.326 [Profiler] Start executing action 'Set Screen Brightness: 140'
16.03.2014 18:20:17.358 [Profiler] End executing action 'Set Screen Brightness: 140'
16.03.2014 18:20:17.382 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.384 [Profiler] Start executing action 'Notification on Screen: Silent Mode Enabled'
16.03.2014 18:20:17.385 [Profiler] Action 'Notification on Screen: Silent Mode Enabled' Showing toast text 'Silent Mode Enabled'.
16.03.2014 18:20:17.404 [Profiler] End executing action 'Notification on Screen: Silent Mode Enabled'
16.03.2014 18:20:17.441 [Profiler] Flow continues executing with the next step.
16.03.2014 18:20:17.442 [Profiler] Start executing action 'Script: global_mode="Silent"'
16.03.2014 18:20:17.477 [Profiler] End executing action 'Script: global_mode="Silent"'
16.03.2014 18:20:17.497 [Profiler] Flow ended.
Re: Music level 0
Posted: 16 Mar 2014 12:54
by Ankit
Same problem in other modes also.
Re: Music level 0
Posted: 16 Mar 2014 12:54
by Ankit
Whatever the volume is it set to 12 in any mode.
Re: Music level 0
Posted: 17 Mar 2014 17:53
by Martin
The log looks OK to me. There's seems to be no action executed that changes the volume to 12.
Please edit the action 'Set Audio Stream Volume: Music to level 0' and check that the settings are correct (volume set to 0 and not 12) then enable option 'Show Volume Level Popup' and execute the action manually (menu->Execute).
Does the phone correctly change the volume?
Re: Music level 0
Posted: 17 Mar 2014 18:52
by Ankit
Hi martin
When i manually execute the music level action then it changes the volume to 0 but popup does not appear on volume level 0. It only comes on level 1 or above.
The settings are correct. I have again checked the whole flow.
If i keep only one mode and nothing else then also there is same problem.