README.md in douban_fm_hotkey-1.0.2 vs README.md in douban_fm_hotkey-1.1.0

- old
+ new

@@ -9,14 +9,14 @@ ```bash $ gem i douban_fm_hotkey ``` ### Chrome 扩展 +右键另存为以下链接: https://dl.dropboxusercontent.com/u/1658623/douban_fm_hotkey.crx +在 Chrome 中打开 chrome://extensions/ ,把 douban_fm_hotkey.crx 拖进去。 -= = Chrome web store developer account 验证中。。。 - ## 使用 ### 启动 server ```bash @@ -29,17 +29,16 @@ 在你的系统里把你想要的快捷键分别映射到以下命令: * `curl http://localhost:1988/skip` 下一首 * `curl http://localhost:1988/ban` 不再播放 -* `curl http://localhost:1988/love` 喜欢 -* `curl http://localhost:1988/pause` 暂停 +* `curl http://localhost:1988/love` 喜欢,在已经喜欢的歌曲上执行就是取消喜欢 +* `curl http://localhost:1988/pause` 暂停,暂停的时候执行这个就是继续播放 具体每个系统的配置不大一样这里不详细说了。我的配置: ![Shortcuts](https://dl.dropboxusercontent.com/u/1658623/douban_fm_hotkey_shortcuts.png) -## 存在的问题 +## 用手机控制电脑上的电台 -### 只有暂停没有播放 +首先你的手机和电脑要在同一个局域网上,然后用手机访问`http://电脑局域网IP:1988`,就可以用手机控制电脑上的豆瓣电台了。 -豆瓣电台的播放器只对外开放了暂停接口,所以没办法控制播放,但是在暂停后可以用下一首来让电台继续播放。