推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
limbo0
V2EX  ›  Python

命令行 douban.fm 的 python 版本

  •  
  •   limbo0 · Oct 10, 2014 · 5619 views
    This topic created in 4248 days ago, the information mentioned may be changed or developed.
    参照node.js版本http://www.v2ex.com/t/77727,制作的,主体功能已经完成,还有一些功能还没有优化.目前在ubuntu14.04中能完美使用,其他平台还没有测试

    node.js版本在zhs和tmux中有显示不了颜色的bug,所以仿照着做了这个python版本.

    安装

    sudo pip install douban.fm

    需要mplayer播放器依赖,如未安装:

    sudo apt-get install mplayer

    项目地址https://github.com/taizilongxu/douban.fm

    欢迎PR
    7 replies    2017-04-07 09:06:23 +08:00
    lwd2136
        1
    lwd2136  
       Oct 10, 2014
    开发个openwrt版本
    usb声卡出声?
    limbo0
        2
    limbo0  
    OP
       Oct 11, 2014
    @lwd2136 后台是调用mplayer播放器
    houfukude
        3
    houfukude  
       Oct 11, 2014 via Android
    哈哈我也做了一个py命令行版本的豆瓣
    不过我按照那个豆瓣高清插件
    用的是豆瓣的播放列表+网易320k的源
    顺带我后端是用mpg123来播放的
    https://github.com/houfukude/douban320k
    atmlvs
        4
    atmlvs  
       Oct 11, 2014
    @houfukude 这个办法好
    An0sunShy
        5
    An0sunShy  
       Nov 30, 2014
    这个默认只有64K 不付费能有更好的音质吗?
    limbo0
        6
    limbo0  
    OP
       Nov 30, 2014
    @An0sunShy 这个不能啊,调用的都是原生豆瓣FM的源,可以看看@houfukude 的这个
    gevin
        7
    gevin  
       Apr 7, 2017
    我在 mac 上用的感觉不错,不过几乎每首歌没放完就会跳到下一首,不知是啥原因……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2732 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 15:37 · PVG 23:37 · LAX 08:37 · JFK 11:37
    ♥ Do have faith in what you're doing.