Skip to content

Commit

Permalink
允许添加 m4agoa 格式的本地歌曲到列表中(#1864
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Apr 27, 2024
1 parent 358c449 commit f340b18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions publish/changeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 新增

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

### 优化

- 优化白色托盘图标显示,修复windows下托盘图标不清晰的问题(#1842
Expand Down
4 changes: 3 additions & 1 deletion src/renderer/views/List/MyList/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: ['*'] },
],
})
Expand Down

0 comments on commit f340b18

Please sign in to comment.