豆瓣FM命令行播放器
使用Python编写的豆瓣FM命令行播放器
类似项目: https://github.com/taizilongxu/douban.fm
特性
依赖较少,易于安装和运行
支持私人兆赫,红心兆赫
支持豆瓣歌曲加心
支持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协议
Metadata
Release files for pyfm 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyfm-0.2.4.tar.gz | 12.5 kB | Without provenance | Details for pyfm-0.2.4.tar.gz |
Release files / pyfm-0.2.4.tar.gz
| Download URL | pyfm-0.2.4.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b07eb9e9efbbc2638cb3697a1212a81a4d5073691bf080aaaa6918368d5fe048
|
|
BLAKE2b-256 checksum How to use checksums |
420dc09ac0297c0604f79e22c28cbcfc7561b492eebe236e98e10cc811882a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyfm 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.