feeluown-core icon indicating copy to clipboard operation
feeluown-core copied to clipboard

提供音乐播放器的一些常见组成模块(已经合并到 feeluown 项目中)

Results 6 feeluown-core issues
Sort by recently updated
recently updated
newest added

关于这个 PR: - 暂时支持一点默认的 option,后续再根据情景看是否要定制 一些想法: - core 和 UI 拆分的不是那么完全,以至于上一个功能要两处开发,中间还需要发版 - core 是不是可以支持一些直接 command line,不起 server 的情景

运行feel-core-test,报错"AttributeError: module 'logging' has no attribute 'config'"。在fuocore/main.py中添加 ` import logging.config ` 后,错误消失。

`player.playlist` 里使用list来存放歌曲, 在查询/添加/删除歌曲的时候复杂度均为O(n). 如果想要支持[衍生的一些想法](https://github.com/cosven/FeelUOwn/projects/2)中几万张专辑这样的大歌单, 应该会非常低效. 目前有两个想法: 1. linked list: 利用一个链表来存放歌曲, 然后用一个dict索引 song->linked list node, 从而维护歌单的有序结构. 2. list with empty slots: 同样利用list和dict存放歌曲, 删除歌曲的时候设为None保留空位, 然后当歌曲小于2/3 list长度的时候resize. 3种方案比较: |operation |raw list |linked list...

- [ ] `bugfix` Restart failed, "Address already in use" - [ ] `refactor` code structure

### 音乐播放有什么操作 以前的磁带、复读机:快退,暂停/播放,停止,快进 MP3:复读机的所有功能,曲库管理,选择某一首播放,上一首,下一首; ```python > resume > pause > stop > play 晴天 > seek 2:34 ```