• This repository has been archived on 24/Mar/2023
  • Stars
    star
    152
  • Rank 243,256 (Top 5 %)
  • Language
    Python
  • License
    Other
  • Created about 10 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[DEPRECATED]使用Python编写的豆瓣FM(douban.fm)命令行播放器

豆瓣FM命令行播放器

2015-11-16 更新:豆瓣客户端接口被封锁,本项目处于不可用状态。

可用的类似项目(目前使用网易云音乐): https://github.com/taizilongxu/douban.fm

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

使用Python编写的豆瓣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.4 修复若干问题,支持关闭通知
  • 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协议

More Repositories

1

what-happens-when-zh_CN

What-happens-when 的中文翻译,原仓库 https://github.com/alex/what-happens-when
7,700
star
2

Heart-First-JavaWeb

一个走心的 Java Web 入门开发教程
Shell
857
star
3

SwiftRouter

A URL Router for iOS, written in Swift
Swift
275
star
4

SimpleDNS

A lightweight yet useful proxy DNS server powered by Python Twisted
Python
190
star
5

baidu-tieba-auto-sign

[DEPRECATED]模拟客户端进行百度贴吧批量签到的Python脚本
Python
74
star
6

learnrx-zh-cn

ReactiveX 官方互动式教程中文翻译,原仓库 https://github.com/ReactiveX/learnrx
JavaScript
54
star
7

Deck

A tiny Github client powered by React Native
JavaScript
45
star
8

Xcode-Search

A Xcode Source Editor Extension that searches external sources(Google, StackOverflow, etc)
Swift
41
star
9

MVVM-DataController-Demo

Objective-C
29
star
10

bebusy.py

Python Terminal log generator for work spoofing (inspired by https://github.com/ondrek/bebusy.js)
Python
19
star
11

Genie

The Simplest Static Blog Generator You'll Ever Seen
CSS
12
star
12

Hackintosh-MSI-GE63-Raider-RGB-8RE

12
star
13

AMA

抖音来的朋友们,这里冒个泡吧
11
star
14

Sunshine-React-Native

Sunshine app powered by React Native
JavaScript
7
star
15

Take-A-Rest

A tiny reminder that will notify you when you need a rest.
Python
5
star
16

leetcode

C++
4
star
17

Pad

A sample Markdown live editor
Swift
4
star
18

JLAlertView

An UIAlertView replacement with a modern chainable API, written in Swift 4.2
Swift
3
star
19

hitlib2

Tiny Python library servering as a set of APIs for HIT Online Library
Python
3
star
20

Annie

A sample Markdown parser written in Swift
HTML
2
star
21

unpv13e

Unix Network Programming Source Code
C
2
star
22

MyCloud

A mini personal cloud storage and sharing solution
JavaScript
2
star
23

noterm

Batchfile
2
star
24

Windows-Loading-View-iOS

A Simple View mimicking the Loading Animation You see on Windows 8 +
Objective-C
2
star
25

Honeymoon

A tiny Swift web framework, written in Swift 2.0
Swift
1
star
26

FDTemplateLayoutCell-Frame-Example

Objective-C
1
star
27

my-linux-toy

1
star
28

Md5-in-CSharp

MD5 Implementation in C#
C#
1
star
29

the-little-mongodb-book-pdf-epub

The Little Mongodb Book PDF and epub
1
star
30

DDP_Benchmark

Python
1
star
31

dg

dg -- directory generator
Python
1
star
32

Feeder

A Qt-Based Feedly RSS client using The Feedly Cloud API (developer.feedly.com)
C++
1
star
33

react-highlighter

A sample react app for online syntax highlighting
JavaScript
1
star
34

mydotfiles

Some of my config files
Vim Script
1
star