mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
feat(workflowengine): Add audio and video MIME types to Automated Tagging dropdown menu
- Add Dropdown Menu for common audio MIME types (audio/mpeg, audio/wav, audio/ogg, etc.) - Add Dropdown Menu for common video MIME types (video/mp4, video/webm, etc.) - Improves user experience when creating automated tagging rules for media files Fixes #54462 Signed-off-by: JinHakChoi <ws423257@gmail.com>
This commit is contained in:
parent
3481470d93
commit
e192780dd9
1 changed files with 10 additions and 0 deletions
|
|
@ -60,6 +60,11 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
predefinedTypes: [
|
||||
{
|
||||
iconUrl: imagePath('core', 'filetypes/audio'),
|
||||
label: t('workflowengine', 'Audio'),
|
||||
id: '/audio\\/.*/',
|
||||
},
|
||||
{
|
||||
icon: 'icon-folder',
|
||||
label: t('workflowengine', 'Folder'),
|
||||
|
|
@ -80,6 +85,11 @@ export default {
|
|||
label: t('workflowengine', 'PDF documents'),
|
||||
id: 'application/pdf',
|
||||
},
|
||||
{
|
||||
iconUrl: imagePath('core', 'filetypes/video'),
|
||||
label: t('workflowengine', 'Video'),
|
||||
id: '/video\\/.*/',
|
||||
},
|
||||
],
|
||||
newValue: '',
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue