mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
Update voice grammar
This commit is contained in:
parent
9b938fcfdb
commit
8321787773
@ -141,6 +141,19 @@
|
||||
"Play my music",
|
||||
"Listen to my music "
|
||||
]
|
||||
},
|
||||
{
|
||||
"actionid": "play",
|
||||
"sourceid": "latestmovies",
|
||||
"command": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<source>latest movies|latest films)\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<source>latest movies|latest films)",
|
||||
"filters": [ "unplayed" ],
|
||||
"sortBy": "datecreated",
|
||||
"sortOrder": "Descending",
|
||||
"commandtemplates": [
|
||||
"Play my latest movies",
|
||||
"Play latest films"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -181,13 +194,14 @@
|
||||
{
|
||||
"actionid": "shuffle",
|
||||
"sourceid": "music",
|
||||
"command": "(?<action>shuffle)\\s?(?<determiner1>my|me)?\\s?(?<source> music)\\s?(?<ArtistName>.*)?\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>shuffle)\\s?(?<determiner1>my|me)?\\s?(?<source> music)\\s?(?<ArtistName>.*)?",
|
||||
"command": "(?<action>shuffle)\\s?(?<determiner1>my|me)?\\s?(?<source> music|favorite songs)\\s?(?<ArtistName>.*)?\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>shuffle)\\s?(?<determiner1>my|me)?\\s?(?<source> music|favorite songs)\\s?(?<ArtistName>.*)?",
|
||||
"shuffle": true,
|
||||
"commandtemplates": [
|
||||
"Play music",
|
||||
"Play my music",
|
||||
"Listen to my music "
|
||||
"Listen to my music ",
|
||||
"shuffle my favorite songs"
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -221,8 +235,11 @@
|
||||
{
|
||||
"actionid": "play",
|
||||
"sourceid": "latestepisodes",
|
||||
"command": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<text>latest episodes)\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<text>latest episodes)",
|
||||
"command": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<source>latest episodes)\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<source>latest episodes)",
|
||||
"filters": [ "unplayed" ],
|
||||
"sortBy": "datecreated",
|
||||
"sortOrder": "Descending",
|
||||
"commandtemplates": [ "Play my latest episodes" ]
|
||||
}
|
||||
]
|
||||
@ -271,7 +288,7 @@
|
||||
"sourceid": "livetv",
|
||||
"menuid": "series",
|
||||
"command": "(?<action>show|display|go to|view)\\s?(?<determiner1>my|me)?\\s?(?<source>Live tv series)",
|
||||
"commandtemplates": ["Show live tv series"]
|
||||
"commandtemplates": [ "Show live tv series" ]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -141,6 +141,19 @@
|
||||
"Play my music",
|
||||
"Listen to my music "
|
||||
]
|
||||
},
|
||||
{
|
||||
"actionid": "play",
|
||||
"sourceid": "latestmovies",
|
||||
"command": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<source>latest movies|latest films)\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<source>latest movies|latest films)",
|
||||
"filters": [ "unplayed" ],
|
||||
"sortBy": "datecreated",
|
||||
"sortOrder": "Descending",
|
||||
"commandtemplates": [
|
||||
"Play my latest movies",
|
||||
"Play latest films"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -181,13 +194,14 @@
|
||||
{
|
||||
"actionid": "shuffle",
|
||||
"sourceid": "music",
|
||||
"command": "(?<action>shuffle)\\s?(?<determiner1>my|me)?\\s?(?<source> music)\\s?(?<ArtistName>.*)?\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>shuffle)\\s?(?<determiner1>my|me)?\\s?(?<source> music)\\s?(?<ArtistName>.*)?",
|
||||
"command": "(?<action>shuffle)\\s?(?<determiner1>my|me)?\\s?(?<source> music|favorite songs)\\s?(?<ArtistName>.*)?\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>shuffle)\\s?(?<determiner1>my|me)?\\s?(?<source> music|favorite songs)\\s?(?<ArtistName>.*)?",
|
||||
"shuffle": true,
|
||||
"commandtemplates": [
|
||||
"Play music",
|
||||
"Play my music",
|
||||
"Listen to my music "
|
||||
"Listen to my music ",
|
||||
"shuffle my favorite songs"
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -221,8 +235,11 @@
|
||||
{
|
||||
"actionid": "play",
|
||||
"sourceid": "latestepisodes",
|
||||
"command": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<text>latest episodes)\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<text>latest episodes)",
|
||||
"command": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<source>latest episodes)\\s?(?<deviceaction>on device|to device)\\s?(?<Devicename>.*)",
|
||||
"altcommand": "(?<action>play)\\s?(?<determiner1>my|me)?\\s?(?<source>latest episodes)",
|
||||
"filters": [ "unplayed" ],
|
||||
"sortBy": "datecreated",
|
||||
"sortOrder": "Descending",
|
||||
"commandtemplates": [ "Play my latest episodes" ]
|
||||
}
|
||||
]
|
||||
@ -271,7 +288,7 @@
|
||||
"sourceid": "livetv",
|
||||
"menuid": "series",
|
||||
"command": "(?<action>show|display|go to|view)\\s?(?<determiner1>my|me)?\\s?(?<source>Live tv series)",
|
||||
"commandtemplates": ["Show live tv series"]
|
||||
"commandtemplates": [ "Show live tv series" ]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -6,8 +6,6 @@ define(['paperdialoghelper'], function (paperDialogHelper) {
|
||||
|
||||
var commandgroups = getGrammarCommands(lang);
|
||||
|
||||
|
||||
|
||||
/// <summary> Shuffle array. </summary>
|
||||
/// <param name="array"> The array. </param>
|
||||
/// <returns> array </returns>
|
||||
|
Loading…
Reference in New Issue
Block a user