GithubHelp home page GithubHelp logo

jonewang / doubanfm-for-linux Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 5.0 2.07 MB

This is douban radio client for linux.Used douban.fm web service interface.Last version 0.3 beta.

Shell 1.21% Python 98.79%

doubanfm-for-linux's Introduction

Douban FM For Linux

演示

界面高仿Web版Douban FM

XMonad

x XMonad

Ubuntu

x Ubuntu

依赖

这个APP主要使用Python语言开发,PyQt4用于GUI,Qt自带的Phonon用于播放。

System Packages:

Python Modules(also see requirements.txt):

  • requests >= 0.14.0
  • BeautifulSoup >= 3.2.1

Python Modules(Optional):

  • Skype4Py
  • pyinotify

如何使用

## 建议先软链接到某一PATH目录
$ sudo ln -sf `pwd`/bin/doubanfm /usr/local/bin/doubanfm

## 然后就可以这样了:
$ doubanfm http://dou.bz/143WMS
$ doubanfm http://t.cn/aNs4Tx
$ doubanfm http://douban.fm/?start=181910g2440g0&cid=0
$ doubanfm http://douban.fm/?context=channel:0|musician_id:103766

登录

目前登录的方式非常简陋,你需要将douban.fm的cookie填入src/.cookie文件中。 注意:由于豆瓣FM cookie安全限制,document.cookie并不能得到完整的Cookie, 请抓包或者使用Chrome打开 http://douban.fm ,打开控制台 - Network - Headers - Request Headers,人工复制粘贴,确保Cookie中包含了dbcl2。 Example:

$ cat .cookie 
bid="ggggggggggg"; ck="Mklm"; dbcl2="1000103:A01024n8964"; flag="ok"; openExpPan=Y; show_pro_init_tip=N

登录之后tray icon上右键你会发现你的id,否则会提示未登录。

登录后是这样的

进度

最新0.4版正在开发中,如需,请拉取tray-dev分支。

doubanfm-for-linux's People

Contributors

colin4124 avatar jonewang avatar mckelvin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.