允许添加 `m4a`、`goa` 格式的本地歌曲到列表中(#1864)

pull/1869/head
lyswhut 2024-04-27 15:06:27 +08:00
parent 358c449b17
commit f340b18408
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
### 新增
- 允许添加 `m4a`、`goa` 格式的本地歌曲到列表中(#1864
### 优化
- 优化白色托盘图标显示修复windows下托盘图标不清晰的问题#1842

View File

@ -15,7 +15,9 @@ export const addLocalFile = async(listInfo: LX.List.MyListInfo) => {
title: window.i18n.t('lists__add_local_file_desc'),
properties: ['openFile', 'multiSelections'],
filters: [
{ name: 'Media File', extensions: ['mp3', 'flac', 'ogg', 'wav'] },
// https://support.google.com/chromebook/answer/183093
// 3gp, .avi, .mov, .m4v, .m4a, .mp3, .mkv, .ogm, .ogg, .oga, .webm, .wav
{ name: 'Media File', extensions: ['mp3', 'flac', 'ogg', 'oga', 'wav', 'm4a'] },
// { name: 'All Files', extensions: ['*'] },
],
})