Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

同时添加 .cue 和对应音频文件的时候,忽略 .cue 对应的那个源文件 #24

Closed
frantic1048 opened this issue Nov 16, 2016 · 2 comments
Assignees

Comments

@frantic1048
Copy link
Member

比如一个文件夹下有 album.apealbum.cue,把整个文件夹拖进播放器的话,除了会添加 .cue 里面记录的每一个单独的轨道作为一首歌之外,还会额外添加进 album.ape

这种情形是否可以忽略掉后面那个 .cue 对应的整块专辑的文件?

@Harinlen
Copy link
Member

在项目之初考虑过,但是因为这样的话需要查整个表啊,所以这个当初就没写。
现在的添加文件里面,存在这样一个的优化机制:如果cue里面记录的文件并没有找到,那么直接搜索当前文件夹下的同名可播放类型文件作为这个文件。这样如果要是同一个cue下存在同文件名但不同拓展名的两个播放文件,选择字母序小的那个。(现在发现一个cue里面写的是CDImage.flac然而实际上是wav,很多文件都存在这个问题)那么在这个情况下,应当忽略哪个文件呢?
除此以外,在播放cue的时候,也经历过就希望播放那个APE但是播放器还是强行根据CUE分轨的情况。(AirPlay 3)

所以鉴于性能和实际实现时候的问题,这个功能并没有添加到里面。要是有办法解决这两个问题的话,我会抽时间去实现的。

@Harinlen Harinlen self-assigned this Nov 18, 2016
@Harinlen
Copy link
Member

Harinlen commented Aug 5, 2017

现在在媒体库内,支持忽略CUE的源文件了。
可以在设置中启用/禁用该功能,默认启用。
当添加到播放列表时,仍然会将源文件和CUE文件全部添加进去。(这个感觉更合理)

@Harinlen Harinlen closed this as completed Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants