mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update voice grammar
This commit is contained in:
parent
9b938fcfdb
commit
8321787773
3 changed files with 48 additions and 16 deletions
|
@ -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" ]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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" ]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue