/ymcli

CLI player for yandex music

Primary LanguagePython

Ymcli: open source Yandex.Music client / music player

Uses unoffical Yandex.Music Api

Version Stable

Installation

  • See releases

  • AUR (from source code), see package

    yay -S ymcli 
  • Compile for Linux (from source code)

    Ymcli has been tested on python 3.11. You can try running it on a lower version.

    You will need python to run it, but it is not listed in the installation below.

    #Install system dependencies Arch-like
    sudo pacman -S vlc 
    # Install system dependencies Rhel-like
    yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm
    yum install vlc vlc-core
    # Install system dependencies Debian-like
    sudo apt install vlc 
    # Clone source 
    git clone https://github.com/hikaary/ymcli
    cd ymcli 
    # Build 
    python setup.py install
    # Run app from poetry
    poetry install && poetry shell
    poetry run python -m ymcli

First run

A token will be requested at the first startup. ou can find out about getting the token here

Config & Logs

  • Config file - ~/.config/ymcli/config.ini
  • Log file - ~/.local/ymcli/ymcli.log

Key actions

Key Action
K Move cursor up
J Move cursor down
ENTER Select
Space Play/Pause
B Back to previous menu
UP Volume up
DOWN Volume down
RIGHT Fast forward the track by 5 seconds
LEFT Rewind the track back 5 seconds
R Repeat track
N Skip track
P Previous track
L Like now playing track
D Dislike now playing track

Dependencies (excluding python dependencies)

  • python 3.11
  • vlc 3.0.20