Use the Raspberry Pi Raspberry to play the watercress FM

Source: Internet
Author: User
Tags raspi

  1. Installing MPlayer
    sudo apt-get install MPlayer
  2. Installing PYTHON-PIP
    sudo apt-get install Python-pip
  3. 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.
  4. Github Link: https://github.com/taizilongxu/douban.fm
  5. 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>
  6. 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
  7. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.