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