Rofi_Player
Описание
Апплет Rofi, предоставляющий интерфейс для воспроизведения музыки. Он позволяет воспроизводить треки в случайном порядке из локальных плейлистов (папок). Поддерживается прямая трансляция плейлистов YouTube или их загрузка для последующего прослушивания в автономном режиме.
Языки
- Shell100%
2 года назад
2 года назад
2 года назад
2 года назад
2 года назад
README.md

Rofi Player
Rofi Player is a bash script that uses Rofi, a substitute for windows switch, application launcher and dmenu, to create a simple and interactive music player.
It uses mpv to play music and mpv-mpris to support .MPRIS
Features
- Displays all folders (playlists) in the
directory.~/Music - Shows the number of tracks in each playlist.
- Allows you to select a playlist to play.
- Plays the selected playlist in random order.
- Allows you to stop playback and exit the player.
- Allows to play YouTube playlist directly or by downloading
- Managing playlists
Dependensies
^Rofi^ v0.37.0MPV^mpv-mpris^ jq-1.7.1jq^ 2024.03.10yt-dlp^ 0.8.3notify-send^ 1.8.0.0socat^ n6.1.1ffmpeg
Flags
It allows you to set the indentation size to the number of songs in the directory--offsetCustom way to YT playlists JSON--json_fileCustom way to notify-send icon--iconEnable/disable notification--notify
Using
- Make sure you have all dependensies installed.
- Copy the script to a convenient location.
- Give the script execute permissions
- Run the script from the terminal or bind it to a hotkey (for example, in
.~/.config/hyprland/keybindings.conf
- In the Rofi window that opens, select a playlist to play.
More functions
is allows you to enter a URL on playlist, which will be played and saved in jsonFrom YouTubeis allows you to enter a URL on playlist, which will be played and downloaded as mp3Save YouTubeis running menu to delete playlistDeleteis kill playerExit