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
0.1.3在 MAC 10.9 播放的时候显示 “歌曲缓冲中,请稍等...” 然后无报错退出 #80
Comments
可能是pool_stream 的问题 @JacksonTian |
同样的问题 $ node -v |
@Snger 如果需要调试代码的话,建议 clone 一份到本地,cd 到目录然后执行 |
如果想要看到报错信息的话,执行 |
关注中,等待解决... |
稍等我升级一下 player 模块,或者大家可以手动把本地的 |
同样的问题, 同样的环境. thx |
崩溃后光标符也没了...纠结. |
@bluishoul 是的. 我也这么做就OK了. |
@bluishoul 对node不熟,感谢分享。另,命令都加下sudo吧 sudo rm -rf node_modules/ |
player 0.1.5 发布了,再试试重新安装 douban.fm,如果还有问题,可以直接指定 player@0.1.5 版本安装到全局 |
环境:
OSX version 10.9.2
node v0.10.24
npm 1.3.21
├─┬ douban.fm@0.1.3
│ ├── async@0.2.10
│ ├─┬ beer@0.0.8
│ │ └─┬ request@2.34.0
│ │ ├── aws-sign2@0.5.0
│ │ ├── forever-agent@0.5.2
│ │ ├─┬ form-data@0.1.2
│ │ │ └─┬ combined-stream@0.0.4
│ │ │ └── delayed-stream@0.0.5
│ │ ├─┬ hawk@1.0.0
│ │ │ ├── boom@0.4.2
│ │ │ ├── cryptiles@0.2.2
│ │ │ ├── hoek@0.9.1
│ │ │ └── sntp@0.2.4
│ │ ├─┬ http-signature@0.10.0
│ │ │ ├── asn1@0.1.11
│ │ │ ├── assert-plus@0.1.2
│ │ │ └── ctype@0.5.2
│ │ ├── json-stringify-safe@5.0.0
│ │ ├── mime@1.2.11
│ │ ├── node-uuid@1.4.1
│ │ ├── oauth-sign@0.3.0
│ │ ├── qs@0.6.6
│ │ ├─┬ tough-cookie@0.12.1
│ │ │ └── punycode@1.2.4
│ │ └── tunnel-agent@0.3.0
│ ├── colorful@2.1.0
│ ├─┬ consoler@0.0.8
│ │ └── colors@0.6.2
│ ├─┬ exeq@0.4.0
│ │ ├── arale@0.2.0
│ │ └── win-spawn@2.0.0
│ ├─┬ ffmetadata@1.0.2
│ │ ├─┬ concat-stream@1.0.1
│ │ │ └─┬ bops@0.0.6
│ │ │ ├── base64-js@0.0.2
│ │ │ └── to-utf8@0.0.1
│ │ ├── split@0.2.10
│ │ ├─┬ stream-combiner@0.0.2
│ │ │ └── duplexer@0.0.4
│ │ ├── stream-filter@1.0.0
│ │ └── through@2.3.4
│ ├── lrc@0.1.0
│ ├── mkdirp@0.3.5
│ ├── paramrule@0.0.2
│ ├─┬ player@0.1.4
│ │ ├─┬ lame@1.0.3
│ │ │ ├── bindings@1.1.1
│ │ │ ├── debug@0.7.4
│ │ │ └─┬ readable-stream@1.0.26-2
│ │ │ └── string_decoder@0.10.25-1
│ │ ├── pool_stream@0.0.3
│ │ └─┬ speaker@0.0.10
│ │ ├── bindings@1.1.1
│ │ ├── debug@0.7.4
│ │ └─┬ readable-stream@1.0.26-2
│ │ └── string_decoder@0.10.25-1
│ ├─┬ prompt@0.2.12
│ │ ├── pkginfo@0.3.0
│ │ ├─┬ read@1.0.5
│ │ │ └── mute-stream@0.0.4
│ │ ├── revalidator@0.1.6
│ │ ├─┬ utile@0.2.1
│ │ │ ├── deep-equal@0.2.1
│ │ │ ├── i@0.3.2
│ │ │ ├── ncp@0.4.2
│ │ │ └── rimraf@2.2.6
│ │ └─┬ winston@0.6.2
│ │ ├── async@0.1.22
│ │ ├── colors@0.6.2
│ │ ├── cycle@1.0.3
│ │ ├── eyes@0.1.8
│ │ ├── pkginfo@0.2.3
│ │ ├── request@2.9.203
│ │ └── stack-trace@0.0.9
│ ├── sprintf@0.1.3
│ ├─┬ term-list@0.2.1
│ │ ├── keypress@0.2.1
│ │ └── term-canvas@0.0.5
│ └── underscore@1.5.2
现象:
配置账户信息及歌曲下载目录没问题,第一次播放歌曲的时候,会在下载目录生成 love 文件夹,及一首歌曲的缓存(例如 p1405915.mp3),但是容量为0(偶尔有几个是4kb或8kb);有的时候显示 “歌曲缓冲中,请稍等...",或是刚显示出歌曲名(例如 I'm Yours 64kbps ... ♪ ♫ ♫ ♪ ♫ ♫ ♪ ♪ ... We Sing. We Dance... • Jason Mraz 2008)马上就退出了,目测是
通信失败
的问题;这个要怎么解决?这边的代码是哪块?刚才粗略看了下源码,应该是 Fm.prototype.play 或 Fm.prototype.fetch 这边的问题;也有可能是 sdk.fetch;应该是Player.prototype.download
这边的放进内存或保存到本地时有问题;(p.s.已经全局安装douban.fm后如何在自己的电脑测试douban.fm的代码呢?进入本地clone的目录后执行 node index.js 后显示:"Cannot find module 'mkdirp'",把mkdirp这类代码下载到本地后改路径?想参与学习下这边的代码,感谢)
The text was updated successfully, but these errors were encountered: