-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathLaunchPocketCasts.tsk.xml
More file actions
65 lines (65 loc) · 1.84 KB
/
LaunchPocketCasts.tsk.xml
File metadata and controls
65 lines (65 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<TaskerData sr="" dvi="1" tv="5.15.14">
<!-- First check that the event comes from a BT device in the headphones
class (1048). If so, and it is a connect event, launch PocketCasts and
raise the media volume to the max (25). Otherwise, if the event is a
disconnect event, mute the media volume. -->
<Task sr="task665">
<cdate>1637993274120</cdate>
<edate>1656281258022</edate>
<id>665</id>
<nme>Launch Pocket Casts</nme>
<pri>6</pri>
<Action sr="act0" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%bt_class</lhs>
<op>2</op>
<rhs>1048</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%bt_connected</lhs>
<op>2</op>
<rhs>true</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act2" ve="7">
<code>20</code>
<App sr="arg0">
<appClass>au.com.shiftyjelly.pocketcasts.ui.MainActivity</appClass>
<appPkg>au.com.shiftyjelly.pocketcasts</appPkg>
<label>Pocket Casts</label>
</App>
<Str sr="arg1" ve="3"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>307</code>
<Int sr="arg0" val="25"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>43</code>
</Action>
<Action sr="act5" ve="7">
<code>307</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act6" ve="7">
<code>38</code>
</Action>
<Action sr="act7" ve="7">
<code>38</code>
</Action>
</Task>
</TaskerData>