-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathvoice_cmd.xml
47 lines (44 loc) · 2.72 KB
/
voice_cmd.xml
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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE resources [
<!ENTITY action_find "find">
<!ENTITY action_open "open">
<!ENTITY action_pause "pause">
<!ENTITY action_stop "stop">
<!ENTITY action_play "play">
<!ENTITY location_folders "folders?">
<!ENTITY location_favorites "favorites?">
<!ENTITY location_playlists "playlists?">
<!ENTITY location_tv "tv">
<!ENTITY location_youtube "youtube">
<!ENTITY location_browser "browser">
<!ENTITY time_unit_second "seconds?">
<!ENTITY time_unit_minute "minutes?">
<!ENTITY time_unit_hour "hours?">
]>
<resources>
<string name="vcmd_action_find">&action_find;</string>
<string name="vcmd_action_open">&action_open;</string>
<string name="vcmd_action_pause">&action_pause;</string>
<string name="vcmd_action_stop">&action_stop;</string>
<string name="vcmd_action_play">(&action_play;)|start</string>
<string name="vcmd_action_play_favorites">(&action_play;) (&location_favorites;)</string>
<string name="vcmd_action_sub_on">(((turn|switch) on)|show) subtitles?</string>
<string name="vcmd_action_sub_off">(((turn|switch) off)|hide) subtitles?</string>
<string name="vcmd_action_sub_change">change subtitles?</string>
<string name="vcmd_action_audio_change">change audio[ -]?stream</string>
<string name="vcmd_location_folders">&location_folders;</string>
<string name="vcmd_location_favorites">&location_favorites;</string>
<string name="vcmd_location_playlists">&location_playlists;</string>
<string name="vcmd_location_tv">&location_tv;</string>
<string name="vcmd_location_youtube">&location_youtube;</string>
<string name="vcmd_location_browser">&location_browser;</string>
<string name="vcmd_time_unit_second">&time_unit_second;</string>
<string name="vcmd_time_unit_minute">&time_unit_minute;</string>
<string name="vcmd_time_unit_hour">&time_unit_hour;</string>
<string name="vcmd_nums">zero one two three four five six seven eight nine</string>
<string name="vcmd_cur_track">(show )?current track</string>
<string name="vcmd_ff">(skip|fast)[- ]forward (?<N>\\d+|\\p{Lower}+) ?(?<U>(&time_unit_second;)|(&time_unit_minute;)|(&time_unit_hour;))</string>
<string name="vcmd_rw">(skip back)|rewind (?<N>\\d+|\\p{Lower}+) ?(?<U>(&time_unit_second;)|(&time_unit_minute;)|(&time_unit_hour;))</string>
<string name="vcmd_find_play_open">(?<A>\\b(&action_find;)|(&action_play;)|(&action_open;)\\b)? ?((in )?(?<L>\\b(&location_folders;)|(&location_favorites;)|(&location_playlists;)|(&location_tv;)|(&location_youtube;)|(&location_browser;)\\b))? ?(?<Q>.+)</string>
<string name="vcmd_chat">(chat( ?gpt)?)(?<Q>.*)</string>
</resources>