- Installing MPlayer
sudo apt-get install MPlayer
- Installing PYTHON-PIP
sudo apt-get install Python-pip
- Installing Douban.fm via Python-pip
sudo pip install douban.fm
Enter douban.fm to enter the player interface after installation is complete
The first login needs to enter the account, password, the program will not retain the password, but save the returned tokens stored in the ~/.douban_token.txt, the next login without entering a password.
- Github Link: https://github.com/taizilongxu/douban.fm
- Action Shortcut key
move [j]–> under [k]–> [g]–> move to topmost [g]–> move to the bottom of the music [space]–> play [w ]–> Open Song Home [n]–> next [r]–> like/cancel like [b]–> no longer play [q]–> exit [p]–> pause [l]–> Single cycle volume (>=v0.2.9) [=]–> increase [-]–> [m]–> Mute Lyrics (>=v0.2.9) [o]–> Display lyrics (bug Many, don't use, no response is not found lyrics) [q]–> exit lyrics
Doubanfm_ Config is saved in ~/.doubanfm_config, you can modify the key mappings as needed
[key]up = k # down = J # lower to P = g # Top bottom = g # Bottom OpenURL = w # Open Song Home rate = R # Mark like/cancel like next = n # next Song bye = b # no longer play quit = q # exit pause = p # pause loop = L # single Loop mute = m # mute
code /li>
- Problems encountered
Raspberry Pi Interface cannot display Chinese
Using the command sudo raspi-config, use the SPACEBAR to tick the front with "zh-cn UTF-8" option.
Then sudo reboot
To modify the encoding of the SSH client, take Xshell as an example: File-properties-terminal-translation, select Unicode (UTF-8)
If you use Putty,putty configuration-windows-translation-utf-8
If it still doesn't work, please install the Chinese font and try again:
sudo apt-get install Ttf-wqy-microhei
sudo dpkg-reconfigure locales
sudo raspi-config
sudo reboot
- Reference links
Http://www.sclbeta.com/post/%E5%8F%91%E7%8E%B0%EF%BC%9A%E6%A0%91%E8%8E%93%E6%B4%BE%E8%B1%86%E7%93%A3FM
Use the Raspberry Pi Raspberry to play the watercress FM