Shaowen Yin

Results 103 comments of Shaowen Yin

Thanks for your reply. Looking forward to your example, which will be really helpful. @bfredl I found a similar example written with `asyncio` but I still have problem in python-client...

Thanks a lot. After I read the source code of `async_call` function, I found that I have a wrong recognition of `async_call` function. **`async_call(func, *args, **kwargs)` will ensure that `func`...

我想了想,比较直接的感受是:如果需要配置下载路径,那就把它放在 feeluown 模块中好了。 虽然说可以把下载路径作为参数放在 download 函数里面,但我感觉这个下载功能的大部分逻辑是在“配置一些东西”,而配置感觉更像是业务逻辑的一部分,所以感觉更适合放在 feeluown 中。 core 模块提供的功能感觉更像是 youtube_dl 这种 ----------- 另外一些思考的点 * 下载 youtube 歌曲、视频也算是个增强型功能了,如果放在 feeluown 中,就可以理所当然的把它做成一个默认带的插件 🤔插件都放 feeluown 中 (这个观点支持放 feeluown 中) * 下载功能本身感觉也是一个比较独立的模块,以后可能不仅会有 youtube 的资源下载,还会有网易云、虾米等音乐资源下载(这个观点或许是支持放...

> core 和 UI 拆分的不是那么完全,以至于上一个功能要两处开发,中间还需要发版 合!core 单独拆出来确实没有多少收益,而且给开发带来了许多困难。 > core 是不是可以支持一些直接 command line,不起 server 的情景 现在 core 已经没有启动功能了,只有各种基础模块。不过 feeluown 倒是可以做一下支持

哇,太赞了!学习-ing 先讨论一下其中简单一点的问题 > playlist 里不必要维护 good songs 和 bad songs, 在 player 播放有误的时候跳过就好了 目前的考虑主要是如果歌单里面全是 bad songs 的时候,player 会进入一个死循环的状态。 个人感觉要解决这个问题:总是需要一个方法来对歌曲进行标记,知道哪些是好的,哪些是坏的。 --------------------------- 然后是关于 playlist 的性能优化问题,其实我之前还真没怎么考虑过性能方面的事情,感谢大佬带领了一个好的开始。下面是我的读后感: 目前自己想到的出现 **添加一首歌曲** 的情况:(*感觉*两种操作频率应该都不低) - 用户指定播放某一首歌 (在目前的设计中)会把这首歌曲放到当前播放歌曲的后面,相当于是一个 insert...

- playlist - player - album - artist ```shell > create_playlist hello_world > list_playlist hello_world > search 周杰伦 > show playlists > info 周杰伦 > info 晴天 ```

### 仿 HTTP 版本 #### 简易操作 - `SEARCH text`: 搜索任何东西 - `PLAY provider:song:id`: 播放 - `SHOW provider:artist:id`: 显示某个歌手信息 #### 复杂一点的? ``` SHOW provider:user:id type: playlist,info ``` 先研究下 MPD 是一个比较好的选择哦...

I use gnu emacs 25.2 on osx. I have met exact the save problem. both of `perspeen-tab-create-tab` and `perspeen-ws-create` raises. my configuration: ``` (require 'perspeen) (perspeen-mode) (setq-default perspeen-use-tab t) ```...

Thanks for your detailed explanation. I'll have a try for the two methods and give some feedback lator.

I guess it is part of the spec since multiline text works in JSX, but I really don't know much about JSX spec.