Created
September 16, 2015 17:02
-
-
Save grantcodes/f10ccd305f4bd3dd0c6c to your computer and use it in GitHub Desktop.
A tasker profile to find a playlist and rise the volume on a random song
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TaskerData sr="" dvi="1" tv="4.7u3m"> | |
<Task sr="task7"> | |
<cdate>1442417787447</cdate> | |
<edate>1442422772371</edate> | |
<id>7</id> | |
<nme>Wakeup Alarm</nme> | |
<pri>100</pri> | |
<Action sr="act0" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%playlist_length</Str> | |
<Str sr="arg1" ve="3">28</Str> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
</Action> | |
<Action sr="act1" ve="7"> | |
<code>545</code> | |
<Str sr="arg0" ve="3">%random_track</Str> | |
<Int sr="arg1" val="0"/> | |
<Int sr="arg2"> | |
<var>%playlist_length</var> | |
</Int> | |
</Action> | |
<Action sr="act10" ve="7"> | |
<code>888</code> | |
<Str sr="arg0" ve="3">%count</Str> | |
<Int sr="arg1" val="1"/> | |
<Int sr="arg2" val="0"/> | |
</Action> | |
<Action sr="act11" ve="7"> | |
<code>135</code> | |
<Int sr="arg0" val="1"/> | |
<Int sr="arg1" val="1"/> | |
<Str sr="arg2" ve="3">skiptrack</Str> | |
</Action> | |
<Action sr="act12" ve="7"> | |
<code>38</code> | |
</Action> | |
<Action sr="act13" ve="7"> | |
<code>39</code> | |
<Str sr="arg0" ve="3">%vol</Str> | |
<Str sr="arg1" ve="3">1:10</Str> | |
</Action> | |
<Action sr="act14" ve="7"> | |
<code>307</code> | |
<Int sr="arg0"> | |
<var>%vol</var> | |
</Int> | |
<Int sr="arg1" val="0"/> | |
<Int sr="arg2" val="0"/> | |
</Action> | |
<Action sr="act15" ve="7"> | |
<code>30</code> | |
<Int sr="arg0" val="0"/> | |
<Int sr="arg1" val="8"/> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
<Int sr="arg4" val="0"/> | |
</Action> | |
<Action sr="act16" ve="7"> | |
<code>40</code> | |
</Action> | |
<Action sr="act2" ve="7"> | |
<code>548</code> | |
<Str sr="arg0" ve="3">%random_track</Str> | |
<Int sr="arg1" val="0"/> | |
</Action> | |
<Action sr="act3" ve="7"> | |
<code>307</code> | |
<Int sr="arg0" val="0"/> | |
<Int sr="arg1" val="0"/> | |
<Int sr="arg2" val="0"/> | |
</Action> | |
<Action sr="act4" ve="7"> | |
<code>877</code> | |
<Str sr="arg0" ve="3">android.media.action.MEDIA_PLAY_FROM_SEARCH</Str> | |
<Int sr="arg1" val="1"/> | |
<Str sr="arg2" ve="3"/> | |
<Str sr="arg3" ve="3"/> | |
<Str sr="arg4" ve="3">android.intent.extra.focus:vnd.android.cursor.item/playlist</Str> | |
<Str sr="arg5" ve="3">query:Wakeup</Str> | |
<Str sr="arg6" ve="3"/> | |
<Str sr="arg7" ve="3"/> | |
<Str sr="arg8" ve="3"/> | |
<Int sr="arg9" val="1"/> | |
</Action> | |
<Action sr="act5" ve="7"> | |
<code>30</code> | |
<Int sr="arg0" val="0"/> | |
<Int sr="arg1" val="3"/> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
<Int sr="arg4" val="0"/> | |
</Action> | |
<Action sr="act6" ve="7"> | |
<code>547</code> | |
<Str sr="arg0" ve="3">%count</Str> | |
<Str sr="arg1" ve="3">0</Str> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
</Action> | |
<Action sr="act7" ve="7"> | |
<code>37</code> | |
<label>skiptrack</label> | |
<ConditionList sr="if"> | |
<Condition sr="c0" ve="3"> | |
<lhs>%count</lhs> | |
<op>6</op> | |
<rhs>%random_track</rhs> | |
</Condition> | |
</ConditionList> | |
</Action> | |
<Action sr="act8" ve="7"> | |
<code>443</code> | |
<Int sr="arg0" val="0"/> | |
<Int sr="arg1" val="1"/> | |
<App sr="arg2"> | |
<appClass>com.android.music.activitymanagement.TopLevelActivity</appClass> | |
<appPkg>com.google.android.music</appPkg> | |
<label>Play Music</label> | |
</App> | |
</Action> | |
<Action sr="act9" ve="7"> | |
<code>30</code> | |
<Int sr="arg0" val="25"/> | |
<Int sr="arg1" val="0"/> | |
<Int sr="arg2" val="0"/> | |
<Int sr="arg3" val="0"/> | |
<Int sr="arg4" val="0"/> | |
</Action> | |
</Task> | |
</TaskerData> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment