turing
V2EX  ›  Node.js

基于node 的 douban.fm 命令行版

  •  
  •   turing · Aug 2, 2013 · 13015 views
    This topic created in 4841 days ago, the information mentioned may be changed or developed.
    看图:



    前些天为啥要写那个player呢。。就是为了这玩意。。但是因为player还有一些小问题,steam的停止还没处理好。但是不妨碍各位直接先听为快~

    使用很简单。。
    $ sudo npm install douban.fm -g

    然后
    $ douban.fm 上下选按回车就可以了

    Github项目地址:欢迎star & fork
    https://github.com/turingou/douban.fm
    Supplement 1  ·  Aug 2, 2013
    这玩意目前因为player组件的问题,还有许多bug~欢迎各位把bug提交到这里:

    https://github.com/turingou/douban.fm/issues
    46 replies  •  2015-02-22 16:30:39 +08:00
    coolicer
    coolicer
    Aug 2, 2013
    1
    我前段时间回去听,发现有了广告。我现在用百度的随心听。
    tamamaxox
    tamamaxox
    Aug 2, 2013
    2
    wow
    cam
    cam
    Aug 2, 2013❤️1
    3
    Awesome, how about support Vi navigation: hjkl
    BeijingBaby
    BeijingBaby
    PRO
    Aug 2, 2013
    4
    豆瓣真心很垃圾,或者说不能按歌曲名搜索的都很垃圾。
    whuhacker
    whuhacker
    Aug 2, 2013❤️2
    5
    @BeijingBaby 只能说你不是 douban.fm 所定位的用户
    你所想要的是在线音乐库,而豆瓣是音乐电台
    SR1
    SR1
    Aug 2, 2013
    6
    wow! 看到私人兆赫这个选项,看起来还支持登录!好赞!!收藏的兆赫能不能也显示出来呢?
    chendahui007
    chendahui007
    Aug 2, 2013
    7
    leofml
    leofml
    Aug 2, 2013
    8
    不小心按了两次火车 结果 ....
    SR1
    SR1
    Aug 2, 2013
    9
    ubuntu下显示node版本需要0.8+
    又升级不了,好遗憾
    subpo
    subpo
    Aug 2, 2013❤️1
    10
    @BeijingBaby 你见过能搜索音乐的电台?
    richiefans
    richiefans
    Aug 2, 2013
    11
    总是同时播放多首歌……
    BeijingBaby
    BeijingBaby
    PRO
    Aug 2, 2013
    12
    @subpo 没有见过,就是有时候会想听某首歌,没办法去百度或者腾讯音乐搜索了。
    blue5tar
    blue5tar
    Aug 2, 2013
    13
    安装报错

    CC(target) Release/obj.target/output/deps/mpg123/src/output/alsa.o
    ../deps/mpg123/src/output/alsa.c:19:28: 致命错误: alsa/asoundlib.h:没有那个文件或目录
    编译中断。
    make: *** [Release/obj.target/output/deps/mpg123/src/output/alsa.o] 错误 1
    turing
    turing
    OP
    Aug 2, 2013
    14
    @ all

    点两次是会重复播放的。。。还有很多bug~

    最近并发项目略多,我会慢慢把bugs补完滴~

    感谢各位支持呀!
    pine2D
    pine2D
    Aug 2, 2013❤️1
    15
    希望能支持 last.fm 同步
    turing
    turing
    OP
    Aug 2, 2013
    16
    @oumu https://github.com/turingou/last.fm 已开坑~ 等这个写完了fork一份过去~
    turing
    turing
    OP
    Aug 2, 2013
    17
    @cam 已加入todo list
    DaniloSam
    DaniloSam
    Aug 2, 2013❤️1
    18
    @BeijingBaby

    按您的逻辑所有电台都是垃圾了, 听个广播不能点歌这是神马垃圾体验垃圾产品!

    呵, 呵呵
    MaqicXu
    MaqicXu
    Aug 2, 2013
    19
    楼主这阵子高产呀,赞一个~~~
    turing
    turing
    OP
    Aug 3, 2013
    20
    @MaqicXu 都是前一阵子开坑的,最近刚算写完
    hit9
    hit9
    Aug 3, 2013
    21
    赞一个!
    hfcorriez
    hfcorriez
    Aug 4, 2013
    22
    很赞!!!
    paloalto
    paloalto
    Aug 4, 2013
    23
    赞!
    subpo
    subpo
    Aug 4, 2013
    24
    这个项目我非常感兴趣啊,做好了十分有用,已经fork,看看能不能帮到楼主什么
    ucwdan
    ucwdan
    Aug 4, 2013
    25
    赞一个
    turing
    turing
    OP
    Aug 4, 2013
    26
    @subpo
    @ucwdan
    @paloalto
    @hit9
    感谢楼上各位的支持,player 模块还有一些问题,这两天正在debug,欢迎继续关注哦~
    fanzeyi
    fanzeyi
    Aug 4, 2013
    27
    @BeijingBaby 您一定没有买过专辑。
    xevan
    xevan
    Aug 5, 2013
    28
    mac下不能安装啊??
    fanweixiao
    fanweixiao
    Aug 5, 2013
    29
    @SR1 npm install -g n && n stable
    loveminds
    loveminds
    Aug 11, 2013
    30
    @whuhacker 你要的是亦歌
    itfanr
    itfanr
    Aug 12, 2013
    31
    请问node.js不是弄网页的吗?怎么也可以在本地听歌了?另,豆瓣的歌曲API怎么得到?
    itfanr
    itfanr
    Aug 12, 2013
    32
    windows版怎么弄?我执行douban.fm不能运行。。。
    yunlzheng
    yunlzheng
    Aug 13, 2013
    33
    请问在获取到频道下的歌曲列表以后,是如何播放的mp3呢? 我尝试直接在浏览器里面用返回的歌曲地址,但是没有反应的。
    homfen
    homfen
    Aug 13, 2013
    34
    CentOS:configure error
    turing
    turing
    OP
    Aug 14, 2013
    36
    @pazz7ven speaker 这个模块编译不成功,这是unbuntu?

    linux下speaker依赖alsa,确认安装了这个?
    可以看下文档:https://github.com/TooTallNate/node-speaker
    pazz7ven
    pazz7ven
    Aug 14, 2013
    37
    @turing 是ubuntu 安装了node-speaker 好了
    http://notepad.cc/jeehiwu32
    pazz7ven
    pazz7ven
    Aug 14, 2013
    38
    设置密码不成功sudo doubanfm -m [email protected] password //

    出现 bash: !0: event not found
    turing
    turing
    OP
    Aug 14, 2013❤️1
    39
    @pazz7ven cli命令是:douban.fm
    turing
    turing
    OP
    Aug 14, 2013
    40
    @homfen centos上也是需要依赖alsa,看下文档: https://github.com/TooTallNate/node-speaker
    pazz7ven
    pazz7ven
    Aug 14, 2013
    41
    @turing 我是说 设置密码 出现 bash: !0: event not found

    http://bcs.duapp.com/picstore/JGSBdHAWsv.png
    turing
    turing
    OP
    Aug 14, 2013
    42
    @pazz7ven 这个略奇怪了,去开个issue吧,把报错复制一下加上
    https://github.com/turingou/douban.fm/issues?state=open
    ymcdull
    ymcdull
    Nov 12, 2013
    43
    不错,收藏下
    turing
    turing
    OP
    Nov 12, 2013
    44
    douban.fm 0.0.7 发布,现已支持下载歌曲到本地,下一首播放(播放时按n),播放暂停(播放时按backspace)等功能
    hahabrother
    hahabrother
    Apr 11, 2014
    45
    楼主还管理这里吗?
    发现一个新问题,可以解决吗?
    https://github.com/turingou/douban.fm/issues/91
    withrock
    withrock
    Feb 22, 2015
    46
    不行了,安装了好久,一直卡在安装node-speaker上,不玩了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4616 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 91ms · UTC 09:40 · PVG 17:40 · LAX 01:40 · JFK 04:40
    ♥ Do have faith in what you're doing.