Giter Club home page Giter Club logo

pyfm's Introduction

豆瓣FM命令行播放器

https://badge.fury.io/py/pyfm.png

使用Python编写的豆瓣FM命令行播放器

类似项目: https://github.com/taizilongxu/douban.fm

Screenshot

特性

  • 依赖较少,易于安装和运行
  • 支持私人兆赫,红心兆赫
  • 支持豆瓣歌曲加心
  • 支持Last.fm Scrobble

运行环境

  • Linux/Mac OS X
  • Python 2.7+ , 3.3+

依赖

安装

请首先安装支持的后端播放器中的某一个,然后使用pip安装本软件:

(sudo)pip install pyfm

如果选择直接git clone整个仓库的方法安装,请先安装相关依赖,然后把pyfm目录下的fm.py移动到上层目录,最后执行 python fm.py

使用

在终端中输入

$ pyfm

配置

$ pyfm config

根据提示输入账户,密码等,豆瓣账户密码不会保存在本地,豆瓣Token,Cookie,Last.fm账户名,Last.fm密码的md5值等保存在$HOME/.pyfm/中。

快捷键

[n]  ->  跳过当前歌曲
[l]  ->  给当前歌曲添加红心或删除红心
[t]  ->  不再播放当前歌曲
[q]  ->  退出播放器

出现问题?

请尝试清空$HOME/.pyfm/目录下的所有内容,重新安装等,如还不能解决,欢迎向我提issue。

致谢

本项目主要参考了以下几个项目

感谢以上项目的作者,开源**!

Changelog

  • 0.2.3 修复若干Bug,加入红心兆赫,支持使用mpv和mplayer作为播放后端(felixonmars)
  • 0.2.2 修复登陆失败时登陆状态不能正确显示的Bug
  • 0.2.1 修复Last.fm密码为空时报错的Bug
  • 0.2 代码大规模重构
  • 0.1 第一个正式版本

协议

The MIT License

其中scrobbler.py遵循GPLv3协议

pyfm's People

Contributors

fansion avatar felixonmars avatar skyline75489 avatar

Watchers

 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.