fast and featured command line osu! song player built on mpv
Project description
osu-cplayer
Fast, compact, and featured command line osu! song player built on mpv.
Dependencies
- Python 3.6+
- mpv
- python-mpv (auto-install)
- urwid (auto-install)
- tinytag (auto-install)
Usage
- Download
playmusic.py
- Edit the following variables:
ABSPATH_TO_SONGS
to the absolute path of your osu Songs folderABSPATH_TO_COLLECTIONS
to the absolute path of your osu collections.db fileABSPATH_TO_OSU
to the absolute path of your osu osu!.db file
- Run with
python3 playmusic.py
and maybe set an alias for it as well.
Controls
- Previous/Next Song:
left
/right
- Move Selection:
up
/down
, left click, or scroll - Play song:
enter
or double click - Toggle play/pause:
p
- Quit:
q
oresc
- Add song to queue:
a
- Clear queue:
A
- Shuffle:
s
- Sort alphabetically(default):
S
- Sort by date added:
d
- Filter:
:
or mouse followed by filter term- Reset filter:
esc
- Exit text box: any special key or mouse
- Reset filter:
- Filter by Collection:
c
or mouse, followed by collection name, andenter
Other
osu!.db reading code is taken from OsuDbReader
TODO
- Package and upload to pypi
- Allow setting of global variables via cli switch
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
osu-cplayer-0.0.2.tar.gz
(7.7 kB
view hashes)